Mesozoic that would move into their current positions during the next era. The climate of the Mesozoic was varied, alternating between warming and cooling periods. Overall, however, the Earth was hotter than it is today. Dinosaurs appeared in the Late Triassic and became the dominant terrestrial vertebrates early in the Jurassic, occupying this position for about 135 million years until their demise at the end of the Cretaceous. Birds first appeared in the Jurassic, having evolved from a branch of theropod dinosaurs. The first mammals also appeared during the Mesozoic, but would remain small—less than 15 kg (33 lb)—until the Cenozoic.
Triassic dry, with deserts spanning much of Pangaea's interior. However, the climate shifted and became more humid as Pangaea began to drift apart. The end of the period was marked by yet another major mass extinction, the Triassic–Jurassic extinction event, that wiped out many groups and allowed dinosaurs to assume dominance in the Jurassic. The Triassic was named in 1834 by Friedrich von Alberti, after the three distinct rock layers ("tri" meaning "three") that are found throughout Germany and northwestern Europe—red beds, capped by marine limestone, followed by a series of terrestrial mud- and sandstones—called the "Trias". The Triassic is usually