 After Huige's Bögü Qaghan Yaoluoge Yidijian returned to his own realm, the remaining Huige generals An Ke () and Shi Diting () gathered groups of bandits and pillaged the region.Emperor Daizong commissioned Dong to destroy them, and he did, before returning to Huaixi.In 765, when the general Pugu Huai'en, who had rebelled earlier, persuaded Huige and Tufan troops to join him to attack Chang'an, Emperor Daizong, at Guo Ziyi's suggestion, issued orders summoning the generals Li Baoyu, Li Guangjin (李光進, Li Guangbi's brother), Bai Xiaode (), Ma Lin (), Hao Tingyu (), and Li Zhongchen.