At the end of the Carboniferous period, this group diverged from the sauropsid line that led to today's reptiles and birds.