In the eighth month of 1213, the general Heshilie Zhizhong (紇石烈執中; also known as Hushahu 胡沙虎) rebelled against the emperor, Wanyan Yongji, and assassinated him.
He appointed Hushahu as Grand Tutor (太師), Chief Imperial Secretary (尙書令), and Marshal of the Capital (都元帥), in addition to enfeoffing him as "Prince of Ze" (澤王).
In the tenth month, Hushahu was assassinated by Zhuhu Gaoqi (朮虎高琪), another general, due to political infighting.
In the fall of 1213, the Mongols, under the leadership of Genghis Khan, split their forces into three groups to attack the Jin dynasty.
In the tenth month, the warlord Puxian Wannu rebelled against the Jin dynasty, and declared himself king of the Eastern Xia regime in Liaodong.
Thirdly, he ignored the advice of his chancellor, Tushan Yi (徒單鎰), and other ministers, and moved his capital from Zhongdu to Bianjing.
He was posthumously honored with the temple name "Xuanzong," and was buried in the Deling Mausoleum (德陵) in present-day Kaifeng, Henan Province.