Adaptive radiations commonly follow mass extinctions. After an extinction event, many niches are left vacant. A classic example of this is the replacement of the non-avian dinosaurs at the end of the Cretaceous with mammals in the Palaeocene.