Azendohsaurus

Azendohsaurus is an extinct genus of herbivorous archosauromorph reptile from roughly the late Middle to early Late Triassic Period of Morocco and Madagascar. The type species, Azendohsaurus laaroussii, was described and named by Jean-Michel Dutuit in 1972 based on partial jaw fragments and some teeth from Morocco. A second species from Madagascar, A. madagaskarensis, was first described in 2010 by John J. Flynn and colleagues from a multitude of specimens representing almost the entire skeleton. The generic name "Azendoh lizard" is for the village of Azendoh, a local village near where it was first discovered in the Atlas Mountains. It was a bulky quadruped that unlike other early archosauromorphs had a relatively short tail and robust limbs that were held in an odd mix of sprawled hind limbs and raised forelimbs. It had a long neck and a proportionately small head with remarkably sauropod-like jaws and teeth.

Azendohsaurus used to be classified as a herbivorous dinosaur, at first as an ornithischian but more often as a "prosauropod" sauropodomorph. This was based only on its jaws and teeth, which share derived features typically found in herbivorous dinosaurs. The complete skeletal material from Madagascar, however, revealed more basal characteristics ancestral to Archosauromorpha and that Azendohsaurus was not a dinosaur at all. Instead, Azendohsaurus was actually a more primitive archosauromorph that had convergently evolved many features of the jaws and skeleton shared with the later giant sauropod dinosaurs. It was found to be a member of a newly recognised group of specialised, mostly herbivorous archosauromorphs that was named the Allokotosauria. It is also the namesake and typifier of its own family of allokotosaurs, the Azendohsauridae; initially the only member, the family now includes other similar allokotosaurs, such as the larger, horned azendohsaurid Shringasaurus from India.

Several other groups of archosauromorphs also adapted to herbivory in the Triassic, sometimes with dinosaur-like teeth that also caused confusion in their classification. Azendohsaurus is notable, however, for also convergently evolving a similar body shape to sauropodomorphs in addition to its jaws and teeth. Azendohsaurus and sauropodomorphs likely independently evolved to fill a similar ecological niche as long-necked, relatively high browsing herbivores in their environments. However, Azendohsaurus predates the large Late Triassic sauropodomorphs it resembles by several million years, and did not evolve similar body plans under the same environmental conditions. It may then have been one of the first herbivores to fill the high-browsing role that only large sauropodomorphs were thought to occupy during the Triassic, expanding the known ecological diversity of herbivorous archosauromorphs outside of dinosaurs in the Triassic Period. Azendohsaurus is also significant as it may be one of the earliest endothermic archosauromorphs known, and suggests that a warm-blooded metabolism was ancestral to the later archosaurs, including the dinosaurs.

Description
Azendohsaurus was a stocky mid-sized reptile estimated to be roughly  long. It had a small, box-shaped head with a short snout on a long neck that was raised above the shoulders. The body was broad, with a barrel-shaped chest and shoulders much taller than the hips, together with an unusually short tail. Its posture was semi-sprawled, with sprawling hind limbs and slightly elevated forelimbs. The limbs themselves are relatively short and particularly robust, with digits that are shorter and stouter compared to other early archosauromorphs, each with notably large, curved claws on all four feet. Superficially its appearance is comparable to that of sauropodomorph dinosaurs, along with various details of its skeleton, suggesting Azendohsaurus converged on similar traits for a relatively high-browsing, herbivorous lifestyle. A. laaroussii is poorly known compared to A. madagaskarensis, and the two species are only known to differ in minor details of the jaw bones and teeth. Additional skeletal material of A. laaroussii has been reported from the type locality of the original skull fragments, but have yet to be formally described as of 2015.

Skull

The skull of A. madagaskarensis is almost completely known, and is robustly built with a short and boxy shape and a deep snout. The premaxillae are gently curved at the front of the upper jaw, forming a blunt, round snout tip, while the lower jaws have a deep, down-turned tip like those of sauropods. The bony nostrils are fused into a single (confluent) opening that faces forwards at the front of the snout, similar to those of rhynchosaurs.

The skull has a number of traits convergent with sauropodomorphs, including the downward curving dentary, a robust dorsal process of the maxilla, and several features of the teeth. The process on the maxilla usually indicates the presence of an antorbital fenestra in archosauriforms, but in Azendohsaurus this space is occupied by the lacrimal bone in front of the eyes. This is a unique arrangement unknown in other Triassic archosauromorphs, except for the related Shringasaurus. The orbits are almost entirely occupied by the large sclerotic rings, suggesting large eyes. The lower temporal fenestra is open at the bottom, separating the jugal and the quadratojugal bones (a primitive trait for archosauromorphs). Also like other early archosauromorphs, Azendohsaurus has a small (3–5 mm across) parietal foramen ("third eye") on the roof of the skull.

