Many mammal groups managed to survive the Cretaceous -- Paleogene extinction event , which wiped out the non-avian dinosaurs , allowing the mammals to diversify and dominate the Earth .
Many mammal groups managed to survive the Cretaceous -- Tertiary extinction event , which wiped out the non-avian dinosaurs , allowing the mammals to diversify and dominate the Earth .