Jahangir Khoja
In September 1820, at the age of 38, Mianning inherited the throne after the Jiaqing Emperor died suddenly of unknown causes. He became the first Qing emperor who was the eldest legitimate son of his father. Now known as the Daoguang Emperor, he inherited a declining empire with Westerners encroaching upon the borders of China. His era name, "Daoguang", means "radiant path". The Daoguang Emperor had been ruling for six years when the exiled heir to the Khojas, Jahangir Khoja, attacked Xinjiang from Kokand in the Afaqi Khoja revolts. By the end of 1826, the former Qing cities of Kashgar, Yarkand, Khotan, and Yangihissar had all fallen to the rebels. After a friend betrayed him in March 1827, Khoja was sent to Beijing in an iron litter and subsequently executed, while the Qing Empire regained control of their lost territory. The Uyghur Muslim Sayyid and Naqshbandi Sufi rebel of the Afaqi suborder, Jahangir Khoja was sliced to death (Lingchi) in 1828 by the Manchus for leading a rebellion against the Qing.