and when he was put out of his home, the king's daughter adopted him and brought him up as her own son.