In this stage the archosaurs became the dominant faunas in the world, evolving into groups such as the phytosaurs, rhynchosaurs, aetosaurs, and rauisuchians. The first dinosaurs (and the pterosaur Carniadactylus) also appeared in this stage, and though at the time they were small and insignificant, they diversified rapidly and would dominate the fauna for the rest of the Mesozoic. On the other hand, the therapsids, which included the ancestors of mammals, decreased in both size and diversity, and would remain relatively small until the extinction of the dinosaurs.