The lower jaw is especially convergent with those of sauropodomorphs, with an articular joint where the jaw hinges positioned below the level of the tooth row and downward curving dentaries, as well as the similarly shaped teeth. These features are variously found in other herbivorous Triassic archosauromorphs, but this combination is only known in Azendohsaurus and sauropodomorphs.

The teeth are all roughly leaf-shaped (lanceolate) with expanded crowns and bulbous bases that are fused to the jaw bones (ankylothecodont). However, the upper and lower teeth are distinctly heterodont, and can be readily distinguished from each other. The upper teeth are relatively short and broad at their base, with 4–6 denticles on each surface, similar to ornithischians; the lower teeth are almost twice as tall and have twice as many denticles, more closely resembling the teeth of sauropodomorphs. The four premaxillary teeth are the longest teeth in the upper jaw, and are more recurved back in shape than the rest.

The palate is unusually covered in numerous fully developed palatal teeth, with up to four sets on the pterygoid and additional rows on the palatine and vomers. Mature Azendohsaurus madagaskarensis have at least 44 pairs of palatal teeth, in addition to the 4 teeth in each premaxilla and 11–13 in the maxilla each, along with a maximum of 17 teeth in the dentary. Palatal teeth are not uncommon in herbivorous reptiles, but in Azendohsaurus they are almost identical in shape to those along the jaw margins, but a bit stouter. Other archosauromorphs with palatal teeth have a much simpler palatal dentition of small, domed teeth. Teraterpeton is the only other archosauromorph with similarly well developed palatal teeth.

The only described material of A. laaroussii are dentaries, maxillae, a premaxilla and several teeth. They broadly resemble A. madagaskarensis in general form but with a few distinguishing differences. The tooth count of A. laaroussii is higher, with 15–16 teeth in the maxilla compared to the 11–13 of A. madagaskarensis. The teeth of A. laaroussii are also taller than those of A. madagaskarensis and have more closely packed denticles. Further distinguishing the two species is the presence of a prominent keel on the inside surface of the maxilla. This keel runs the whole length of the maxilla in A. laaroussii, but is only found along the back half of it in A. madagaskarensis. Any other possible differences between the two species cannot be determined without rest of the skull and skeleton.

Skeleton
All the known post-cranial information for the skeleton of Azendohsaurus comes from A. madagaskarensis. Much of the vertebral column is known in Azendohsaurus, and although incomplete, it is estimated to have 24 presacral vertebrae (including the atlas and axis). The sacrum of the hips has only two vertebrae, and the full number of caudal vertebrae in the tail is unknown, but it is estimated to be only around 45–55 (low for an archosaur).

The cervical vertebrae change shape down the neck, beginning as characteristically elongated with long and low neural spines, and getting progressively shorter in length towards the base of the neck, but with increasingly taller and narrower neural spines. This shortening is seen in the necks of other allokotosaurs like Trilophosaurus, but is not found in other long-necked archosauromorphs (e.g. the middle cervicals are the longest in tanystropheids). The neck would have been held raised up above the body, indicated by the inclined angle of the zygapophyses that connect each vertebra, as well as the front zygapophyses of each vertebra being higher than those at the back. The neck was also likely held in a gentle arc, based on an articulated set of cervicals in this position.

The dorsal vertebrae of the back generally resemble the last cervicals, with tall, vertical neural spines. These vertebrae also decrease in length down the back, but less dramatically than in the neck. The last dorsal is unique, however, as it has a neural spine angled forward. Of the two sacrals, the first vertebra is larger and more robust, with a tall neural spines over its rear half. Both sacrals have large ribs completely fused to the vertebrae that articulate with the ilia (see below).

The caudal vertebrae resemble the other vertebrae, but with backward inclined neural spines. The length of the caudals and the height of the neural spines gradually decreases down the tail, unlike some other archosauromorphs where the vertebrae elongate towards the tip. This implies that the tail was short and not tapering, but the very tip of the tail is unknown. They consistently have chevron facets from the 3rd or 4th vertebrae down to the last known caudals in the series.

