The Cretaceous ended with a large mass extinction , the Cretaceous-Paleogene extinction event , in which many groups , such as non-avian dinosaurs , died out , while large marine reptiles and pterosaurs survived .
In the Cretaceous pterosaurs and large marine reptiles prospered and continued their survival .