The end Triassic extinction caused the extinction of most pseudosuchians. The ancestors of modern-day crocodiles survived. A study published in 2010 suggests volcanic eruptions changed the climate, causing a mass extinction that wiped out the dinosaurs' main competitors. Furthermore, this allowed the dinosaurs to succeed them as the dominant terrestrial carnivores and herbivores.