section_path: Evolutionary history/Rise of the reptiles
section_name: Rise of the reptiles
paragraph_text: Rise of the reptiles
  
  The earliest amniotes, including stem-reptiles (those amniotes closer to modern reptiles than to mammals), were largely overshadowed by larger stem-tetrapods, such as Cochleosaurus, and remained a small, inconspicuous part of the fauna until the Carboniferous Rainforest Collapse. This sudden collapse affected several large groups. Primitive tetrapods were particularly devastated, while stem-reptiles fared better, being ecologically adapted to the drier conditions that followed. Primitive tetrapods, like modern amphibians, need to return to water to lay eggs; in contrast, amniotes, like modern reptiles – whose eggs possess a shell that allows them to be laid on land – were better adapted to the new conditions. Amniotes acquired new niches at a faster rate than before the collapse and at a much faster rate than primitive tetrapods. They acquired new feeding strategies including herbivory and carnivory, previously only having been insectivores and piscivores. From this point forward, reptiles dominated communities and had a greater diversity than primitive tetrapods, setting the stage for the Mesozoic (known as the Age of Reptiles). One of the best known early stem-reptiles is Mesosaurus, a genus from the Early Permian that had returned to water, feeding on fish.
  
  A 2021 examination of reptile diversity in the Carboniferous and Permian suggests a much higher degree of diversity than previously thought, comparable or even exceeding that of synapsids. Thus, the "First Age of Reptiles" was proposed.