section_path: Evolution and classification/Early diversity of bird ancestors
section_name: Early diversity of bird ancestors
paragraph_text: Early diversity of bird ancestors
  
  The first large, diverse lineage of short-tailed avialans to evolve were the Enantiornithes, or "opposite birds", so named because the construction of their shoulder bones was in reverse to that of modern birds. Enantiornithes occupied a wide array of ecological niches, from sand-probing shorebirds and fish-eaters to tree-dwelling forms and seed-eaters. While they were the dominant group of avialans during the Cretaceous period, enantiornithes became extinct along with many other dinosaur groups at the end of the Mesozoic era.
  
  Many species of the second major avialan lineage to diversify, the Euornithes (meaning "true birds", because they include the ancestors of modern birds), were semi-aquatic and specialised in eating fish and other small aquatic organisms. Unlike the Enantiornithes, which dominated land-based and arboreal habitats, most early euornithes lacked perching adaptations and likely included shorebird-like species, waders, and swimming and diving species.
  
  The latter included the superficially gull -like Ichthyornis and the Hesperornithiformes, which became so well adapted to hunting fish in marine environments that they lost the ability to fly and became primarily aquatic. The early euornithes also saw the development of many traits associated with modern birds, like strongly keeled breastbones, toothless, beaked portions of their jaws (though most non-avian euornithes retained teeth in other parts of the jaws). Euornithes also included the first avialans to develop true pygostyle and a fully mobile fan of tail feathers, which may have replaced the "hind wing" as the primary mode of aerial maneuverability and braking in flight.
  
  A study on mosaic evolution in the avian skull found that the last common ancestor of all Neornithes might have had a beak similar to that of the modern hook-billed vanga and a skull similar to that of the Eurasian golden oriole. As both species are small aerial and canopy foraging omnivores, a similar ecological niche was inferred for this hypothetical ancestor.