Wiki to the rescue.
By the 2nd century CE, baptism had become accepted as a ceremony largely for the spiritual purification and social initiation of infants.[2] The requirement for some confession of faith necessitated the use of adults who acted as sponsors for the child. They vocalized the confession of faith and acted as guarantors of the child’s spiritual upbringing. Normally, these sponsors were the natural parents of a child, as emphasized in 408 by St. Augustine who suggested that they could, it seems exceptionally, be other individuals.[3] Within a century, the Corpus Juris Civilis indicates that parents had been replaced in this role almost completely.[4] This was clarified in 813 when the Council of Munich prohibited natural parents from acting as godparents to their own children.[5]
Godparent - Wikipedia, the free encyclopedia