Fresh analysis of a reptile fossil is helping scientists solve an evolutionary puzzle - how snakes lost their limbs. 
 
 The 90 million-year-old skull is giving researchers vital clues about how snakes evolved. 
 
 Comparisons between CT scans of the fossil and modern reptiles indicate that snakes lost their legs when their ancestors evolved to live and hunt in burrows, which many snakes still do today. 
 
 The findings show snakes did not lose their limbs in order to live in the sea, as was previously suggested. 
 
 Scientists used CT scans to examine the bony inner ear of Dinilysia patagonica, a 2-metre long reptile closely linked to modern snakes. These bony canals and cavities, like those in the ears of modern burrowing snakes, controlled its hearing and balance. 
 
 They built 3D virtual models to compare the inner ears of the fossils with those of modern lizards and snakes. Researchers found a distinctive structure within the inner ear of animals that actively burrow, which may help them detect prey and predators. This shape was not present in modern snakes that live in water or above ground. 
 
 The findings help scientists fill gaps in the story of snake evolution, and confirm Dinilysia patagonica as the largest burrowing snake ever known. They also offer clues about a hypothetical ancestral species from which all modern snakes descended, which was likely a burrower. 
 
 The study, published in Science Advances, was supported by the Royal Society. 
 
 Dr Hongyu Yi, of the University of Edinburgh's School of GeoSciences, who led the research, said: "How snakes lost their legs has long been a mystery to scientists, but it seems that this happened when their ancestors became adept at burrowing. The inner ears of fossils can reveal a remarkable amount of information, and are very useful when the exterior of fossils are too damaged or fragile to examine." 
 
 Mark Norell, of the American Museum of Natural History, who took part in the study, said: "This discovery would not have been possible a decade ago - CT scanning has revolutionised how we can study ancient animals. We hope similar studies can shed light on the evolution of more species, including lizards, crocodiles and turtles." 
 
 ### ||||| EDINBURGH, Scotland, Nov. 28 (UPI) -- Comparisons between modern snake skulls and the 90 million-year-old fossil suggest snakes lost their limbs in order to burrow on land. 
 
 Using CT scans to study the inner ear cavity of the fossilized Dinilysia patagonica skull, scientists at the University of Edinburgh found the structure of the canal is similar to modern burrowing serpents, but not those that live above ground or in water. 
 
 The findings suggest the Dinilysia patagonica, at two meters long, is the largest burrowing snake ever known. 
 
 "How snakes lost their legs has long been a mystery to scientists, but it seems that this happened when their ancestors became adept at burrowing," lead researcher Dr. Honguy Yi of the University of Edinburgh's School of GeoSciences said in a press release. "The inner ears of fossils can reveal a remarkable amount of information, and are very useful when the exterior of fossils are too damaged or fragile to examine." 
 
 The study is published in Science Advances and was sponsored by the Royal Society in Scotland. 
 
 Scientists at Yale concluded earlier this year snakes indeed evolved on land, not in water like once assumed. Through analysis of snake genomes, anatomy and fossils, the researchers constructed a family tree of serpents suggesting the most recent common ancestor of today's snakes had lost its forelimbs but still had tiny hind limbs some 128 million years ago. 
 
 "It would have first evolved on land, instead of the sea," said the Yale study's co-author Daniel Field of the world's earliest snakes. "Both of those insights resolve longstanding debates on the origin of snakes." ||||| Abstract Modern snakes probably originated as habitat specialists, but it controversial unclear whether they were ancestrally terrestrial burrowers or marine swimmers. We used x-ray virtual models of the inner ear to predict the habit of Dinilysia patagonica, a stem snake closely related to the origin of modern snakes. Previous work has shown that modern snakes perceive substrate vibrations via their inner ear. Our data show that D. patagonica and modern burrowing squamates share a unique spherical vestibule in the inner ear, as compared with swimmers and habitat generalists. We built predictive models for snake habit based on their vestibular shape, which estimated D. patagonica and the hypothetical ancestor of crown snakes as burrowers with high probabilities. This study provides an extensive comparative data set to test fossoriality quantitatively in stem snakes, and it shows that burrowing was predominant in the lineages leading to modern crown snakes. 
 
 Keywords 
 
 crown snake origin 
 
 HRCT 
 
 inner ear 
 
 bony labyrinth 
 
 virtual model building 
 
 geometric morphometrics 
 
 functional morphology 
 
 ancestral state reconstructions 
 
 INTRODUCTION More than 3000 species of extant snakes share a limbless or limb-reduced body plan and distinct sensory systems (1, 2). It is often held that the unique anatomy of snakes evolved through habitat specialization early in the group’s evolution, perhaps associated with their origin from other reptiles (3). Recent studies show conflicting results about whether snakes evolved from marine (4, 5) or terrestrial ancestors (6–9). For stem snakes—fossils that are more basal than all modern species—ecological traits are reconstructed conventionally from depositional environment or qualitative morphological characters (10, 11). Here, we provide quantitative analyses of the inner ear to reconstruct the habit of lineages closely related to the origin of crown snakes, including the Cretaceous fossil Dinilysia patagonica (12, 13) and the hypothetical ancestor of all modern snakes. We hypothesize that D. patagonica was a burrower and that crown snakes originated from burrowing ancestors. For an ecomorphic indicator for snake habits, we used the shape of the inner ear instead of anatomical features that are not often preserved in fossils. For example, trunk/tail ratio is an ecomorphic indicator for habitat preferences in living species (14), but fossil snakes rarely preserve complete vertebral series. The inner ear is the hearing and balance organ of all snakes (15). We used x-ray computed tomography (CT) to build three-dimensional models that are virtual endocasts of the bony inner ear labyrinth (Fig. 1, A to D). Our sample includes 34 species of modern and fossil snakes, and 10 species of lizards and amphisbaenians (table S1). The habit of D. patagonica was estimated by comparing its inner ear with modern snakes in three habit groups: aquatic, terrestrial generalists, and burrowing. We also tested the putative burrowing habit of the hypothetical ancestor of crown snakes, as reconstructed from a snake evolutionary tree. Fig. 1 Modern snakes originated as burrowers, based on their inner ear morphology. (A) Snake skulls in right lateral view, showing that the inner ear (orange) locates inside the braincase and opens to the stapes (blue) in the middle ear. Ear and skull models are not to scale. (B) Inner ear of Laticauda colubrina, an aquatic species. (C) Ptyas mucosa, terrestrial generalist. (D) Xenopeltis unicolor, a burrowing species. (E) Hypothetical ancestor of crown snakes, predicted as burrowing with 70.1% probability. (F) D. patagonica, predicted as burrowing with 93.4% probability. (G) Phylogeny of all snakes and lizards in this study, adapted from Gauthier et al. (8), Pyron et al. (19), and Yi and Norell (20). 
 
 RESULTS D. patagonica shares with modern burrowing squamates a large spherical vestibule, large foramen ovale, and slender semicircular canals in the inner ear (Fig. 2, A to C). The vestibule occupies most of the space defined by the three semicircular canals and contacts the lateral semicircular canal in a horizontal plane. Our data show that a spherical vestibule is a morphological signature for burrowing, because it only appears in squamates that actively burrow underground (Fig. 1D and fig. S1, taxa 26 to 28, 32, 34, and 39 to 43). Some terrestrial generalists burrow when disturbed (16). Their vestibule may be expanded but does not have a spherical shape. Nor does it almost entirely occupy the space enclosed by the semicircular canals (fig. S1A, taxon 8, Lampropeltis getulus). No aquatic species have a spherical vestibule contacting the lateral semicircular canal (Fig. 1B and fig. S1A, taxa 1 to 6). Fig. 2 The braincase and inner ear of D. patagonica (MACN-RN 1014). (A) Braincase of D. patagonica, showing the right otic region in lateral view. (B) X-ray CT model of MACN-RN 1014, with the inner ear highlighted in blue. (C) Bony inner ear of D. patagonica. FO, foramen ovale; LR, lagenar recess; SC, semicircular canal; V, vestibule. Scale bars, 5 mm. We represent the vestibule and lateral semicircular canal with 28 landmarks and semilandmarks placed in horizontal cross sections (fig. S2). The landmark and semilandmark coordinates were standardized using generalized Procrustes analysis to extract shape information independent of specimen size, position, and orientation (17). Multivariate analysis of variance (MANOVA) of Procrustes coordinates found significant difference among the three habit groups (P = 0.01; table S2). On the other hand, phylogenetic signal is insignificant, according to a permutation test of Procrustes coordinates on the cladogram (Fig. 1G) (P = 0.09, iteration = 10). This indicates that habitat, rather than phylogeny, is the overarching driver of inner ear shape differences among living snakes. Principal components analysis of the Procrustes coordinates demonstrates that aquatic and burrowing species differ in the degree of vestibular expansion (Fig. 3). Principal component 1 explains 47% of total variance. At its positive end, the shape exhibits a reduced vestibule that is well separated from the surrounding semicircular canals, particularly the lateral semicircular canal (Fig. 3A). At the negative end, the shape exhibits an expanded and spherical vestibule that almost entirely occupies the space enclosed by the semicircular canals (Fig. 3B). Burrowing species have an average negative score on principal component 1 (−0.097), whereas aquatic species have an average positive score (0.212). Linear correlation was insignificant between centroid size of Procrustes coordinates and species distributions in principal component 1 (P = 0.28 for a slope differing from zero; fig. S3). This indicates that vestibular shape, rather than size, is represented by the species distribution in the morphospace. Fig. 3 Principal components analyses of the vestibular shape. (A and B) The inner ear of X. unicolor (A) represents the shape on the negative side of principal component 1 (PC1), whereas the inner ear of L. colubrina (B) represents the positive side. (C) D. patagonica clusters with modern active burrowers. (D) The hypothetical ancestor of crown snakes clusters with modern burrowers and limbless generalists. We listed the species of each data point in fig. S4. Ear models are not to scale. In the morphospace of the first two principal components, D. patagonica clusters with modern active burrowers, regardless of body size and phylogenetic affinity (Fig. 3). We define active burrowers as species that dig into the substrate (sometimes with modified snouts) instead of using rock cracks or other animals’ burrow (16). These species, in our analysis, range from 40 to 160 cm in adult size (16), but they all have a spherical vestibule. We predict the habit group of D. patagonica using linear discriminant function analysis because its ecology cannot be inferred using extant phylogenetic bracketing (18). Scores of the first two principal components (table S3) were submitted to linear discriminant function analyses. The first analysis included all samples but D. patagonica, which correctly predicted 67% of predefined habit groups (table S4). This serves as a statistical base for predictions of other samples with unknown habit. Second, D. patagonica was incorporated with no predefined habit group and predicted as a burrower with a 93.4% probability (Fig. 1F and table S5). It is noteworthy that incorrect predictions happen only between the generalist group and two specialist groups; there were no incorrect predictions between burrowing and aquatic groups (table S4). A virtual model of the hypothetical ancestor of crown snakes was reconstructed using a phylogeny compiled from recent studies (Fig. 1G) (8, 19, 20). The Procrustes shape of the hypothetical ancestor resembles a burrower’s ear with the vestibule expanded in the horizontal plane (fig. S4A). Principal components analysis including the hypothetical ancestor found it clustering with living sand swimming snakes, burrowing lizards, and limbless lizards that hide in leaf litter or rock cracks (fig. S5A). Linear discriminant function analysis predicted the hypothetical ancestor as a burrower with a probability of 70.1%; aquatic habitat was highly unlikely for the hypothetical ancestor with a predicted probability of 0.02% (Fig. 1E and table S5). We also reconstructed the morphology of the ancestral node without D. patagonica (fig. S4B). This gave almost identical results in the principal components analysis and linear discriminant function analysis (fig. S5B and table S6). To further test the robustness of the predictions of habit groups, we mapped the Procrustes coordinates on an alternative phylogeny that has mosasaurs as the sister group to all snakes (fig. S7) (7). Using this alternative inner ear shape reconstruction, we predicted the hypothetical ancestor of crown snakes as a burrower with 64.0% probability (table S7). 
 
 DISCUSSION With a snout-tail length exceeding 1.8 m (measured in MACN-RN 976), D. patagonica is the largest known burrowing snake, living or extinct (Fig. 4). Most modern burrowing snakes are smaller than 1 m (16, 21). This includes scolecophidians, cynlindrophiids, uropeltids, and bur???rowing caenophidians (for example, Simoselaps) (16). The largest burrowers in extant snakes, X. unicolor and L. bicolor, can grow up to 1.6 m (16). D. patagonica probably used the same foraging strategies as X. unicolor and L. bicolor that hunt for buried eggs of other reptiles (22) and small vertebrates aboveground (16). Fig. 4 Total body size of D. patagonica compared with extant snakes. Loxocemus bicolor is the largest extant burrowing snake, growing up to 160 cm (16); Leptotyphlops carlae is the smallest extant snake (21). The large spherical vestibule of D. patagonica is a morphological signature of burrowing. In modern burrowers, the spherical vestibule usually contains a large saccular otolith (23), or an “ear stone,” that transfers substrate vibrations to the brain. Mathematical modeling has shown that the optimal vibration frequency decreases when the otolith increases in size and mass (24). Previous experimental data have exhibited that species with large otoliths are more sensitive to ground vibrations with lower frequencies than airborne sound (25). The otolith also performs as an accelerometer in the skull to perceive head movements. Species with a large saccular otolith are more sensitive to angular rotations in the vertical plane of the skull, but they can only process a narrow range of constant speed when the animal moves (24). MACN-RN 1014 preserves a cast of a large saccular otolith; this indicates that D. patagonica was sluggish, yet sensitive to ground vibrations. Basal lineages of crown snakes share a spherical vestibule that facilitates fossoriality (fig. S1, taxa 26 to 28, 30, 32, 37, 40, and 41). However, the most basal lineage among living snakes, blind snakes, does not represent the ancestral morphology of the inner ear. Blind snakes have a small vestibule and very stout semicircular canals (fig. S1, taxa 29 and 35). These are lineage-specific apomorphic morphologies. D. patagonica holds a critical position in the origin of modern snakes. In recent snake phylogenies using large data sets, D. patagonica is recovered as the sister taxon to all crown-group snakes (6, 8, 12), in a basal position within crown-group snakes (5, 26, 27), or as a sister taxon to crown snakes with unresolved relationships among other Mesozoic snakes (28). Regardless of this phylogenetic uncertainty, the hypothetical ancestor of modern snakes—reconstructed with or without D. patagonica in our analyses—is predicted as a burrower in the linear discriminant analysis. Including D. patagonica increases the probability of the hypothetical ancestor being fossorial (59.3 to 70.1%). 
 
 CONCLUSIONS A burrowing life-style predated modern snakes, but it remained as the main, if not exclusive (6), habit for basal lineages among crown snakes. Both D. patagonica and the hypothetical ancestor of crown snakes have a large vestibule that is associated with low-frequency hearing. This suggests that ancestrally, crown snakes were able to detect prey and predator via substrate vibrations. 
 
 MATERIALS AND METHODS Experimental design We sampled 44 species for inner ear morphology (fig. S1). Digital endocasts of the bony labyrinth is built using x-ray CT data. Virtual models of the inner ear are deposited in MorphoBank (29) Project 2170 in PLY format. We used six type 2 landmarks (17) and 22 semilandmarks placed along the lateral surface of the vestibule and the medial surface of the lateral semicircular canal (fig. S2). Statistical analysis The 28 landmarks and semilandmarks are superimposed using generalized Procrustes analysis implemented in the R package Geomorph V 1.1-5 (30). We also performed MANOVA test and principal components analysis in Geomorph V 1.1-5 (30), using Procrustes coordinates as input. To test between-group shape separation, linear discriminant analysis was performed among the three habit groups using scores of the first two principal components of all extant species. We used standard statistical software (Minitab 17) for the linear discriminant function analysis. We mapped the shape coordinates on the phylogenies using squared-change parsimony, implemented in MorphoJ (31). For the hypothetical ancestor of crown snakes, shape coordinates of the inner ear were reconstructed with and without D. patagonica. An additional phylogeny (fig. S7) was also used to address the phylogenetic uncertainty of mosasaurs. We listed the details of Materials and Methods in the Supplementary Materials. 
 
 SUPPLEMENTARY MATERIALS Supplementary material for this article is available at http://advances.sciencemag.org/cgi/content/full/1/10/e1500743/DC1 Materials and Methods Fig. S1. Vestibular shape of all samples. Fig. S2. Placement of shape variables. Fig. S3. Regression of centroid size to scores of principal component 1. Fig. S4. Distribution of shape variables reconstructed for the hypothetical ancestor of crown snakes. Fig. S5. Principal components analyses of vestibular shape. Fig. S6. Missing data in shape variables. Fig. S7. An alternative phylogeny for all samples. Table S1. Taxon sampling in the three habitat groups. Table S2. MANOVA test of Procrustes coordinates among the three habitat groups. Table S3. Scores of the first two principal components. Table S4. Accuracy of the linear discriminant function analysis. Table S5. Habit predictions for D. patagonica and the hypothetical ancestor of modern snakes. Table S6. Habit predictions for D. patagonica and the hypothetical ancestor of modern snakes. Table S7. Habit predictions for D. patagonica and the hypothetical ancestor of modern snakes. Table S8. CT scanning parameters*. Reference (32) 
 
 This is an open-access article distributed under the terms of the Creative Commons Attribution-NonCommercial license, which permits use, distribution, and reproduction in any medium, so long as the resultant use is not for commercial advantage and provided the original work is properly cited.
