In paleontology, the term Triassic denotes a geologic period and a stratigraphic system that spans 50.5 million years from the end of the Permian Period 251.902 Ma to the beginning of the Jurassic Period 201.4 Ma. From Wikipedia
Temnospondyls survived the end-Permian mass extinction by adapting to freshwater ecosystems and diverse diets, but their success was temporary.