安慶緒
An Lushan rose against Emperor Xuanzong's rule in late 755, and Zhang Zhongzhi, hearing the news, escaped from Chang'an and joined An in Fanyang. An was impressed and adopted him as a son, giving him the surname of An. Subsequently, when the rebels made a surprise raid against Taiyuan, it was An Zhongzhi who led the attack, and he was able to seize the Tang mayor of Taiyuan, Yang Guanghui (). An Lushan subsequently put him in charge of defending the key pass of Tumen (土門, in modern Shijiazhuang, Hebei). After An Lushan's subsequent death and replacement as the emperor of a new Yan state by his son An Qingxu, An Zhongzhi continued to serve under An Qingxu, who made him the prefect of Heng Prefecture (恆州, roughly modern Shijiazhuang). His service of An Qingxu lasted until 757, when Tang forces put An Qingxu under siege in Yecheng. At that time, the major Yan general Shi Siming submitted to Tang, and An Zhongzhi submitted to Tang as well, subsequently serving under Shi. Emperor Xuanzong's son and successor Emperor Suzong created An Zhongzhi the Duke of Miyun and let him remain at his post.