Li Xilie
Emperor Daizong died in 779 and was succeeded by his son Emperor Dezong. Emperor Dezong, believing that Guo Ziyi was too lax and had too large of a responsibility area, honored Guo as "Shangfu" (尚父, "like an imperial father") but stripped him of his commands. He divided Guo's responsibility area among Li Huaiguang, Hun Jian, and Chang Qianguang (常謙光), making Hun the military governor of Zhenwu Circuit (振武, headquartered in modern Hohhot), governing the bases and prefectures on the northern border with Huige. Later in the year, however, when Cui Ning was made the military governor of Shuofang Circuit, Zhenwu was merged back into Cui's command, and Emperor Dezong recalled Hun to serve as a general of the imperial guards, as one of the two generals in charge of security at Chang'an. In 783, after Li Xilie, the military governor of Huaining Circuit (淮寧, headquartered in modern Xuchang, Henan) rebelled, Li Xilie forged letters from Hun, hoping to falsely implicate Hun in the rebellion. Hun defended himself against charges when the letters were intentionally left for imperial authorities to find, and Emperor Dezong, believing him, not only did not punish him but awarded him with a horse and silk, and made him part of the army staff against Li Xilie.