The cervical ribs are long and thin, becoming more robust and tapered as they move down the neck. Some of the cervical ribs from bottom half of the neck have a slight facet on the inside surface at their tips that may have held the tip of the preceding rib, forming a rigid cervical rib series (also suggested for the long necked Tanystropheus) that would stiffen the neck. The trunk ribs are long and curve outwards, indicating Azendohsaurus had a broad and deep barrel-shaped chest. The length and curvature of the ribs decreases down the spine, and the last rib is short, fused completely to the final dorsal vertebra, and points directly outwards to the sides. Only a single set of gastralia is known for Azendohsaurus, and their very delicate build and rarity compared to other bones suggests that it did not have a well developed basket of gastralia under the belly like some other archosauromorphs (e.g. Proterosuchus).

Limbs and girdles

The forelimbs and shoulders (pectoral girdle) of Azendohsaurus are well developed and robust. The scapula (shoulder blade) is long, about twice as tall as it is wide, matching the length and curvature of the ribs to accommodate the deep chest. The blade is concave on each side with a slightly expanded tip that is pointed at the back. The interclavicle is large and robust, and shares with Trilophosaurus and some rhynchosaurs a long "paddle-like" posterior process that is flattened and expanded towards the tip. It also has a unique forward-pointing process, a feature it shares only with Protorosaurus and some early diapsids (most other archosauromorphs have a notch instead).

The coracoids are large and rounded, articulating with the scapula to form the glenoid (shoulder socket). The glenoid faces laterally, typical of sprawling reptiles, however, the scapular portion is directed slightly backwards, which could indicate the humerus was held in a more raised posture. The humerus itself is large and broadly expanded at both ends, leaving a relatively narrow "waisted" mid-shaft, with a very well developed deltopectoral crest. The radius is similarly stocky with slightly expanded ends, while the ulna is greatly expanded at both ends, though to a lesser extent distally.

The hips (pelvic girdle) are not as deep as the shoulders, with the three hip bones being roughly equal in size. The ilium is tall and curved along the top surface, with a short rounded process at the front and a longer tapering process behind it. The pubis points down and slightly forwards, and only has a slightly thickened expansion (boot) at the tip.  The ischium is relatively short, shorter than the ilium, and roughly triangular in shape with straight edges and a rounded rear tip. The articulation surfaces between each ischia are unusually expanded compared to other archosauromorphs. All three contribute to forming a deep, rounded acetabulum (hip socket). Unlike the open socket of dinosaurs, the internal wall of the acetabulum in Azendohsaurus is solid bone.

The large sacral ribs articulate with the ilium so that it is held almost vertically, although their slight downward angle would have deflected the hip socket to face not only out away from the body but also down by about 10° to 25° from vertical. The femur is long and vaguely S-shaped, with a slightly expanded head that is not turned inwards, unlike those of dinosaurs, indicating it was not held upright. The femur is also twisted along its shaft so that the faces of the head and the knee are offset from each other by about ~75°. The tibia is roughly 75% the length of the femur, slightly bowed out, and is very robust compared those of other archosauromorphs except for the largest rhynchosaurs. The fibula by contrast is slender and more prominently twisted along its length.

The extremities of Azendohsaurus are well represented in the fossils, including both a complete hand (manus) and foot (pes) each in articulation. All of the carpals and tarsal bones are well ossified and distinct, and the complicated tarsus is made up of nine bones. The metacarpals in the hand are notable as they diverge in a smooth arc, with the length of the digits almost symmetrical around the long third digit as well as relatively non-diverged first and fifth digits. This contrasts with the hands of other reptiles where first and fifth digits are spread out from each other and the fourth digit is the longest. The metatarsals and digits of the foot also diverge in a smooth arc, but unlike the hand they are not symmetrical, with a long fourth toe and a short, hooked fifth digit.

All the digits of the hands and feet are unusually short for an archosauromorph, contrasting with the related Trilophosaurus. The claws (or unguals) are all very large, narrow and sharply recurved, and are significantly larger than the preceding finger bone they were attached to. The digits and claws share features with those of dromaeosaurid and troodontid maniraptorans, as well as other reptiles such as the turtle Proganochelys. These shared traits are associated with well developed flexor tendons, and it is suggested to be an adaptation for withstanding forces involved in digging.

History of Discovery

A. laaroussii

Early discoveries 
The first fossils of Azendohsaurus laaroussii were discovered in a northern part the Timezgadiouine Formation in Morocco, which is found within the Argana Basin of the High Atlas. The fossil beds consist of sandstones and red clay mudstones, and were excavated by Jean-Michel Dutuit between 1962 and 1969. The fossils of A. laaroussii are known from only a single layer within the formation, in an outcrop numbered XVI by Dutuit at the base of the T5 (or Irohalene) member. The T5 member has traditionally been roughly dated to the early Late Triassic in age using vertebrate biostratigraphy based on the presence of the phytosaur "Paleorhinus" magnoculus, as part of the Carnian dated '"Palaeorhinus" biochron', although this method of correlating and dating global Triassic sequences may be inaccurate and the date for the T5 member remains uncertain.

