Under Li Mi's suggestion, Emperor Dezong instituted a regime where soldiers were encouraged to settle in the border region with Tufan and were promised land and seeds, to repopulate the border region and strengthen the defense. Li Mi also proposed a marriage alliance with Huige's Heguduolu Khan Yaoluoge Dunmohe ()—a proposal that Emperor Dezong initially resisted due to his hatred for Huige—but finally agreed to, with Li Sheng and Ma also agreeing with Li Mi's opinion. With Huige (which was soon renamed Huigu) fighting with Tufan, and with Tufan's major vassal Nanzhao distancing itself from Tufan's campaigns against Tang, Tufan attacks on Tang began to weaken, such that Tang generals were beginning to have successes against Tufan. By this point, however, Emperor Dezong was also extracting frequent tributes from regional governors for his own personal use. Li Mi tried to curb the emperor's hoarding of treasure by instituting an annual stipend for the emperor, which Emperor Dezong initially agreed to. However, even after the stipend was instituted, Emperor Dezong continued to demand tributes from regional governors and ordered that they not let Li Mi become aware of the tributes. When Li Mi still found out, he became depressed over this issue but did not dare to speak again about it. Li Mi died in 789, and for some time, Li Mi's recommended successor, Dou Can, was the most powerful chancellor at court, but he soon lost Emperor Dezong's favor and was exiled (and eventually ordered to commit suicide). Lu Zhi became the main chancellor, and for some time, made ambitious proposals to reform the civil service system and logistics system, and reassert authority over regional governors—whom, by this point, Emperor Dezong was so apprehensive about such that he was not daring to impose governors unless he had explicit agreements from the key military officers of the circuits. (For example, after the death of Liu Xuanzuo () the military governor of Xuanwu Circuit (宣武, headquartered in modern Kaifeng, Henan) in 792, Emperor Dezong was initially intending to commission his granduncle Wu Cou () to replace Liu, but after Xuanwu soldiers mutinied and supported Liu Xuanzuo's son Liu Shining (), Emperor Dezong did not dare to confront the Xuanwu army and instead agreed to commission Liu Shining.) Lu, however, was soon in conflict with Emperor Dezong's favorite official Pei Yanling—who was able to garner Emperor Dezong's favor by making Emperor Dezong believe