The Triassic (252–201 Ma) marks a major punctuation in Earth history, when ecosystems rebuilt themselves following the devastating Permian-Triassic mass extinction. Herbivory evolved independently several times as ecosystems comprising diverse assemblages of therapsids, parareptiles and archosauromorphs rose and fell, leading to a world dominated by dinosaurs. It was assumed that dinosaurs prevailed either through long-term competitive replacement of the incumbent clades or rapidly and opportunistically following one or more extinction events. Here we use functional morphology and ecology to explore herbivore morphospace through the Triassic and Early Jurassic. We identify five main herbivore guilds (ingestion generalists, prehension specialists, durophagous specialists, shearing pulpers, and heavy oral processors), and find that herbivore clades generally avoided competition by almost exclusively occupying different guilds. Major ecosystem remodelling was triggered multiple times by external environmental challenges, and previously dominant herbivores were marginalised by newly emerging forms. Dinosaur dominance was a mix of opportunity following disaster, combined with competitive advantage in their new world.
Terrestrial ecosystems underwent significant remodelling during the Triassic via floral and faunal turnovers that established many of the structural elements found in modern ecosystems. The preceding Permian-Triassic mass extinction (PTME), 252 Ma, is said to have reset the whole evolution of life1,2. Palaeozoic tetrapod survivors of the PTME, such as procolophonid parareptiles and dicynodont therapsids, were superseded by new archosauromorph and mammaliaform clades3,4. The turnovers established dinosaurs as the predominant terrestrial tetrapods for the remainder of the Mesozoic, and saw the emergence of key modern groups such as lissamphibians (frogs and relatives), turtles, lepidosaurs (lizards and relatives), crocodylomorphs, and mammals, as well as flies and beetles3,4, and several families of ferns and conifers5.
The evolution of tetrapods through the Triassic, with the eventual success of the dinosaurs, is a classic example of a biotic replacement6,7 for which two explanatory models have been proposed. The first, the ‘competitive replacement model’ (CRM) is that archosauromorphs/dinosaurs outcompeted their rivals because of their more efficient locomotion, respiration, thermoregulation, and/or feeding habits8,9,10. The CRM occurred in two steps, with archosauromorphs first outcompeting and replacing therapsids in the carnivore guild, and then in the herbivore guild, in the Middle and Late Triassic, respectively8. The second model, the ‘opportunistic replacement model’ (ORM) focuses on the role of extrinsic environmental perturbations in enabling an opportunistic diversification of archosauromorphs/ dinosaurs following the extinction of competitor groups11. New evidence for the ORM is the discovery that the Carnian Pluvial Event (CPE), 233–232 Ma, was a turning point for terrestrial ecosystems; this was a time when climates switched rapidly from arid to humid and back to arid conditions, causing significant extinctions among plants and among the herbivores that depended on them, and further enabling explosive diversification of herbivorous dinosaurs12,13. There have been similar debates over competitive and opportunistic models as explanations for many large-scale biotic replacements through geological time7, and the Triassic example explored here can act as an exemplar for study of these other events.
Recent work on Triassic tetrapods has changed our understanding of the pattern of biotic replacement but has not resolved the tension between CR and OR models. For example, despite their success, early dinosaurs show no apparent superiority, possessing lower morphological disparity than contemporaneous pseudosuchians (or crurotarsans, crocodile-line archosaurs)14,15, and no long-term evolutionary drive or extinction resilience16,17. Recent discoveries now suggest an earlier origin for dinosaurs at ~250 Ma in the Early Triassic18, and the extinction of the last non-mammaliaform therapsids towards the end of the Late Triassic19. This newly extended span of coexistence across the entire Triassic challenges old assumptions of archaic therapsid capabilities. All these points indicate the need for deeper study.
Here, we explore diversity dynamics and eco-morphospaces to investigate the timing of functional and ecological changes between the key clades through the Triassic. We limit our study to the herbivores as they are the basis of the tetrapod food chains, and by far the most abundant animals in each ecosystem. As primary consumers, herbivores constitute the interface between flora and fauna, acting as indicators of wider eco-environmental change20. Further, they generally had robust skeletons that are extensively preserved, and the phylogenetics and feeding functions of all key clades have been previously studied. We show that there was considerable stability in niche partitioning and feeding functions among early Mesozoic herbivores, as animals evolved to avoid competitive pressure. Times of stability gave way to turmoil and rapid change when climates and plants changed, but ‘normal rules’ returned as conditions stabilised.
Results and discussion
Triassic herbivore ecomorphological feeding guilds
We use herbivorous tetrapod jaws as an ecomorphological proxy and consider variation in both shape and function. Archosauromorphs and therapsids occupy different areas of shape morphospace with almost no overlap (Fig. 1a). The main discrimination between these two clades is along the major axis of variation, principal component (PC) 1, while PC2 discriminates therapsid subgroups, but not the sauropsids, which remain clustered on PC2. This pattern of greater sauropsid conservatism relative to synapsids appears to remain consistent in morphospaces generated from combinations of the first three PCs (Supplementary Fig. 4). Two clades crosscut this general pattern: the areas of morphospace occupied by rhynchosaurs (Archosauromorpha) and procolophonoids (Parareptilia) overlap with other sauropsids as well as with therapsids (Fig. 1a). This functional-ecological discrimination between the two major tetrapod clades, including the ancestors of modern birds and crocodilians on the one hand (archosauromorphs) and mammals on the other (therapsids) helps explain how both clades survived and neither overwhelmed the other, despite evidence for arms races between both through the Triassic14,16,21.
Contour mapping of the functional characters (Supplementary Table 1) helps to reveal how jaw shape reflects function (Fig. 1b–i). The sauropsid-therapsid division along PC1 appears closely linked with anterior (Fig. 1b) and posterior (Fig. 1c) mechanical advantage (MA) and maximum aspect ratio (MAR) (Fig. 1e), reflecting biting efficiency and speed, and jaw robusticity. PC2 reflects a more complex pattern and appears to document the opening MA (Fig. 1d), relative symphyseal length (RSL) (Fig. 1g), and articulation offset (AO) (Fig. 1i), reflecting the speed of jaw opening, anterior robusticity, and efficiency of jaw lever mechanics, respectively. These functional characters were used to generate a separate jaw ‘functional’ morphospace (Fig. 1j) in which PC contribution scores indicate that functional PC1 (fPC1) is equally dependent on posterior MA, anterior MA, and MAR, while fPC2 is dominated by the opening MA and AO (Supplementary Table 2). Taxon distribution is more extended along fPC2, but the functional morphospace shows largely the same patterns as seen in the shape morphospace (Fig. 1j and Supplementary Fig. 5). In the functional morphospace, only the rhynchosaurs overlap with therapsids, and they occupy a space between cynognathian cynodonts and dicynodonts, rather than being associated more closely with dicynodonts as in the shape morphospace (Fig. 1a).
Triassic therapsid jaws were highly efficient, granting them relatively high power and speed, as shown by the shape and functional morphospaces (Fig. 1a, j). Therapsids have relatively compressed mandibles (Fig. 1a) that maximise the areas of muscle attachment, increasing MA (Fig. 1b–c). Among therapsids, eutheriodonts developed this characteristic further, diverging from other taxa in terms of the greater compression of their mandibles and the reduced offset between tooth row and jaw joint. This progression continues through the successive positions in morphospace of the bauriid therocephalians, cynognathian cynodonts and tritylodont mammaliamorphs. Relative expansion of the tooth row (Fig. 1f) and development of the jaw musculature supports therapsid optimisation for powerful bites. The more anterior positioning of the adductor musculature in dicynodonts manifests as the highest anterior and posterior MA values of any group with the quadrate-articular jaw joint. Tooth row expansion and low opening MA in eutheriodonts indicates power was directed towards oral processing/mastication, while dicynodont edentulism supports optimisation for a powerful, shearing bite22.
Triassic sauropsid jaws were less efficient, but follow similar trends to therapsids in developing comminution ability. Sauropodomorphs and allokotosaurs diverged from these trends, opting for fairly quick but weak bites with relatively large tooth rows to optimise ingestion of vegetation. Aetosaurs, ornithischians and some procolophonoids exhibit morphologies that mechanically improved on the basal morphology of the sauropodomorphs and allokotosaurs, with greater MA and robusticity, although jaw closure was notably slower. This may suggest greater cropping ability and further herbivorous specialisation. Rhynchosaurs show similar trends in developing their jaw musculature, exhibiting MA values (Fig. 1b–d) that converge towards those of therapsids. Leptopleuronine procolophonids are interesting in that their jaws were very stout with slower bite speed and high MA, suggesting they were feeding on very hard/ tough materials. The expansion of the tooth row in aetosaurs, ornithischians and rhynchosaurs suggests they were emulating the eutheriodonts in developing more effective mastication. Consequently, early Mesozoic herbivores can be subdivided broadly by their preference for gut or oral processing23. Different groups of therapsids and sauropsids followed common adaptive pathways as specialised herbivores: as phylogenetic contingency combined with ecology to produce convergent forms. This pattern has already been observed among dinosaurs24 and our results suggest it runs even deeper in the tetrapod tree.
Regional mapping on the functional morphospace plot (Fig. 1j) shows qualitative groupings that may reflect different functional feeding groups (FFG) or guilds. To quantitatively identify these FFGs, three separate cluster analyses were run using a distance matrix of the standardised functional data. All methods gave similar results with regards to the separation and stability of the cluster groups but disagree over the precise groups (Supplementary Table 5 and Supplementary Data 5). External validation metrics were used to assess how closely the cluster groups corresponded with broad and higher resolution taxonomic groupings (Supplementary Data 14), which highlighted the relatively strong phylogenetic control on mandibular morpho-function (Supplementary Table 6 and Supplementary Data 14). By removing inconsistent taxa and looking for consensus among the three sets of cluster results, we identified five main FFGs: the ingestion generalists (relatively unspecialised), the prehension specialists (stronger, larger bites), the durophagous specialists (slow, powerful bites), the shearing pulpers (that cut and smash plant food), and the heavy oral processors (using teeth to reduce the food). Many sauropsid taxa were recovered within the ingestion generalist FFG, and so the clustering methodology was repeated with the ingestion generalists in an effort to generate higher resolution functional feeding subgroups (FFsG) for use in analysis of potential competition (Supplementary Data 5 and 6). This allowed identification of three additional FFsG within the ingestion generalist group: the basal generalists, tough generalists and light oral processors.
Dissecting the functional properties within each of the FFGs enables us to determine the likely feeding specialisations (Fig. 2 and Supplementary Data 7) and track their prevalence through geological time (Fig. 3 and Supplementary Data 8 and 9). MA is the main discriminant for our FFGs. The FFGs show that therapsid herbivores fall into three FFGs, and archosauromorphs into two groups. However, the identification of the FFsG shows that archosauromorph morpho-functional differences are more subtle than those present in therapsids, illustrating the varying levels of specialisation and phylogenetic constraints within the two clades. We note that only two FFGs include both therapsids and sauropsids, the ‘shearing pulper’ group, including both hyperodapedontine rhynchosaurs and dicynodonts, and the light oral processor subgroup of the ingestion generalists, which included both archosauromorph rhynchosaurs and trilophosaurs and bauriid therocephalians. Sauropsids show much greater FFG variability within clades than therapsids, where feeding mode is largely common to the entire clade (Fig. 2 and Supplementary Data 5 and 6). This may reflect greater ecological diversification within sauropsid clades as a result of being relatively unspecialised compared to contemporaneous therapsid herbivores, which were already quite specialised at the onset of the Mesozoic. This contrast in specialisation granted sauropsids greater freedom to diversify across different guilds, despite therapsids possessing more mechanically efficient jaws (Fig. 2).
Niche partitioning and competition avoidance
Were different clades of herbivores apparently competing for the same resources and in the same way? It seems not. We find that differences in jaw morphology are highly constrained by phylogeny and our FFGs do closely reflect phylogenetic groupings. Such phylogenetic structuring does not preclude meaningful functional interpretation of our FFGs to study divergent feeding strategies;25,26 this simply reflects that morphology and thus functionality is highly controlled by phylogeny. The distinction between the areas of morphospace occupied by therapsids and archosauromorphs (Fig. 1a) represents their fundamentally different feeding priorities, in which archosauromorphs optimised prehension and therapsids optimised comminution. Therapsids appear to have consistently enhanced biting power, possessing greater MA than most sauropsids, and this may reflect differences in the primary jaw adductor musculature of sauropsids (pterygoideus) and therapsids (adductor mandibularis)27. Sauropsid jaw mechanics are less efficient compared to therapsids, but it is clear that sauropsids, particularly the archosaurs achieved significantly larger body sizes than therapsids16. Therefore, it appears that sauropsids favoured increasing their bite forces through boosting jaw muscle mass and the absolute power involved, rather than improve efficiency. Their separation in morphospace suggests broad-scale niche partitioning between members of these two clades, guided in part by phylogenetic constraint. Nonetheless, our patterns of shape and functional morphospace occupation show how both groups converged from basal amniote (faunivorous) morphologies28 towards a common amniote-specific form of herbivory29.
At the level of FFGs, minimal overlap between the various therapsid and archosauromorph clades confirms that these herbivores were not in competition for most of the early Mesozoic, contrary to the competitive model (Fig. 3). When our FFGs are applied at ecosystem level for different localities (Fig. 4; Supplementary Data 11 and Supplementary Table 6), we find that most co-occurring taxa belonged to different FFGs. Examples of coexisting herbivores with the same feeding functionality (Supplementary Table 7), and thus possibly competing, include procolophonids, bauriids and rhynchosaurs in the Early Triassic, hyperodapedontine rhynchosaurs and dicynodonts in the Lower Ischigualasto Formation (Carnian), and within dinosaur-dominated assemblages of the latest Triassic and Early Jurassic (Fig. 3), which is expected as most of these dinosaur groups have been shown to employ similar ‘orthal’ jaw mechanics30. Widespread morphological dissimilarity suggests that high herbivore diversity in the Santa Maria, Ischigualasto, and Lossiemouth formations (Fig. 4) was sustained by niche partitioning, which enables ecologically similar taxa to coexist by diverging from each other in their demands on resources31,32. The subdivision of resources by specialisation towards separate niches minimises resource competition, whilst boosting feeding efficiency, and thus the chances of survival33,34,35.
Our FFGs are broadly defined, so even these examples of possible competition may be exaggerated. The further identification of large subgroups within the ingestion generalist FFG (Fig. 2) highlights this, as use of these subgroups dramatically reduced the occurrences of potential trophic conflict (Supplementary Data 11). Additionally, in the Carnian examples, the kannemeyeriiform dicynodonts were much larger36 and lacked the dental plates of rhynchosaurs37. These two clades may well have specialised on different plant food while coexisting within the same broad feeding guild. Further, among the Late Triassic herbivorous dinosaurs that also coexisted within broad feeding guilds (Fig. 3), niche partitioning has been noted already among sauropodomorph dinosaurs, expressed in their body size38 and postural disparity39. Further evidence of tetrapod niche differentiation may be found in their dentition40, body size41, limb anatomy42, and even spatiotemporal behaviour43. Therefore, other aspects of ecology may support divergent trophic strategies and the avoidance of competition within these groups, although further comparative studies are needed. Competition between Early Triassic diapsids is more convincing as there are greater levels of coexistence, similarities between sizes, and abundances where found together (Supplementary Data 10).
Temporal trends: changing of the guilds
Patterns of shape and functional disparity through geological time (Fig. 5a) generally show near reciprocal traces for therapsids and archosauromorphs—when values for one clade are trending upwards, those for the other are trending downwards. This is particularly apparent in the lower Carnian and Rhaetian. However, this pattern appears to vanish in the Norian, possibly due to poor sampling of the therapsids. Crossovers occur at the times of the Carnian Pluvial Event, 233 Ma, and in the aftermath of the Triassic-Jurassic mass extinction (TJE), 201 Ma. Both metrics broadly agree, showing rising archosauromorph shape and functional disparity through the Early and Middle Triassic, and then higher values for therapsids through most of the Late Triassic, and equivalent values in the Early Jurassic. Interestingly, this concordance breaks down in the Early Jurassic as a disconnect appears within therapsids (tritylodonts), with high shape disparity producing lower functional disparity.
Dividing the shape and functional morphospaces temporally as stacked plots shows more detail of how different herbivorous clades waxed and waned (Fig. 5b). Herbivore guilds in the Early Triassic were dominated by procolophonoids and dicynodonts. During the Middle Triassic, parareptile disparity rose as the Early Triassic disaster fauna was complemented by new groups such as the gomphodont cynognathian cynodonts and archosauromorph allokotosaurs and rhynchosaurs. Archosauromorph disparity also increased as diversity increased with the emergence of new groups with new forms and functions, such as the rhynchosaurs and allokotosaurs. Therapsid disparity remained stable with the diversification of many morphologically similar kannemeyeriform dicynodonts masking the new diversity of cynodonts.
Near the beginning of the Late Triassic, the CPE marked a substantial change, as rhynchosaurs and dicynodonts disappeared or reduced to very low diversity and abundance, and archosauromorph herbivores took over11,12,13. These were initially aetosaurs and sauropodomorph dinosaurs and, while expanding in diversity, their disparity declined (Fig. 5a) because new taxa were morphologically conservative, exhibiting limited variance and emerging within the existing morphospace of each respective clade (Fig. 5b). At the same time, all other herbivore clades declined, with remaining (parareptile and dicynodont) taxa shifting towards the extreme edges of their former morphospace occupancy. Cynognathians also dwindled in the early Norian. This transition within the herbivore guilds marks a shift from oral to gut processing among the majority of large terrestrial herbivores23 (Figs. 2, 3, and 5b).
During the Rhaetian, herbivore diversity and disparity declined with only dinosaur and mammalian herbivores surviving into the Jurassic. Both groups underwent morphological and taxonomic radiations in the Early Jurassic, with dinosaurs and mammals typically occupying the roles of large and small herbivores, respectively. There was also a brief reappearance of pseudosuchian herbivores. We note that through the course of the early Mesozoic, sauropsid and therapsid morphospace became increasingly distanced from each other, with further comparison of the distances between therapsid and archosauromorph morphospace centroids showing that this separation accelerated at the onset of the Late Triassic (Supplementary Table 12).
At epoch scale, NPMANOVA identified significant shifts in morphospace occupation between the Early and Middle Triassic (shape and function: p = 0.02). At stage level, only the Olenekian-Anisian transition shows a significant shift in both shape and functional morphological diversity (shape: p = 0.009, function: p = 0.007) (Supplementary Table S14). These results denote the distinct shift from disaster faunas through the Early Triassic, marked by repeated climate perturbations, to the more stable conditions of the mid-Anisian onwards and faunal recovery from the PTME44,45. The transitions between the lower Carnian-upper Carnian and Sinemurian-Pliensbachian were identified as being significant to shape but not function (p = 0.01 and 0.03) (Supplementary Table 14). These results for the Carnian are tantalising and tentatively highlight the impacts of the CPE as an important macroevolutionary event13. Furthermore, at the p < 0.1 significance level, the functional differences between these two transitions are recovered as significant (p = 0.06 and 0.05), as well as the Pliensbachian-Toarcian transition (p = 0.1). However, it must be noted that if a Bonferroni correction is applied, we are unable to recover any significant results for stage transitions.
We recognise a repeated pattern in the replacements in herbivore guilds that coincided with the three crisis events: (1) In the case of the PTME, so many clades had been entirely wiped out by the severity of the extinction that the few species of procolophonoids and dicynodonts that survived2,46 would likely have occupied a much reduced ecospace relative to the latest Permian. While procolophonoids began to decline in the Anisian, dicynodonts radiated alongside new rhynchosaurs and cynognathians. These clades came to dominate Middle Triassic herbivore guilds. (2) The CPE hit these dominant groups hard, with survivors hanging on in the peripheries of their former morphological and functional space (Fig. 5b). Through the Norian and Rhaetian, these taxa became further confined to extreme areas of morphospace, whilst new archosaurian herbivores radiated. (3) The TJE was a major blow for the last procolophonoids, dicynodonts and cynognathians, (rhynchosaurs having already succumbed to extinction in the early Norian), as well as the aetosaurs, which had been important elements within Norian faunas (Fig. 3c). We find that these taxa actually began to decline during the Norian (Fig. 5). The decline in these formerly dominant groups is mirrored by expansion of new dinosaur and mammalian herbivore clades. Despite also suffering through the latest Triassic, both groups radiated in the Early Jurassic, moving into space vacated by aetosaurs and cynognathians, respectively. The Early Jurassic fossil record is limited, but total herbivore shape and function space were later refilled by sauropodomorph and ornithischian dinosaurs, as well as new mammalian clades.
This pattern of marginalisation seen in both shape and function space (Fig. 5b) documents how stressed clades apparently ‘retreat’ into specialised niches at the periphery of their former occupancy. Sampling issues may confound observation of this pattern at stage level, but epoch-level comparisons of morphospace occupation highlights this pattern of declining disparity in certain clades through the Triassic (Fig. 6). This is seen three times through the Triassic and Early Jurassic, as the last parareptiles, rhynchosaurs and dicynodonts were pushed to peripheral positions in shape and function space after the rigours of the three mass extinction events (PTME, CPE, TJE). Likely then, the last survivors of each of these clades had become trophic specialists. As specialists, dicynodonts, hyperodapedontine rhynchosaurs and leptopleuronine procolophonids were potentially more constrained than the new archosaur herbivores in shifting their diets towards the new prevailing flora. Survivors became further entrenched within specialist niches and rare following the crises. In becoming highly specialised, these groups were forced along an evolutionary ratchet47 that amplified extinction risk as the environment changed and those niches disappeared. Specialists may outcompete generalists where high quality resources are readily available and stable48.
Consequently, this trophic specialism in combination with reduced abundance suggests this ‘ecological entrenchment’ is possibly correlated with geographic retrenchment to where preferred resources remained abundant, with the reduction in numbers and geographic spread exacerbating extinction risk49,50. ‘Marginal’ morphospace occupation may be followed by further restriction of MO to a smaller subset of morphospace (Figs. 5b and 6), which may relate to further ‘hyper-specialisation’ or perhaps the ongoing loss of refugia as conditions became increasingly adverse. Nonetheless, poor sampling is an acute issue, particularly as these clades approached extinction in the Late Triassic, so further study is required to test these tentative interpretations. Ecological entrenchment may have served to minimise competitive pressures and prolong survival in the face of increasingly heterogenous environmental conditions and new competitors that were able to better exploit predominant plant resources.
Extrinsic controls on herbivore macroevolution
Triassic climates oscillated between acute humid and extended dry phases51, and these fluctuations triggered widespread and significant remodelling of terrestrial floras5,52. Floral turnovers coincided with pulses of change in herbivore guilds. The transition from palaeophytic to mesophytic plant assemblages through the Ladinian and Carnian52 coincided with reduced morphospace packing by non-archosaurian herbivores (Figs. 3c and 5b). Herbivore functional diversity among dinosaurs and pseudosuchians expanded following the CPE. Widespread wetter climates in the CPE53,54 may have triggered radiations of Bennettitales, Gnetales, and modern ferns and conifers5, associated with the expansion of archosaurian herbivore diversity and taxon density within archosaur morphospace, which counter-intuitively reduced archosaur disparity (Fig. 5a). Increased morphospace packing by archosaurian herbivores (Fig. 5b) tentatively suggests that the increased prominence of some gymnosperms as arid conditions returned in the Norian52 may be linked to the survival of archosaur herbivores, particularly sauropodomorphs through the Carnian-Norian transition, whilst other herbivore groups perished.
The CPE was critical in triggering the decisive switch from dominance by therapsids as herbivores to the real beginning of the ‘age of dinosaurs’ (Figs. 3, 4, and 5). Before the CPE, rhynchosaurs and dicynodonts comprised 50–80% of individuals within well sampled faunas, whereas after the CPE they had dwindled to low abundance, and aetosaurs and sauropodomorph dinosaurs replaced them numerically, in some Norian faunas comprising 80–90% of individuals13. The TJE saw the end of aetosaurs, but sauropodomorphs continued to diversify and retained their ecological dominance as large herbivores, alongside the newly diversifying ornithischian dinosaurs.
The CPE did not cause the extinction of rhynchosaurs and dicynodonts but made them rare (Figs. 3 and 4). Rhynchosaurs went extinct in the early Norian55, whereas dicynodonts survived to the end of the Triassic, but at reduced diversity, abundance, and disparity56,57. This example shows the value of metrics of ecological abundance rather than species richness. Dicynodonts survived within wetter environments, even within dinosaur-dominated ecosystems58. Some of these latest taxa, such as Lisowicia bojani in Poland, even achieved huge body sizes that rivalled those of contemporaneous large sauropodomorphs19,59. The survival of kannemeyeriform dicynodonts might be because their typically large body sizes enabled them to explore wider geographic areas in search of suitable habitats. Nonetheless, they succumbed before the end of the Triassic alongside aetosaurs and cynognathian cynodonts4 (Fig. 3c). The end-Triassic saw widespread deforestation alongside a dramatic reorganisation of global floras that favoured ferns, at the expense of tropical flora60,61. Sparse floras dominated by ferns would have served as a poor food resource for large herbivores62 and therefore may be linked to the extinction of the aforementioned herbivore clades, which were largely low- to mid-level browsers.
We find that the largest episodes of morphospace expansion occur during the supposed recovery intervals of mass extinction events, with some surviving clades (particularly dinosaurs) showing much greater MO than before the extinction event (Fig. 5b). Morphospace expansion following the PTME occurs relatively quickly compared to the TJE, suggesting a relatively faster ecological recovery. Following the PTME and the loss of most species, total herbivore disparity and FFGs reached maximum levels in the Anisian, whereas following the TJE, the rebound in morphological diversity was modest, even by the end of the Early Jurassic. However, there is an edge effect here as we have not continued the analysis into the Middle Jurassic, and there may be sampling problems, as there are few well documented terrestrial tetrapod faunas in the Sinemurian and Pliensbachian. The inclusion of later dinosaur taxa and the overall diversification of dinosaurs in the Jurassic would likely yield a greater diversity of FFG in the later Jurassic than seen at the end of the Early Jurassic.
Furthermore, it is likely that the FFGs (light oral processors, shearing pulpers, and durophagous specialists) that disappeared within the Triassic would re-emerge as the climatic conditions stabilised from the end-Triassic event and terrestrial floras recovered52,54; the resurgence of floral diversity would likely have spurred new herbivorous diversification in both dinosaurs and mammals. The lost and depleted guilds identified here were likely restored as new dinosaurian and mammalian herbivores evolved through the later Mesozoic. Previous work highlights the prevalence of convergent evolution within dinosaurs24, and this is recognised here with repeated patterns of specialisation towards higher biting efficiency and greater oral processing in procolophonoids, rhynchosaurs, aetosaurs and ornithischians (Figs. 1 and 2). The prevalence of these patterns across quite phylogenetically distant clades emphasises that ecomorphs can disappear and reappear as conditions permit. This is further illustrated by the continuation of the prehension specialist FFG through the TJE with minimal change (Fig. 3b), despite the loss of its main constituent clade, the aetosaurs. The extinction of the aetosaurs in the TJE was offset by the emergence of heterodontosaurid ornithischians and likely later thyreophorans as the Jurassic progressed and they followed the common ‘herbivore adaptive pathway’ (Figs. 2 and 3c). Aetosaur-thyreophoran convergent evolution was not limited to jaw mechanics as ankylosaurs evolved similar armoured morphologies, and ecologies as large, quadrupedal, low-level feeders. However, these later thyreophorans developed more complex and powerful jaw mechanics30, allowing them to diverge from aetosaurs and exploit different niches as specialised herbivores.
Our study shows substantial ecological shifts occurred mostly at times of environmental instability, with only incremental development of ecospace during times of relative stability. This highlights a fluctuation between times of normal or ‘Red Queen’ evolution typified by adaptation to intrinsic pressures, punctuated by times of crisis or ‘Court Jester’ evolution, when large-scale extrinsic events provide the dominant selective pressures7. Our results confirm recent findings using model-based analyses that intrinsic, competitive interactions are the key to maintaining stasis within community assemblages through deep time48,63. Stasis is the norm, characterised by relatively stable climates and floras and honing of the adaptations of herbivores and slow expansion of morphospace occupation through biotic interaction. The environmental perturbations of the three global crises, all involving sharp global warming, extremes of humidity and aridity, and acid rain nearly but not quite killed off the dominant incumbent herbivores. The few survivors endured at the periphery of their former shape and function spaces, perhaps ecologically marginalised due to loss of food sources or because other surviving herbivores monopolised the newly prevalent vegetation. Episodes of instability mark a flip from dominance of competitive ability as the key driver of evolution to opportunism in perturbed times when the winners and losers might reflect entirely different selective advantages.
Taxonomic sampling and data collection
We compiled a list of all valid herbivorous tetrapod taxa from Early Triassic to Early Jurassic, using a published dataset64 and the latest literature to incorporate new taxa and taxonomic revisions. The stratigraphic ranges of these taxa (Supplementary Data 13) were updated to substage level following the designations of Benton et al.64. Absolute age assignments were based on the 2019 version of the International Chronostratigraphic Chart65,66. Assemblage data was gathered from Benton et al.13 for herbivore-rich early Mesozoic fossil localities and updated using published literature to include new taxa.
Our analysis was generally conducted at genus level to maintain a balance between availability of data and confidence in taxon diagnosis; in fact, most genera are monospecific. We generally used a single specimen per genus in this study, so we cannot account for varying levels of intraspecific variation; a true measure of total disparity would ideally include multiple specimens per taxon. Where intraspecific variation had been reported, we included more than one species for those genera, for example three species of the rhynchosaur Hyperodapedon: H. gordoni, H. huxleyi and H. sanjuanensis, from Europe, India, and South America, respectively, and four of Lystrosaurus: L. hedini, L. maccaigi, L. murrayi, and L. robustus from locations in China, South Africa and India. These were abundant and widespread taxa showing intrageneric shape variation. We also included all available cynognathian cynodonts, as some genera characterised as carnivores were found by isotopic analysis to have also fed on vegetation67, so omnivory may have been common within this group.
We compiled photographs and specimen drawings for 128 genera from the literature, taking care to exclude damaged, distorted, and juvenile material. These represent all taxa for which there is sufficient data for inclusion. The sample of 136 images includes 23 procolophonoid parareptiles, 22 dicynodont anomodonts, 17 cynognathian cynodonts, six tritylodont mammals, three bauriid therocephalians, seven ornithischian and 29 sauropodomorph dinosaurs, two silesaurids, eight aetosaurs, four pseudosuchians, and 15 non-archosaur archosauromorphs (Supplementary Data 12).
Geometric and functional morphometrics
We used both geometric morphometric (GM) and functional morphometric (FM) methods to generate a detailed account of morphological and functional evolution in herbivorous tetrapod jaws. Using both methods allows for examination of changes in mandibular morphology alongside (clearly defined) biomechanical utility. GM methods capture the overall shape of the element of interest and FM methods capture biomechanical properties of the element and can thus give insight into function. These two methods can, but do not necessarily overlap in their results, since shape variation may be non-independent of some functional traits. Using both types of metric also allowed us to account for discrepancies between biomechanical and morphological patterns of disparity68,69. GM methods assess shape variation via user-defined landmarks and Cartesian coordinates, whereas FM methods use continuous functional measurements such as mechanical advantage (MA) and aspect ratio, which reflect biting efficiency and jaw robusticity, respectively70,71. We used both Procrustes aligned landmark data and standardised functional measurement data (SFMD) that were selected from previous studies of tetrapod feeding morphology69,70,71,72.
Herbivorous tetrapods encompass a wide range of mandible morphologies making it difficult to identify more than a small number of homologous landmark points. We opted for a relaxed landmarking regime, in which we used four fixed landmarks connected with four semi-landmarked curves comprising of 55 semi-landmarks in total (Supplementary Fig. 1). Hence, our landmarking regime focuses on overall shape (type 2 landmarking), rather than contacts between bones of the mandible (type 1 landmarking). Type 1 landmarking was impractical as contacts were not clearly visible across our specimens due to the aforementioned shape variability, and homologies were hard to ascertain because of the wide phylogenetic range of the included genera.
Images were digitally landmarked using tpsDig273, with fixed landmarks placed at homologous points on each mandible and semi-landmarks equally spaced along curves between the fixed landmarks. We used tpsUtil74 to enable semi-landmarks to slide along their respective curves during the Procrustes transformation using the chord–min d2 sliding method that allows each semi-landmark to slide along a chord between the two adjacent landmarks. Procrustes transformation was carried out using tpsRelW75 to remove the effects of mandible size and orientation from the landmark data and to generate aligned coordinates (Supplementary Data 1).
We collected data for eight functional characters using measurements taken from our mandible images (Supplementary Table 1, Supplementary Fig. 2, and Supplementary Data 2). These measurements, taken with ImageJ76, were chosen specifically to capture biomechanically relevant components of mandible shape, especially areas of muscle attachment, articulation, and overall mandible shape that have a known relationship to feeding ecology69,70,71,72. Variables that are not closely associated with biomechanical properties were purposefully excluded. (See Supplementary Fig. 2. For full details of how these measurements were collected.)
Principal component analysis
To identify the major axes of variation, the shape-aligned coordinate data and functional measurement matrix were subjected to principal component analyses (PCAs). A PCA transforms total variation into a matrix of independent variables (PC axes) (Supplementary Data 3 and 4). For the PCA analyses, we used packages in R77 (R Core Team, 2018), including geomorph78 for the aligned coordinate data and FactoMineR79, to centre and apply a z-transformation to the functional measurements prior to a PCA following established protocols24,70. An alternative PCA was carried out using an alternative data standardisation to assess the robusticity of the PCA results reported above (see supplement). The resulting morphospaces are different (Supplementary Fig. 5), likely as a result of the different treatment of the underlying trait data, but the overall results remain consistent across all methods and do not change the broader findings presented here.
The first and second principal components were used to plot morphospace occupation, with these components amounting to 32% and 14% of total shape variation, and 42% and 16% of total functional variation, respectively, constituting the maximum morphological variation within two components. Functional character contour plots were generated using the akima package80, with linear interpolation of functional and PC data for all taxa generating functional data for all areas of occupied morphospace.
Our goal was to empirically identify distinct clusters that represent differentiated dietary niches as can be recognised in fossils with as little ambiguity as possible. To accomplish this, we employed several different clustering analyses, each with its own analytical strategy, and looked for clusters that were common to them all with the intention of defining groups that can be easily recovered no matter what method is employed. We used the SFMD to define functional feeding groups (FFGs) because these traits have known links to feeding ecology and diet in extant taxa81, hence allowing us to interpret differences in disparity from an eco-functional perspective rather than more ambiguous comparisons of shape. It should be noted that our functional characters include some that are based on functionally important aspects of shape, which could lead to some similarities if the cluster analyses were applied to shape rather than functional data. However, landmark data encapsulates a greater level of shape detail and disregards aspects such as muscle attachment positions, and so we expect a decoupling between the results of cluster analyses run using either the functional or shape landmark as seen in other comparative studies of form and function69.
Boundaries between dietary niches, particularly when dealing with extinct taxa, are increasingly ambiguous beyond broader groupings such as herbivore or carnivore, and generalist or specialist. Realised niches often vary due to factors such as the conspecifics present and available resources82,83. As such, we employ hierarchical and two partition clustering methods: K-means and partitioning around medioids (PAM)84. These methods group taxa into clearly defined ‘hard’ clusters using machine-learning algorithms that require minimal prior input, thus bolstering the objectivity of resulting cluster groups. All analyses are unsupervised and use different clustering algorithms, which complement each other when used in combination. Agglomerative hierarchical clustering is a distance-based method that uses a ‘bottom-up’ approach to assign taxa to progressively larger groupings, whereas K-means and PAM are partition methods that use randomly selected centroids/medoids to assemble optimal cluster configurations based on cluster cohesion and separation84. K-means clustering focuses on minimising the sum of squared Euclidean distances and uses artificial centroids, whilst PAM tries to minimise the sum of general pairwise dissimilarities and uses real data-points (medoids) as the centroids and is also considered more robust to outliers and noise within the data85. These methods complement each other as K-means may better identify the core taxa in each FFG, but struggle with classifying peripheral taxa, but PAM can recover irregular cluster configurations, which may more accurately reflect niche-spaces within the overall morphospace. The hierarchical cluster analysis forms a tree based on phenetic similarities, assuming a parsimonious regime of trait evolution.
The three separate analyses were applied to a Euclidean distance matrix generated using the SFMD. Using Euclidean distances is an appropriate choice given our continuous multivariate dataset and the aim to use the magnitude of differences between taxa to determine separate groups, as well as enabling use of subsequent partition clustering methods. The hierarchical analysis was carried out first to explore the clustering present within our taxa as the agglomerative process enables identification of the clusters and subclusters present, as well as the degree of separation between these groupings. These results inform the subsequent K-means and PAM analyses, which both require a user-defined range of cluster combinations to test85. The cluster analyses were run in R using the ‘eclust’ function from the factoextra package86, with the partition methods identifying the optimal number of clusters from within our defined cluster (K) range (4–10) using gap statistic values generated from 2000 bootstrap cycles. The hierarchical analysis was also rerun using the defined K range to generate clear cluster classifications. The results from these three cluster analyses (Supplementary Data 5) were validated using the ‘cluster.stats’ function from the fpc R package87. Resulting cluster ‘silhouette’ metrics84 (Supplementary Table 5) show that all three cluster methods performed fairly equally, so all three cluster analysis results were used to generate composite groups to act as our FFGs, based on patterns of consensus in the distribution of taxa across clusters (Supplementary Data 5). Where possible, we used lower-level taxonomic groupings to increase FFG assignment accuracy. FFGs were assigned to clades based on which groups held the majority of a clade’s taxa. This approach enabled us to better compare taxa in different assemblages in the later assessment of potential competition. This coarse classification scheme may conceal the true levels of feeding diversity present, but because many assemblages feature taxa not included in this analysis, we felt that this cautious approach would ensure a more robust assessment of potential competition. Further study utilising new and alternative aspects of feeding anatomy (such as dentition) may enable higher resolution classification of feeding diversity in future.
A disproportionately large number of (predominantly sauropsid) taxa were recovered within a single cluster group, and while we termed this group ‘ingestion generalists’, we felt this grouping provided little diagnostic use as an FFG in our investigations of potential competition. Therefore, we re-ran the above cluster procedures using only the ingestion generalist taxa in an attempt to recover more details of potential clade-level competition, and we then identified three FFsGs (basal generalists, tough generalists, and light oral processors).
We further tested the robusticity of our FFGs by running the above cluster analyses and FFG construction using data subject to alternative standardisation (see supplement). The resulting FFGS show some classification differences within the sauropsids and a shift in the boundary of the ingestion generalists and prehension specialists (Supplementary Data 15–16 and Supplementary Fig. 6). These differences reflect the strong levels of morphological conservatism within the sauropsids and key changes in the relative importance of our functional characters. However, the core assortment of taxa in each FFG largely remains and the alternative FFG results do not change the conclusions presented here.
Calculations of disparity through time
Disparity is a measure of morphological diversity that is calculated using the volume and extent of morphospace occupation. To explore patterns of shape and functional disparity, we calculated within‐time‐bin mean pairwise distances (MPD) (henceforth variances) using a Euclidean distance matrix generated from the aligned landmark data. MPD is a fairly conservative measure of disparity and although it may not fully illustrate the extent of occupied morphospace, it is resistant to sample size inconsistencies and an effective metric for measuring relative changes in morphospace88, which is of key interest to this study. We used 1000 cycles of bootstrapping to provide 95% confidence intervals. Our plots were generated in R using the calibrate package89. ‘Morphospace packing’ (increasing density within morphospace) has been shown to reduce disparity by lowering the average dissimilarity, despite the overall morphospace area/volume remaining stable90,91. Consequently, we plotted MPD alongside substage level, time-slices of morphospace in order to avoid misinterpreting the disparity results.
To quantitatively assess the significance of changes in morphospace through time, a one-way non-parametric analysis of variance (NPMANOVA) using a Euclidean similarity index was applied at epoch and stage level in PAST92 (version 3.24) to the aligned landmark shape data and functional SFMD. Bonferroni corrections were also applied owing to the multiple comparisons carried out.
Calculations of divergence through time
To quantify the contrasting eco-evolutionary trajectories of the three main clades analysed here (Archosauromorpha, Therapsida and Parareptilia), we calculated the mean shape and functionality for each clade at stage level using the aligned landmark shape data and functional SFMD. The mean values were subsequently used to generate Euclidean distance matrixes for the shape and functional data, respectively.
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
The authors declare that all the data directly supporting the results of this study and underlying all figures are included within the supplementary data files linked to this paper and are also available at https://doi.org/10.5061/dryad.0cfxpnw24.
The authors have included R scripts to perform the analyses used in this study within Supplementary Note 2.
Van Valen, L. M. A resetting of Phanerozoic community evolution. Nature 307, 50–52 (1984).
Benton, M. J., Tverdokhlebov, V. P. & Surkov, M. V. Ecosystem remodelling among vertebrates at the Permian-Triassic boundary in Russia. Nature 432, 97–100 (2004).
Benton, M. J. The Triassic. Curr. Biol. 26, 1214–1218 (2016).
Sues, H. D. & Fraser, N. C. Triassic Life on Land: the Great Transition (Columbia Univ. Press, New York, 2010).
Kustatscher, E. et al. The Late Triassic World. 545–622 (Springer, Cham, 2018).
Benton, M. J. Progress and competition in macroevolution. Biol. Rev. 62, 305–338 (1987).
Benton, M. J. The Red Queen and the Court Jester: species diversity and the role of biotic and abiotic factors through time. Science 323, 728–732 (2009).
Charig, A. J. Competition between therapsids and archosaurs during the Triassic period: a review and synthesis of current theories. Symp. Zool. Soc. Lond. 52, 597–628 (1984).
Bakker, R. T. Anatomical and ecological evidence of endothermy in dinosaurs. Nature 238, 81–85 (1972).
Zawiskie, J. M. in The Beginning of the Age of Dinosaurs: Faunal Change Across the Triassic-Jurassic Boundary (eds Padian, K.) 353–362. (Cambridge Univ. Press, Cambridge, 1986).
Benton, M. J. Dinosaur success in the Triassic: a noncompetitive ecological model. Q. Rev. Biol. 58, 29–55 (1983).
Bernardi, M., Gianolla, P., Petti, F. M., Mietto, P. & Benton, M. J. Dinosaur diversification linked with the Carnian Pluvial Episode. Nat. Commun. 9, 1499 (2018).
Benton, M. J., Bernardi, M. & Kinsella, C. The Carnian Pluvial Episode and the origin of dinosaurs. J. Geol. Soc. 175, 1019–1026 (2018).
Brusatte, S. L., Benton, M. J., Ruta, M. & Lloyd, G. T. The first 50 Myr of dinosaur evolution: macroevolutionary pattern and morphological disparity. Biol. Lett. 4, 733–736 (2008).
Ezcurra, M. D. & Butler, R. J. The rise of the ruling reptiles and ecosystem recovery from the Permo–Triassic mass extinction. Proc. R. Soc. B Biol. Sci. 285, 20180361 (2018).
Sookias, R. B., Butler, R. J. & Benson, R. B. Rise of dinosaurs reveals major body–size transitions are driven by passive processes of trait evolution. Proc. R. Soc. B Biol. Sci. 279, 2180–2187 (2012).
Allen, B. J., Stubbs, T. L., Benton, M. J. & Puttick, M. N. Archosauromorph extinction selectivity during the Triassic-Jurassic mass extinction. Palaeontology 62, 211–224 (2019).
Nesbitt, S. J. et al. The earliest bird-line archosaurs and the assembly of the dinosaur body plan. Nature 544, 484–487 (2017).
Sulej, T. & Niedźwiedzki, G. An elephant-sized Late Triassic synapsid with erect limbs. Science 363, 78–80 (2019).
Pringle, R. M., Palmer, T. M., Goheen, J. R., McCauley, D. J. & Keesing, F. in Conserving Wildlife in African Landscapes: Kenya’s Ewaso Ecosystem (ed. Geordiadis, N. J.), 55–71 (Smithsonian Institution Scholarly Press, 2011).
Benton, M. J., Forth, J. & Langer, M. C. Models for the rise of the dinosaurs. Curr. Biol. 24, 87–95 (2014).
Weishampel, D. B. & Norman, D. B. in Paleobiology of the Dinosaurs. (eds Farlow, J. O.) 87–100 (Geological Society of America, 1989).
Fritz, J. et al. Gizzard vs. teeth, it’s a tie: food-processing efficiency in herbivorous birds and mammals and implications for dinosaur feeding strategies. Paleobiology 37, 577–586 (2011).
Button, D. J. & Zanno, L. E. Repeated evolution of divergent modes of herbivory in non–avian dinosaurs. Curr. Biol. 30, 158–168 (2020).
Caumul, R. & Polly, P. D. Phylogenetic and environmental components of morphological variation: skull, mandible, and molar shape in marmots (Marmota, Rodentia). Evolution 59, 2460–2472 (2005).
Raia, P., Carotenuto, F., Meloro, C., Piras, P. & Pushkina, D. The shape of contention: adaptation, history, and contingency in ungulate mandibles. Evolution 64, 1489–1503 (2010).
Olson, E. C. Jaw mechanisms: rhipidistians, amphibians, reptiles. Am. Zool. 1, 205–215 (1961).
Janis, C. M. & Keller, J. C. Modes of ventilation in early tetrapods: costal aspiration as a key feature of amniotes. Acta Palaeontol. Pol. 46, 137–170 (2001).
Sues, H. D. & Reisz, R. R. Origins and early evolution of herbivory in tetrapods. Trends Ecol. Evol. 13, 141–145 (1998).
Nabavizadeh, A. Cranial musculature in herbivorous dinosaurs: a survey of reconstructed anatomical diversity and feeding mechanisms. Anat. Rec. 303, 1104–1145 (2020).
Hutchinson, G. E. Homage to Santa Rosalia or why are there so many kinds of animals? Am. Nat. 93, 145–159 (1959).
Finke, D. L. & Snyder, W. E. Niche partitioning increases resource exploitation by diverse communities. Science 321, 1488–1490 (2008).
Hardin, G. The competitive exclusion principle. Science 131, 1292–1297 (1960).
MacArthur, R. H. Geographical Ecology: Patterns in the Distribution of Species (Princeton Univ. Press, Princeton, 1972).
Tilman, D. Resource Competition and Community Structure (Princeton Univ. Press, 1982).
Keyser, A. W. Evolutionary trends in Triassic Dicynodontia. Palaeontol. Afr. 17, 57–68 (1974).
Benton, M. J. Tooth form, growth, and function in Triassic rhynchosaurs (Reptilia, Diapsida). Palaeontology 27, 737–776 (1984).
McPhee, B. W., Bonnan, M. F., Yates, A. M., Neveling, J. & Choiniere, J. N. A new basal sauropod from the pre-Toarcian Jurassic of South Africa: evidence of niche–partitioning at the sauropodomorph-sauropod boundary? Sci. Rep. 5, 13224 (2015).
McPhee, B. W., Benson, R. B., Botha–Brink, J., Bordy, E. M. & Choiniere, J. N. A giant dinosaur from the earliest Jurassic of South Africa and the transition to quadrupedality in early sauropodomorphs. Curr. Biol. 28, 3143–3151 (2018).
Hoffman, D. K., Edwards, H. R., Barrett, P. M. & Nesbitt, S. J. Reconstructing the archosaur radiation using a Middle Triassic archosauriform tooth assemblage from Tanzania. PeerJ 7, e7970 (2019).
White, E. P., Ernest, S. M., Kerkhoff, A. J. & Enquist, B. J. Relationships between body size and abundance in ecology. Trends Ecol. Evol. 22, 323–330 (2007).
Lungmus, J. K. & Angielczyk, K. D. Antiquity of forelimb ecomorphological diversity in the mammalian stem lineage (Synapsida). Proc. Natl Acad. Sci. USA 116, 6903–6907 (2019).
Patterson, B. D., Willig, M. R. & Stevens, R. D. in Bat Ecology (eds Kunz T. H. & Fenton M. B.)., 536–557. (Univ. Chicago Press, 2003).
Payne, J. L. et al. perturbations of the carbon cycle during recovery from the end–Permian extinction. Science 305, 506–509 (2004).
Chen, Z. Q. & Benton, M. J. The timing and pattern of biotic recovery following the end–Permian mass extinction. Nat. Geosci. 5, 375 (2012).
Fröbisch, J. Global taxonomic diversity of anomodonts (Tetrapoda, Therapsida) and the terrestrial rock record across the Permian-Triassic boundary. PLoS ONE 3, e3733 (2008).
Van Valkenburgh, B., Wang, X. & Damuth, J. Cope’s rule, hypercarnivory, and extinction in North American canids. Science 306, 101–104 (2004).
Ramiadantsoa, T., Hanski, I. & Ovaskainen, O. Responses of generalist and specialist species to fragmented landscapes. Theor. Popul. Biol. 124, 31–40 (2018).
Gaston, K. J. Species–range size distributions: products of speciation, extinction and transformation. Philos. Trans. R. Soc. B 353, 219–230 (1998).
Dunhill, A. M. & Wills, M. A. Geographic range did not confer resilience to extinction in terrestrial vertebrates at the end-Triassic crisis. Nat. Commun. 6, 7980 (2015).
Preto, N., Kustatscher, E. & Wignall, P. B. Triassic climates– state of the art and perspectives. Palaeogeogr. Palaeoclimatol. Palaeoecol. 291, 1–10 (2010).
Cascales–Miñana, B. & Cleal, C. J. Plant fossil record and survival analyses. Lethaia 45, 71–82 (2012).
Baranyi, V., Miller, C. S., Ruffell, A., Hounslow, M. W. & Kürschner, W. M. A continental record of the Carnian Pluvial Episode (CPE) from the Mercia Mudstone Group (UK): palynology and climatic implications. J. Geol. Soc. 176, 149–166 (2019).
Simms, M. J. & Ruffel, A. H. Climatic and biotic change in the late Triassic. J. Geol. Soc. 147, 321–327 (1990).
Ezcurra, M. D., Montefeltro, F. & Butler, R. J. The early evolution of rhynchosaurs. Front. Ecol. Evol. 3, 142 (2016).
Ruta, M., Angielczyk, K. D., Fröbisch, J. & Benton, M. J. Decoupling of morphological disparity and taxic diversity during the adaptive radiation of anomodont therapsids. Proc. R. Soc. B Biol. Sci. 280, 20131071 (2013).
Racki, G. & Lucas, S. G. Timing of dicynodont extinction in light of an unusual Late Triassic Polish fauna and Cuvier’s approach to extinction. Hist. Biol. 32, 452–461 (2018).
Dzik, J., Sulej, T. & Niedźwiedzki, G. A dicynodont–theropod association in the latest Triassic of Poland. Acta Palaeontol. Pol. 53, 733–739 (2008).
Romano, M. & Manucci, F. Resizing Lisowicia bojani: volumetric body mass estimate and 3D reconstruction of the giant Late Triassic dicynodont. Hist. Biol. 32, 452–461 (2020).
van de Schootbrugge, B. et al. Floral changes across the Triassic/Jurassic boundary linked to flood basalt volcanism. Nat. Geosci. 2, 589–594 (2009).
McElwain, J. C., Beerling, D. J. & Woodward, F. I. Fossil plants and global warming at the Triassic-Jurassic boundary. Science 285, 1386–1390 (1999).
Soh, W. K. et al. Palaeo leaf economics reveal a shift in ecosystem function associated with the end-Triassic mass extinction event. Nat. Plants 3, 17104 (2017).
Roopnarine, P. D., Angielczyk, K. D., Weik, A. & Dineen, A. Ecological persistence, incumbency and reorganization in the Karoo Basin during the Permian-Triassic transition. Earth–Sci. Rev. 189, 244–263 (2019).
Benton, M. J., Ruta, M., Dunhill, A. M. & Sakamoto, M. The first half of tetrapod evolution, sampling proxies, and fossil record quality. Palaeogeogr. Palaeoclimatol. Palaeoecol. 372, 18–41 (2013).
Cohen, K. M., Finney, S. C., Gibbard, P. L. & Fan, J. X. The ICS international chronostratigraphic chart. Episodes 36, 199–204 (2013).
Cohen, K. M., Harper, D. A. T., Gibbard, P. L. & Fan, J. X. ICS International Chronostratigraphic Chart 2019/05. www.stratigraphy.org (International Commission on Stratigraphy, IUGS, 2019).
Botha, J., Lee-Thorp, J. & Chinsamy, A. The palaeoecology of the non-mammalian cynodonts Diademodon and Cynognathus from the Karoo Basin of South Africa, using stable light isotope analysis. Palaeogeogr. Palaeoclimatol. Palaeoecol. 223, 303–316 (2005).
Anderson, P. S., Friedman, M., Brazeau, M. D. & Rayfield, E. J. Initial radiation of jaws demonstrated stability despite faunal and environmental change. Nature 476, 206–209 (2011).
Stubbs, T. L., Pierce, S. E., Rayfield, E. J. & Anderson, P. S. Morphological and biomechanical disparity of crocodile-line archosaurs following the end-Triassic extinction. Proc. R. Soc. B Biol. Sci. 280, 20131940 (2013).
Button, D. J., Rayfield, E. J. & Barrett, P. M. Cranial biomechanics underpins high sauropod diversity in resource–poor environments. Proc. R. Soc. B Biol. Sci. 281, 20132114 (2014).
MacLaren, J. A., Anderson, P. S., Barrett, P. M. & Rayfield, E. J. Herbivorous dinosaur jaw disparity and its relationship to extrinsic evolutionary drivers. Paleobiology 43, 15–33 (2017).
Sakomoto, M. Jaw biomechanics and the evolution of biting performance in theropod dinosaurs. Proc. R. Soc. B Biol. Sci. 277, 3327–3333 (2010).
Rohlf, F. tpsDig v.2.16 (Department of Ecology and Evolution, State Univ. New York at Stony Brook, 2010).
Rohlf, F. tpsUTIL v.1.56 (Department of Ecology and Evolution, State Univ. New York at Stony Brook, 2013).
Rohlf, F. J., tpsRelw, version 1.49 (Department of Ecology and Evolution, State University of New York, Stony Brook, 2015).
Schneider, C. A., Rasband, W. S. & Eliceiri, K. W. NIH Image to ImageJ: 25 years of image analysis. Nat. Methods 9, 671 (2012).
Adams, D. C. & Otárola‐Castillo, E. geomorph: an R package for the collection and analysis of geometric morphometric shape data. Methods Ecol. Evol. 4, 393–399 (2013).
R Core Team. R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2018); http://www.R-project.org/
Le, S., Josse, J. & Husson, F. FactoMineR: an R package for multivariate analysis. J. Stat. Softw. 25, 1–18 (2008).
Akima, H. & Albrecht Gebhardt, A. akima: interpolation of Irregularly and Regularly Spaced Data. R package version 0.6-2. https://CRAN.R-project.org/package=akima (2016).
Wainwright, P. C. Functional versus morphological diversity in macroevolution. Annu. Rev. Ecol. Evol. Syst. 38, 381–401 (2007).
Shipley, L. A., Forbey, J. S. & Moore, B. D. Revisiting the dietary niche: when is a mammalian herbivore a specialist? Integr. Comp. Biol. 49, 274–290 (2009).
Abraham, J. O., Hempson, G. P. & Staver, A. C. Drought‐response strategies of savanna herbivores. Ecol. Evol. 9, 7047–7056 (2019).
Kaufman, L. & Rousseeuw, P. J. Finding Groups in Data: an Introduction to Cluster Analysis. Vol. 344 (John Wiley & Sons, Hoboken, 2009).
Madhulatha, T. S. Comparison between k-means and k-medoids clustering algorithms. International Conference on Advances in Computing and Information Technology 472–481. (Springer, Heidelberg, 2011).
Kassambara, A. & Mundt, F. factoextra: extract and visualize the results of multivariate data analyses. R package version 105, https://CRAN.R-project.org/package=factoextra (2017).
Hennig, C. fpc: flexible procedures for clustering. R package version 2.2.3, https://CRAN.R-project.org/package=fpc (2019).
Ciampaglio, C. N., Kemp, M. & McShea, D. W. Detecting changes in morphospace occupation patterns in the fossil record: characterization and analysis of measures of disparity. Paleobiology 27, 695–715 (2001).
Graffelman, J. calibrate: calibration of scatterplot and biplot axes. R package version 1.7.2., https://CRAN.R-project.org/package=calibrate (2013).
Smithwick, F. M. & Stubbs, T. L. Phanerozoic survivors: actinopterygian evolution through the Permo‐Triassic and Triassic‐Jurassic mass extinction events. Evolution 72, 348–362 (2018).
Nordén, K. K., Stubbs, T. L., Prieto-Márquez, A. & Benton, M. J. Multifaceted disparity approach reveals dinosaur herbivory flourished before the end–Cretaceous mass extinction. Paleobiology 44, 620–637 (2018).
Hammer, Ø., D. Harper, A. T. & Ryan, P. D. Paleontological statistics software package for education and data analysis. Palaeontologia Electron. 4, 9 (2001).
Anderson, H. M. & Holmes, W. B. K. Stems with attached Dicroidium leaves from the Ipswich Coal Measures, Queensland, Australia. Mem. Queensl. Mus. 52, 1–12 (2008).
Dilcher, D. L., Lott, T. A., Wang, X. & Wang, Q. in Forest Canopies (eds Lowman, M. D. & Rinker, H. B.) 118–137 (Elsevier, Amsterdam, 2004).
We thank David Button for help in data collection early in this project, and Christine Janis for providing literature and constructive commentary. All silhouettes were created by S.S., but some are vectorised from artwork by Felipe Alves Elias (https://www.paleozoobr.com/) and Jeff Martz (United States National Park Service), available for academic use with attribution. Consequently, we thank both artists for enabling academic use of their excellent artwork. Funded in part by the NERC BETR grant NE/P013724/1 and ERC grant 788203 (Innovation) to M.J.B., NERC grants NE/L002434/1 and NE/P013724/1 to A.E., and by a University of Bristol Faculty of Science Ph.D Studentship to S.S.
The authors declare no competing interests.
Peer review information Nature Communications thanks Caleb Brown, Nicolas Campione, Max Langer and P David Polly for their contribution to the peer review of this work.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Singh, S.A., Elsler, A., Stubbs, T.L. et al. Niche partitioning shaped herbivore macroevolution through the early Mesozoic. Nat Commun 12, 2796 (2021). https://doi.org/10.1038/s41467-021-23169-x
This article is cited by
Scientific Reports (2023)