The archegosaurs were a group of temnospondyli that occupied the ecological niche of crocodiles and alligators during the Permian , and of which the European genus Archegosaurus is typical .
The archegosaurs were a group of temnospondyls that occupied the ecological niche of crocodiles and alligators during the Permian .