quality:correction
Cynodontia is a clade of eutheriodont therapsids that first appeared in the Late Permian, and extensively diversified after the Permian–Triassic extinction event. Mammals are cynodonts, as are their extinct ancestors and close relatives (Mammaliaformes), having evolved from advanced probainognathian cynodonts during the Late Triassic. Non-mammalian cynodonts occupied a variety of ecological niches, both as carnivores and as herbivores. Following the emergence of mammals, most other cynodont lines went extinct, with the last known non-mammaliaform cynodont group, the Tritylodontidae, having its youngest records in the Early Cretaceous.