A group of four-legged animals that evolved from fish to land evolved into dinosaurs.