The term is both outmoded and a mistake, because mammals did not descend from reptiles. Both groups descended from early amniotes (egg-laying tetrapods), probably in the Lower or Middle Carboniferous. The precursors of reptiles are called sauropsids, and the precursors of mammals are called synapsids. The immediate ancestors of the mammals came from a group of therapsids called the cynodonts.