– "How snakes lost their legs has long been a mystery to scientists," Dr. Hongyu Yi says in a press release from the University of Edinburgh. But that mystery may have finally been solved thanks to a 90 million-year-old skull and advanced CT scan technology. It's been long theorized that the ancestors of modern snakes lost their limbs when they evolved to live in the sea. Researchers at the University of Edinburgh determined that's not quite right when they used a CT scan to create a detailed 3D model of the skull of a Dinilysia patagonica—a close relative of modern snakes—and compared it to those of modern reptiles. What they found was a unique structure in the inner ear that controls balance and hearing and is shared only by burrowing animals. Modern snakes that live in water don't have it. Using that information, researchers determined the ancestors of modern snakes actually lost their limbs in order to hunt and live in burrows, per the press release. "The inner ears of fossils can reveal a remarkable amount of information, and are very useful when the exterior of fossils are too damaged or fragile to examine," Yi says. The study also confirmed the 6.5-foot-long Dinilysia patagonica as the largest burrowing snake ever. The results were published Friday in Science Advances. The study confirms a Yale study from earlier this year that found snakes evolved on land and not in water, UPI reports. That study used genomes, fossils, and more to determine the ancestors of modern snakes lost their front legs approximately 128 million years ago, though they still had tiny hind legs. (Here's how boa constrictors really kill their prey.)