Originally Prince Ding, he defeated his brother, deposed his nephew Emperor Chengzheng, and ascended the throne under the reign title Yongding. He later had a chance encounter with the male lead of the novel, leading to a celebrated relationship between wise ruler and worthy subject.