section_path: Phanerozoic Eon/Evolution of tetrapods
section_name: Evolution of tetrapods
paragraph_text: Evolution of tetrapods
  
  At the end of the Ordovician period, 443 Ma, additional extinction events occurred, perhaps due to a concurrent ice age. Around 380 to 375 Ma, the first tetrapods evolved from fish. Fins evolved to become limbs that the first tetrapods used to lift their heads out of the water to breathe air. This would let them live in oxygen-poor water, or pursue small prey in shallow water. They may have later ventured on land for brief periods. Eventually, some of them became so well adapted to terrestrial life that they spent their adult lives on land, although they hatched in the water and returned to lay their eggs. This was the origin of the amphibians. About 365 Ma, another period of extinction occurred, perhaps as a result of global cooling. Plants evolved seeds, which dramatically accelerated their spread on land, around this time (by approximately 360 Ma).
  
  About 20 million years later (340 Ma), the amniotic egg evolved, which could be laid on land, giving a survival advantage to tetrapod embryos. This resulted in the divergence of amniotes from amphibians. Another 30 million years (310 Ma) saw the divergence of the synapsids (including mammals) from the sauropsids (including birds and reptiles). Other groups of organisms continued to evolve, and lines diverged—in fish, insects, bacteria, and so on—but less is known of the details.
  
  After yet another, the most severe extinction of the period (251~250 Ma), around 230 Ma, dinosaurs split off from their reptilian ancestors. The Triassic–Jurassic extinction event at 200 Ma spared many of the dinosaurs, and they soon became dominant among the vertebrates. Though some mammalian lines began to separate during this period, existing mammals were probably small animals resembling shrews.
  
  The boundary between avian and non-avian dinosaurs is not clear, but Archaeopteryx, traditionally considered one of the first birds, lived around 150 Ma.
  
  The earliest evidence for the angiosperms evolving flowers is during the Cretaceous period, some 20 million years later (132 Ma).