The first fossils consisted of only a partial tooth-bearing dentary fragment and some associated teeth. This material was discovered by J. M. Dutuit in 1965 and described in 1972, who believed it to belong to a herbivorous ornithischian dinosaur, as well as one of the oldest dinosaurs yet discovered. He named the genus "Azendoh lizard", after the nearby Azendoh village located only 1.5 km to the west of where the fossils were discovered. The specific name, A. laaroussii, is in honour of Laaroussi, the name of a technician from the Moroccan geological mapping service who first discovered the site where Azendohsaurus was found.

Dutuit's description of Azendohsaurus as an ornithischian was soon challenged by palaeontologist Richard Thulborn two years later in 1974, who was the first to suggest that Azendohsaurus was a "prosauropod" instead. The same conclusion was made by José Boneparte after examining the material himself in 1976. This re-identification was favoured by researchers in subsequent publications, and it was variously referred to the "prosauropod" families Anchisauridae and Thecodontosauridae  without further explanation. Dutuit himself even agreed that Azendohsaurus was likely to be a "prosauropod" in 1983, although not long before in 1981 he had briefly regarded it as a "pre-ornithischian".

In 1985, palaeontologist Peter Galton suggested that Dutuit's original "Azandohsaurus " material included the jaw of a "prosauropod" and the tooth of a fabrosaurid ornithischian (a now defunct grouping of early ornithischians), based on the differences in the shape of the teeth. This suggestion was refuted by François-Xavier Gauffre in 1993 when he re-described the material, as well describing additional jaw bones and teeth including two maxillae. He correctly concluded that the material belonged to a single taxon, but assigned the genus to "Prosauropoda" incertae sedis based again on the characteristics of the jaws and teeth. However, he could not determine its position within "Prosauropoda" due to the ambiguous distribution of these traits in early herbivorous dinosaurs, as well as a lack of any comparable Triassic reptiles, so he referred it to incertae sedis. His assessment was accepted by many other researchers in the years following up until the description of the new material from the Madagascan species.

Later finds to present 
New material from the type locality of A. laaroussii, including parts of the post-cranial skeleton, was reported on in 2002 at the annual conference of the Society of Vertebrate Paleontology by Nour-Eddine Jalil and Fabien Knoll. The additional material included presacral vertebrae, limb bones and limb girdles. The material was disarticulated, and was only attributable to A. laaroussii due to its association with recognised fragments of the skull and jaws. The post-cranial material was recognised as non-dinosaurian, but still believed to be an ornithodiran archosaur related to dinosaurs. If correctly associated with the jaws and teeth, this indicated Azendohsaurus  was not closely related to any herbivorous dinosaurs, despite their similarities. Similarly, teeth from other purported Triassic ornithischians were later found to belong to previously unrecognised herbivorous reptiles, such as the pseudosuchian Revueltosaurus, highlighting the possibility for mistaken identities in other purported herbivorous Triassic dinosaurs, including Azendohsaurus.

The new post cranial material from A. laaroussii was described as part of a Ph.D thesis by Khaldoune in 2014, but as of 2019 this thesis has not yet been published and the material remains officially undescribed in published literature. However, it has now more confidently been referred to A. laaroussii after the description of the Madagascan material, and was found to share at least two diagnostic post cranial traits with the Madagascan species. All the material from A. laaroussii, including the holotype and unpublished post crania, is housed at the Muséum National d'Histoire Naturelle in Paris, France.

A. madagaskarensis

Initial discoveries 
In 1997 through to 1999, fossils of a new archosauromorph were discovered by an international expedition in southwestern Madagascar and were recovered over the following decade. The fossils were found in a single bone bed, referred to as M-28, that was only tens of centimetres thick across a 100 metre stretch of outcrop exposed as an uplifted river terrace not far from the east bank of the Malio River, just outside of the Isalo National Park, north-west of the town of Ranohira and to the east of Sakahara. The locality was from the base of the Middle–Late Triassic Makay Formation, also referred to as Isalo II, a part of the Isalo "Group" in the Morondava Basin.

