Around 66 million years ago, at the end of the Cretaceous period, a giant asteroid crashed into the present-day Gulf of Mexico, leading to the extinction of the non-avian dinosaurs. How plants were affected is less understood, but fossil records show that ferns were the first plants to recover many thousands of years afterward.