He became the palace door disciple