Mesosaurs ("middle lizards") were a group of small aquatic reptiles that lived during the early Permian period (Cisuralian), roughly 299 to 270 million years ago. Mesosaurs were the first known aquatic reptiles, having apparently returned to an aquatic lifestyle from more terrestrial ancestors. It is uncertain which and how many terrestrial traits these ancestors displayed; recent research cannot establish with confidence if the first amniotes were fully terrestrial, or only amphibious. Most authors consider mesosaurs to have been aquatic, although adult animals may have been amphibious, rather than completely aquatic, as indicated by their moderate skeletal adaptations to a semiaquatic lifestyle. Similarly, their affinities are uncertain; they may have been among the most basal sauropsids or among the most basal parareptiles (in the case of which parareptiles were basal sauropsids). Phylogeny The phylogenetic position of mesosaurs has an important bearing on the definition of Reptilia. In one of the first major phylogenetic studies of amniotes (vertebrates laying eggs on land) Gauthier et al. (1988) placed Mesosauridae in a group called Parareptilia. Parareptilia means "at the side of reptiles" and was placed outside the clade Reptilia, which was considered a crown group. As a crown group, Reptilia included the most recent common ancestor of the then believed to be the two main lineages of living reptiles -anapsids (specifically turtles) and diapsids (all other living reptiles)- and all descendants of that common ancestor. This view of placing turtles outside of diapsids is now outdated and the majority of modern paleontologists believe that the Testudines (turtles and allies) are descended from diapsid reptiles that lost their temporal fenestrae. More recent morphological phylogenetic studies with this in mind placed turtles firmly within diapsids, and, more commonly, as a sister taxon to Archosauria (made up of crocodiles, dinosaurs -including birds- and allies). Furthermore, Anapsida is rarely considered a valid clade in recent phylogenetic analyses. In this sense, Reptilia was a node-based taxon because the first reptilian common ancestor would have been a "node" on the phylogenetic tree. Under this phylogeny, many extinct forms traditionally regarded as reptiles including mesosaurs were excluded from the group because they were outside the node. More recent phylogenetic analyses, such as that of Modesto (1999), support that of Gauthier et al. (1988) by placing mesosaurs with parareptiles. However, these phylogenies follow Laurin and Reisz (1995) in placing Parareptilia within crown-group Reptilia, meaning that mesosaurs are once again members of Reptilia.