Previously, the formation had been believed to be Early to Middle Jurassic in age, although the earlier discovery of the rhynchosaur Isalorhynchus had revised that estimate to the Middle Triassic. The tetrapod fossils recovered in the 1997–99 expedition confirmed the Isalo II was Triassic in age, but instead suggested a younger Carnian age. The age of the formation has also been correlated to the Santacruzodon Assemblage Zone (AZ) from the Santa Maria Formation in South America based on the shared genera of traversodontid cynodonts, with a similar late Ladinian or early Carnian age. The Santacruzodon AZ has been more reliably dated through radioisotope U—Pb dating, suggesting a maximum depositional age of 237 ±1.5 million years in the early Carnian.

The bone bed contained material from almost "a dozen" individuals of varying ages and size, all from a single species. The material was very well preserved, generally preserving the three-dimensional shape of the bones with very little crushing or distortion in some of the specimens. Based on the state of preservation, some of the bones were believed to have been buried rapidly while others were exposed for longer on the surface, where they were weathered, cracked and possibly trampled on before burial.

As with A. laaroussii, the teeth and jaws were the first material to be recovered and described from the bone bed. These were initially mistaken to belong two different species based on the difference in tooth shape in the upper and lower jaws, but one of them was recognised as closely resembling A. laaroussii, sharing a keel on the inside surface of the maxilla and expanded, leaf-shaped teeth, among other features. Like A. laaroussii, both of these supposed species were also misidentified as "prosauropods"; a species of Azendohsaurus or a related taxon and another, more typical "prosauropod". Further discoveries of associated material clarified that all the jaw material and the rest of the skeletons were from a single, new species of Azendohsaurus.

Reinterpretation 

Even preliminary examination of the rest of the skull and skeleton from the Madagascan species confirmed that Azendohsaurus was not a dinosaur, and was instead an aberrant herbivorous archosauromorph that was only distantly related to dinosaurs, let alone sauropodomorphs. A description of the cranial material was published first in May, 2010 by John J. Flynn and colleagues, who also officially named and diagnosed it as a new species of Azendohsaurus, Azendohsaurus madagaskarensis, named for its country of origin. This was also the first time Azendohsaurus was determined to be a non-dinosaur in the published literature.

In December, 2015, the rest of the skeleton of A. madagaskarensis was formally described and published by Sterling J. Nesbitt and colleagues, providing the first detailed examination of the full anatomy of Azendohsaurus from the now almost completely known skeleton. In addition to comparing its anatomy, they were also able to analyse its evolutionary relationships to other Triassic reptiles in a phylogenetic context for the first time.

The preservation of the material was described as "generally excellent" by Nesbitt and colleagues, and the amount of overlapping material made it easier to determine the original morphology from distorted and broken bones. Much of the material was found disarticulated and sometimes isolated, but a number of specific parts of the body were found articulated in life position, including sections of the neck, back, hands and feet. Most of the material was similarly sized, with a range of about 25% between the smallest and largest specimens, although the significance of this is not understood and it could be related to ontogeny, individual variation or sexual dimorphism.

The well preserved nature of much of the material also allowed for reinterpretations of parts of the skeleton of other archosauromorphs, such as the hand of Trilophosaurus. The hands of other archosauromorphs are often poorly known, and so their preservation in Azendohsaurus is considered important for understanding their evolution in early archosauromorphs. All the specimens of A. madagaskarensis are permanently housed in both the University of Antananarivo in Madagascar (including the holotype) and at the Field Museum of Natural History in Chicago, Illinois, including casts of some of the original specimens.

Classification

Initial attempts 

Azendohsaurus was first misidentified as an ornithischian dinosaur by Dutuit, based on shared characteristics of its teeth such as the leaf-like shape and the number of denticles. It was later believed to be a sauropodomorph instead by other researchers, assigned to the defunct infraorder "Prosauropoda" (then believed to be a distinct monophyletic group related to sauropods, now known to be a paraphyletic grade) based on the morphology of its lower jaw, maxilla and teeth, such as the downward curving dentary and absence of a predentary bone, one of the characteristic traits of ornithischians. These misidentifications were caused by the convergence in jaw and tooth shape between it and the herbivorous dinosaurs while its true phylogenetic relationships could not be realised due to the absence of other bones of the skull and skeleton.

The non-dinosaurian identity of Azendohsaurus was first hinted at after the discovery of additional skeletal material recovered from the type locality. This was based on the presence of traits such as a solid hip socket (acetabulum), and a proximal fourth trochanter on the femur that also lacked an inward-facing head, which are typical of dinosaur skeletons. While evidently not a dinosaur, it was tentatively interpreted as an ornithodiran archosaur, still closely related to dinosaurs.

