# Pamelaria

Pamelaria is an extinct genus of allokotosaurian archosauromorph reptile known from a single species, Pamelaria dolichotrachela, from the Middle Triassic of India. Pamelaria has sprawling legs, a long neck, and a pointed skull with nostrils positioned at the very tip of the snout. Among early archosauromorphs, Pamelaria is most similar to Prolacerta from the Early Triassic of South Africa and Antarctica. Both have been placed in the family Prolacertidae. Pamelaria, Prolacerta, and various other Permo-Triassic reptiles such as Protorosaurus and Tanystropheus have often been placed in a group of archosauromorphs called Protorosauria (alternatively called Prolacertiformes), which was regarded as one of the most basal group of archosauromorphs. However, more recent phylogenetic analyses indicate that Pamelaria and Prolacerta are more closely related to Archosauriformes than are Protorosaurus, Tanystropheus, and other protorosaurs, making Protorosauria a polyphyletic grouping.
A 2015 analysis by Nesbitt et al. found that Pamelaria was the basalmost member of a newly formulated archosauromorph group also containing the Trilophosauridae and the newly redescribed genus Azendohsaurus, which had previously been mistaken for a sauropodomorph dinosaur. This new group was called the Allokotosauria. Later studies generally agreed with Nesbitt et al.'s findings, but some additionally postulated that Pamelaria was more closely related to Azendohsaurus than to trilophosaurids.

## Description

Based on known specimens, Pamelaria reached a length of about 2 m. The neck, made up of six thick and elongated cervical vertebrae, comprises much of this length. The limbs are robust, roughly equal in size, and sprawl outward from the body. The pectoral girdle is large and plate-like. The tail is thick near its base and narrows closer to its tip.
The skull of Pamelaria is small and pointed with small, conical teeth. The naris (the opening in the bone for the nasal passage) is a single hole positioned at the tip of the snout. The back margin of the skull viewed from above is strongly arched. The orbits or eye sockets are large. The upper temporal fenestrae at the top of the skull are small while the lower temporal fenestrae behind the orbits are quite large. Like those of protorosaurs, the skull of Pamelaria lacks a connection between the quadrate and the jugal bones along the bottom of the skull, meaning that each lower temporal fenestra is not fully enclosed by bone. The lower jaw has a large raised portion in front of the jaw joint called the coronoid process.

## Discovery and naming

Fossils of Pamelaria have been found in the Middle Triassic Yerrapalli Formation in Andhra Pradesh, India. The known material represents six individuals from three fossil sites. The most well preserved is a mostly complete and articulated skeleton and is the holotype specimen of Pamelaria. A second partial skeleton belongs to a smaller individual. The other individuals are represented by isolated bones found in association with bones of the archosaur Yarasuchus, Pamelaria was named in 2003 in honor of vertebrate paleontologist Pamela Lamplugh Robinson. The species name dolichotrachela means "long neck" in Greek.

## Classification

Pamelaria is a basal member of Archosauromorpha, the clade or evolutionary grouping that includes crocodilians, birds, and all reptiles more closely related to crocodilians and birds than to lizards (which form their own clade, Lepidosauromorpha). Among basal archosauromorphs, Pamelaria is most similar in appearance to Prolacerta from the Early Triassic of South Africa and Antarctica. When Pamelaria was named in 2003, both were placed in the family Prolacertidae. Pamelaria, Prolacerta, and other prolacertids were considered to belong to a diverse group of archosauromorphs called Protorosauria, which also includes the families Protorosauridae and Tanystropheidae. The features that are most often used to classify protorosaurs are long cervical vertebrae and a gap below the lower temporal fenestra of the skull, both of which are found in Pamelaria.
Beginning in 1998, phylogenetic analyses showed that Prolacerta was not closely related to other protorosaurs; it was found to be in a more derived position than protorosaurs, closer the clade Archosauriformes. A 2009 analysis confirmed that this was also the case for Pamelaria. Both Pamelaria and Prolacerta were closely related to Archosauriformes while other protorosaurs formed a clade near the base of Archosauromorpha. The 2009 analysis also found that Prolacertidae was paraphyletic, with Prolacerta being more closely related to archosauriforms than is Pamelaria. This result suggests that features such as a long neck that were once regarded as evidence of a close relationship between Pamelaria and Prolacerta instead evolved independently in both taxa. Below is the cladogram from the 2009 analysis showing the relationships of Pamelaria and other archosauromorphs:
Nesbitt et al. (2015) found Pamelaria to be the basalmost allokotosaurian.

## Paleobiology
### Posture

The neck of Pamelaria was probably held above the rest of the body in life. At the base of the neck, the zygapophysial joints between successive vertebrae are angled to allow for dorsoventral or up-and-down movement of the neck. Closer to the skull the joints are angled in such a way that dorsoventral movement would be restricted but lateral or side-to-side movement would be possible. Therefore, Pamelaria would be able to raise and lower its neck from the base and turn its neck along the rest of its length. However, sideways movement would be limited because the cervical vertebrae are thick.
The tail of Pamelaria is thick and heavy, possibly acting as a counterbalance to the long neck. The tail is tall near its base due to high neural arches above the vertebrae and long chevrons below them. Long sacral and caudal ribs restricted lateral movement, making most of the tail inflexible. The shape of the femur (upper leg bone) indicates that Pamelaria had large caudofemoralis muscles that further restricted the tail's movement (caudofemoralis muscles anchor to the base of the tail and insert into the femur).
The equal length of the fore and hindlimbs suggests that Pamelaria was quadrupedal. The limb bones join loosely with the pectoral and pelvic girdles. Their shape indicates that they sprawled outward in life, giving Pamelaria a posture similar to that of lizards. Pamelaria would have rotated its limbs horizontally to move, pushing off from its outermost toe as do living lizards. To support its weight, Pamelaria may have used both its limbs and the base of its tail, possibly raising the rest of its tail while walking (a behavior also seen in some lizards) to reduce friction with the ground.

### Diet

The small conical teeth that line the edges of the upper and lower jaws and the surface of the palate suggest that Pamelaria was insectivorous. Insect burrows are common in Yerrapalli Formation, suggesting that insects would have been an abundant food source.