During the Permian, Arizona was richly vegetated but was submerged by seawater late in the period. During the Triassic, Arizona was home to a rich forest home to dinosaurs and early relatives of mammals. Jurassic Arizona had a drier climate and was covered by sand dunes where dinosaurs left behind footprints.