The discovery of more complete material from Madagascar prompted the first formal classification Azendohsaurus as non-dinosaurian by Flynn and colleagues in 2010 through a detailed description of its cranial anatomy and were able to clarify its relationships further. They instead recognised it to be a more basal archosauromorph, far removed dinosaurs and closely related to but outside of the clade of Archosauriformes. As well as the derived, sauropodomorph-like features, the skull also had numerous primitive traits for archosauromorphs, including an open-bottomed lower temporal fenestra, extensive palatal teeth, a pineal foramen and no external mandibular or antorbital fenestrae. However, its exact relationships still remained unknown beyond a position as an indeterminate non-archosauriform archosauromorph.

Recognition of Allokotosauria 
Azendohsaurus was included in a phylogenetic analysis of Triassic archosauromorphs for the first time in 2015 by Nesbitt and colleagues, utilising all of the new information from the skull and skeleton and a broad sample of various Triassic archosauromorph species, where it was recovered as closely related to other enigmatic herbivorous Triassic reptiles such as Trilophosaurus and Teraterpeton. This newly recognised grouping of archosauromorphs was named Allokotosauria, meaning "strange reptiles", for the unusual qualities of the reptiles that belonged to the group. Azendohsaurus was found to be the sister taxon of the family Trilophosauridae, and was recognised as the sole member of its own family, the Azendohsauridae, due its distinctiveness even amongst other allokotosaurs. A similar result was recovered by another large analysis of archosauromorph phylogeny in 2016 by Martín D. Ezcurra, who found a monophyletic Allokotosauria containing Azendohsaurus and Trilophosaurus.

Allokotosaurs are recognised as often having specialised jaws and teeth, as well as sharing a number of synapomorphies that include several reversals to more plesiomorphic (ancestral) traits of archosauromorphs, as well as at least two derived traits. The clade is considered to be well supported in these analyses. However, although closely related, the craniodental characteristics of allokotosaurs vary dramatically, and among them Azendohsaurus was characterised by having laterally compressed, serrated teeth present throughout the length of the jaws (unlike the 'beaked' jaws of trilophosaurids). Azendohsaurus broadly shares with other azendohsaurids features such as confluent nares, leaf-shaped teeth and a long neck, but Azendohsaurus itself is distinguished by the distinctive groove on the inside surface of the maxilla and tooth crowns that are expanded above the base.

In 2017, another large allokotosaur was described from the Middle Triassic of India by Saradee Sengupta and colleagues, named Shringasaurus indicus. Shringasaurus was very similar to Azendohsaurus, and they were found to be closely related, supporting the existence of Azendohsauridae as a distinct family from the trilophosaurids. The same analysis also recovered Pamelaria, another long necked archosauromorph from India, as a basal azendohsaurid. Similarities between Pamelaria and Azendohsaurus had been noted by Nesbitt and colleagues in 2015, including confluent nares, serrated teeth and low cervical spines, but their analysis favoured a position in Allokotosauria basal to azendohsaurids. The 2017 analysis also confirmed the close relationship between A. laaroussii and A. madagaskarensis within Azendohsauridae, strengthening their shared referral to the genus Azendohsaurus. A 2018 analysis of Triassic archosauromorphs failed to recover Allokotosauria, but still recovered both species of Azendohsaurus within a clade of azendohsaurids. The cladogram below follows the results of Sengupta and colleagues in 2017:

A 2022 phylogenetic analysis supported a monophyletic Allokotosauria and confirmed that Azendohsaurus was a sister taxon of Shringasaurus, and that the clade consisting of the two genera was in turn most closely related to Malerisaurus and Pamelaria.

Evolutionary significance 

The number of convergent traits shared between Azendohsaurus and sauropodomorph dinosaurs is remarkably high, especially as all the shared features are interpreted as being homoplastic, meaning that they evolved completely independently of each other. Some of the shared adaptations of the skeleton between Azendohsaurus and sauropodomorphs were previously considered to be unique to sauropodomorphs. However, the convergent evolution of these traits in Azendohsaurus as adaptations towards a herbivorous lifestyle show that they may be more broadly distributed amongst Triassic archosauromorphs, and do not necessarily indicate a close relationship to sauropodomorphs in fossil taxa.

The pattern of convergences in Azendohsaurus is unusual, as they appear to have arisen in only the front half of the animal, while the sprawling back legs and short tail of Azendohsaurus are characteristically primitive of earlier archosauromorphs, very unlike the columnar hind limbs and long tail of sauropodomorphs. This further highlights the non-uniform distribution and acquisition of typically sauropodomorph traits in other herbivorous archosauromorphs.

