The evolution of birds began in the Jurassic Period, with the earliest birds derived from a clade of theropoda dinosaurs named Paraves. Birds are categorized as a biological class, Aves. The earliest known is Archaeopteryx lithographica, from the Late Jurassic period, though Archaeopteryx is not commonly considered to have been a true bird. Modern phylogenies place birds in the dinosaur clade Theropoda. According to the current consensus, Aves and a sister group, the order Crocodilia, together are the sole living members of an unranked "reptile" clade, the Archosauria. Four distinct lineages of bird survived the Cretaceous-Tertiary extinction event 66 million years ago, giving rise to ostriches and relatives (Paleognathae), ducks and relatives (Anseriformes), ground-living fowl (Galliformes), and “modern birds” (Neoaves).
Phylogenetically, Aves is usually defined as all descendants of the most recent common ancestor of a specific modern bird species (such as the house sparrow, Passer domesticus), and either Archaeopteryx, or some prehistoric species closer to Neornithes (to avoid the problems caused by the unclear relationships of Archaeopteryx to other theropods). If the latter classification is used then the larger group is termed Avialae. Currently, the relationship between dinosaurs, Archaeopteryx, and modern birds is still under debate.
There is significant evidence that birds emerged within theropod dinosaurs, specifically, that birds are members of Maniraptora, a group of theropods which includes dromaeosaurs and oviraptorids, among others. As more non-avian theropods that are closely related to birds are discovered, the formerly clear distinction between non-birds and birds becomes less so. This was noted already in the 19th century, with Thomas Huxley writing: