Jingyuan mutiny
In 783, {{ill|Yáo Lìngyán|zh|姚令言}} (姚令言), jiedushi of Jingyuan, and his 5,000 troops arrived in Chang'an (Xi'an, Shaanxi) on their way to fight Lǐ Xīliè (李希烈) in Henan. The troops mutinied in reaction to the poor treatment they had received, forcing Tang Dezong to flee Chang'an. After installing Zhu Ci (朱泚), an ousted general, as emperor, the rebels were defeated by Lǐ Shèng (李晟) in 784.{{Cite book|title = Historical Dictionary of Medieval China|last = Xiong|first = Victor Cunrui|publisher = The Scarecrow Press, Inc.|year = 2009|isbn = 978-0-8108-6053-7|location = United States of America|pages = 260–261}}