When he was six years old, the emperor (Hsien-tzung) began to lament that he had no son to succeed him, the eunuchs revealed what had happened, and he was established as heir to the throne.
直到他六歲時，憲宗慨嘆無子嗣，經太監說明原委，才被立為太子。