Megalosaurids were among the first major adaptive radiations of large theropod dinosaurs, but they became extinct by the end of the Jurassic period. They were a relatively primitive group of basal tetanurans with two main subfamilies, Megalosaurinae and Afrovenatorinae. 