Hongzhi Emperor
In 1449, Yu Qian played an important role in leading the defence of the Ming capital, Beijing, from attacks by the Oirat Mongols, who had earlier captured the Zhengtong Emperor at the Battle of Tumu. The Jingtai Emperor (r. 1449–1457), who succeeded the Zhengtong Emperor, appointed Yu Qian as the Crown Prince's Guardian and Tutor. In 1457, the former Zhengtong Emperor, who had returned after he was released by the Mongols, seized power from the Jingtai Emperor in a coup and restored himself to the throne as the Tianshun Emperor (r. 1457–1464). Yu Qian was falsely accused of treason and executed. He was later posthumously rehabilitated by the Chenghua Emperor (r. 1464–1487) and given the posthumous name Sumin (lit. "Stern and Suffering") by the Hongzhi Emperor, afterwards changed into "Zhongsu" (lit."loyal and stern") by the Wanli Emperor (r. 1572–1620). There are memorial halls and shrines built in Beijing and Hangzhou to commemorate and honour Yu Qian.