For approximately 120 million years—from the Carboniferous to the middle Triassic periods—terrestrial life was dominated by the pelycosaurs, archosaurs, and therapsids (the so-called "mammal-like reptiles") that preceded the dinosaurs.