 On 9 February 1796, the Qianlong Emperor abdicated and became a Retired Emperor.Yongyan was enthroned as the Jiaqing Emperor.At the same time the Qianlong Emperor announced his successor, he posthumously elevated Lady Wei to "Empress Xiaoyi".