Archosaurs were the dominant land vertebrates during the Mesozoic era. They tended towards bipedalism with reduced forelimbs and hindlimbs that bore most of the weight. Their skulls were diapsid with an additional opening called the antorbital fenestra. Thecodonts gave rise to later archosaurs including pterosaurs, the first vertebrates to evolve powered flight, and dinosaurs, one of the most successful animal groups in terms of longevity. Dinosaurs included the saurischians with reptilian pelvises and predatory carnivores, and the ornithischians with avian pelvises, herbivorous diets, and one small bipedal group