Ancestor of a dinosaur