The age of Azendohsaurus is also significant, as it was roughly coeval with the earliest known sauropodomorphs from Carnian South America, such as the lightweight, bipedal Saturnalia. However, Azendohsaurus resembles the later Norian sauropodomorphs more closely, both in general anatomy and its larger body size. This suggests that azendohsaurids had been the first reptiles to evolve as high browsing herbivores in Triassic ecosystems, prior to the evolution of the larger sauropodomorphs, which had previously been assumed to have been the first high browsing herbivores. It also indicates that the convergence between Azendohsaurus and sauropodomorphs did not occur under the same environmental circumstances, as Azendohsaurus was part of an initial wave of herbivory in archosauromorphs (along with rhynchosaurs, silesaurids and cynodonts) and large sauropodomorphs in a second wave (along with herbivorous pseudosuchians).

Azendohsaurus also demonstrates that archosauromorphs were occupying roles as large herbivores in Triassic ecosystems earlier in their evolutionary history than had been assumed. These roles were previously thought to be dominated by large synapsids such as dicynodonts prior to the radiation of archosaurs in the Late Triassic, but Azendohsaurus suggests that earlier archosauromorphs were also capable of competing with synapsid herbivores.

Palaeobiology

Feeding and diet 

The leaf-shaped teeth of Azendohsaurus are clearly suited for a herbivorous lifestyle, and microwear—marks left on the tooth surface during feeding—on the teeth of A. madagaskarensis suggest they were used for browsing on vegetation that was not especially tough or woody, preferring softer (but firm) vegetation. The microwear patterns also show that it used a simple up-and-down motion of the jaw, and did not use complex jaw movement to chew its food like ornithischian dinosaurs or contemporary cynodonts. This microwear has not yet been observed on the teeth of A. laaroussii, but it is unknown if this is a genuine feature relating to a difference in diet and feeding habits between the two species or if it is just a feature of preservation.

The fully developed palatal teeth suggest that it was using them for feeding in a specialised manner. However, no functional studies have been performed on the palatal teeth so it is unknown exactly what they were used for, although their similar shape to the marginal teeth suggests they were used for processing similar food. A pterygoid from a younger individual of A. madagaskarensis has fewer rows of palatal teeth that are smaller in size than those of the larger, mature individuals, indicating that Azendohsaurus increased both the number and size of its palatal teeth as it grew into adulthood. Younger individuals also had fewer dentary teeth than adults, although the difference was much less extreme compared to the palatal teeth (16 compared to the 17 of mature specimens).

Body posture 
The body posture inferred for Azendohsaurus is a mixture of sprawled and semi-sprawled. The hind limbs have been interpreted as being completely sprawled outwards from the body, with its femur held straight out and the lower leg bent 90° beneath it at the knee, like a lizard. The forelimbs and shoulder girdle, however, suggest that the front of the body was held more upright than the hind quarters, with a partly downward directed shoulder socket and a humerus more suited for being held partially erect, and was similar in shape to those of sauropodomorphs. This unusual combination suggests that Azendohsaurus stood with its front end raised up off from the ground, which combined with its long, arched neck and small head, allowed it to browse relatively high off the ground, unlike contemporary low-browsing rhynchosaurs and cynodonts. Adapting to high-browsing could possibly explain the convergence between Azendohsaurus and sauropodomorphs, acquiring similar traits of the neck, forelimbs and spine to perform in similar niches. However, the more sprawling posture of Azendohsaurus probably inhibited high-browsing like that of the fully erect sauropodomorphs.

Palaeopathology
Despite the multitude of specimens present in the bone bed that was examined, only a single pathology has been recorded in A. madagaskarensis. Specimen UA 7-16-99-620, one of the three preserved interclavicles, had been malformed so that the long posterior process had been sharply bent to the right, compared to the normal straight posterior processes of the other two interclavicles.

Metabolism and growth
In 2019, thin slices were cut from the humerus, femur and tibia of specimens attributed to A. laaroussii for histological examination of the microscopic bone structure to try and determine the rate of growth in Azendohsaurus. The vascular density (the density of blood vessels in the bone tissue) in all three limb bones was found to be comparable to those of fast-growing birds and mammals, and the types of bone tissue identified—particularly energy-consuming fibrolamellar bone tissue—were interpreted as indicating a high resting metabolic rate that was in the range of living birds and mammals. It was inferred then that, like birds and mammals, Azendohsaurus would also likewise have been endothermic, or "warm-blooded". High resting metabolic rates similar to those of Azendohsaurus had been identified in other more derived archosauromorphs (such as Prolacerta), and analyses suggested that endothermy may then have been ancestrally present in archosauromorphs as far back as their common ancestor with allokotosaurs. This suggests that Azendohsaurus may then have been ancestrally endothermic. By contrast, the related allokotosaur Trilophosaurus was previously found to not have any fibrolamellar bone tissue in its limb bones and so was inferred to have grown slowly.

