Shi Chaoyi
By 763, the Anshi Rebellion had been put down by Tang forces, with Shi Siming's son and successor Shi Chaoyi committing suicide. At that time, Xue was defending Yecheng for Shi Siming, and he, along with several other key Yan generals -- Tian Chengsi, Zhang Zhongzhi, and Li Huaixian—submitted to Tang. The Tang imperial regime, then under the rule of Emperor Xuanzong's son Emperor Suzong, was hesitant to displace them in fear that they would start another rebellion, so at the urging of the general Pugu Huai'en, they were allowed to remain at their current posts, and Xue was made the military governor ("jiedushi") of Zhaoyi Circuit (昭義, headquartered in modern Anyang, Henan), controlling the six prefectures around Yecheng.