The first terrestrial vertebrates evolved from