사조의
In 762, Emperor Suzong died and was succeeded by his son Emperor Daizong. Emperor Daizong, upon his ascension, sent the eunuch Liu Qingtan (劉清潭) to Uyghur to seek aid against Yan—and yet, by this time, Shi Chaoyi had himself sent emissaries to Uyghur and persuaded Yaoluoge Yidijian to attack Tang with him instead. By the point that Liu arrived at the Uyghurs' headquarters, Uyghur forces had already advanced into Tang territory and were ready to attack. However, at this point, Yaoluoge Yidijian requested a meeting with Pugu Huai'en, and Emperor Daizong sent Pugu to meet with his daughter and brother-in-law. Pugu changed Yaoluoge Yidijian's mind, and he instead agreed to attack Yan with Tang forces. (During the meeting, however, Xin Yunjing (辛雲京), the military governor of Hedong Circuit (headquartered in modern Taiyuan, Shanxi), whose territory included the place of the meeting, fearing that Pugu and Yaoluoge Yidijian would attack him jointly, refused to meet with them and did not entertain them as host, leading eventually to an enmity between Pugu and Xin.) Pugu subsequently served as the deputy to the nominal commander, Emperor Daizong's oldest son Li Kuo the Prince of Yong, and led Tang forces in alliance with Uyghur forces, advancing toward Luoyang. Their forces, along with Tang forces commanded by Li Guangbi, Guo Ying'ai (郭英乂), Yu, and Li Baoyu, converged on Luoyang, defeating Shi Chaoyi and forcing him to flee.