The pelycosaurs were dominant on land in the Permian, and went under at the Permian–Triassic extinction event. The therapsids were dominant on land in the Lower Triassic, but by the Upper Triassic the dinosaurs had taken over.