Dinosaurs died in the Cretaceous, Jurassic, mainan and Triassic periods, but became extinct at the end of the Cretaceous.