Palaeoecology
Although the two species of Azendohsaurus are known from disparate locations in North Africa and Madagascar, during the Middle to Late Triassic these regions were connected as part of the supercontinent Pangaea. Because of this, the two regions share broadly similar faunas, as well as sharing some with other regions of the globe at the time. For example, the cynodonts in Madagascar are similar to those also found in South America, and the Moroccan temnospondyls may be related to those found in eastern North America. The climate was hot and dry at this time, but with evidence suggesting higher levels of rainfall during the Carnian, interrupting the increasing aridity trend and creating wetter environments around the globe.

Timezgadiouine Formation, Morocco
Other reptiles from the base of the Irohalene (T5) member of the Timezgadiouine Formation contemporaneous with A. laaroussii include the phytosaur Arganarhinus, the predatory rauisuchid Arganasuchus, the herbivorous silesaurid Diodorus, a paratypothoracisine aetosaur, and procolophonid parareptiles, as well as the stahleckeriid dicynodont Moghreberia, a synapsid. Temnospondyl amphibians are represented by several genera of metoposauroids, including the metoposaurids Arganasaurus and Dutuitosaurus, and the latiscopid Almasaurus. Fish are also known from the T5 member, including various ray-finned actinopterygians such as the locally endemic Dipteronotus gibbosus and Mauritanichthys, as well as other perleidiform and redfieldiiform fishes, alongside lobe-finned actinistians and lungfish such as Asiatoceratodus.

The T5 member is composed of cyclical layers of bioturbated mudstone and sandstone deposited in a broad, semi-humid basin. It has been interpreted as a system of brackish permanent lakes and sandbars, or alternatively sandy meandering rivers on a muddy floodplain. The fluvial or lacustrine sediments of the T5 member contrast with the playa sediments of the preceding T4 member, suggesting that it was deposited during an interval of increased rainfall.

Numerous tracks and trackways from various animals are preserved, typically those of animals known from fossil remains such as phytosaurs, pseudosuchians, dinosauromorphs and basal archosauromorphs. The tracks also appear to indicate the presence of large to very-large dinosauromorphs or paracrocodylomorphs that are currently not yet known from skeletal remains. Additional traces mark the presence of burrowing invertebrates, bivalves, and clam shrimps.

Makay Formation, Madagascar
In Madagascar, Azendohsaurus co-existed with the hyperodapedontine rhynchosaur Isalorhynchus, the herbivorous traversodontid cynodonts Dadadon and Menadon, and the predatory chiniquodontid cynodont Chiniquodon kalanoro, as well as an undescribed kannemeyeriiform dicynodont, a sphenodontian reptile, a procolophonid parareptile, the diminutive lagerpetid Kongonaphon, various other undescribed dinosauromorphs, and an "enigmatic archosaur" of uncertain classification. The faunal composition of the Isalo II is believed to represent a Middle Triassic Ladinian aged assemblage, existing prior to the appearance of dinosaurs and associated Late Triassic faunas, particularly aetosaurs and phytosaurs that are absent from the formation, and also inferred from the dominance of traversodonts in the fauna. However, this age assessment remains uncertain, and the formation is possibly from the younger early Late Triassic during the Carnian, as has been proposed for the T5 member of the Argana Formation.

Fossils of A. madagaskarensis have been exclusively recovered from a deposit of fine grained red mudstone, while other fossil bearing localities in the formation consist of medium grained channel sands, possibly reflecting a habitat preference in the ecosystem distinct from other animals or unique behavioural trait. The absence of any other species in the bone bed may also support this. However, this speculation cannot be confirmed, and it could instead be attributed to preservation bias.

Possible niche partitioning in diet, though, is supported by differences in the tooth microwear of A. madagaskarensis and the contemporary traversodont Dadadon. Dadadon was inferred to be capable of feeding on tough, hardy vegetation by using complex chewing, in contrast to the simpler dentition and processing of Azendohsaurus, which was better suited for eating leaves. This may also be supported by its more elevated body posture and long neck.

References

Allokotosaurs
Prehistoric reptile genera
Middle Triassic reptiles of Africa
Late Triassic reptiles of Africa
Fossils of Morocco
Fossils of Madagascar
Triassic Madagascar
Fossil taxa described in 1972