李罕之
As this Heyang Circuit internecine confrontation was going on, the former Tang general Qin Zongquan, who had declared himself emperor at Fengguo Circuit (奉國, headquartered in modern Zhumadian, Henan), sent his general Sun Ru toward Heyang, and Sun soon captured the city. Zhuge Zhongfang fled to Xuanwu Circuit (宣武, headquartered in modern Kaifeng, Henan). Sun thereafter claimed the title of military governor of Heyang. However, Zhang and Li occupied Huai and Ze Prefectures, respectively, and resisted Sun. After Qin thereafter suffered a major defeat at the hands of Xuanwu's military governor Zhu Quanzhong, Sun withdrew from Heyang. Zhang and Li rejoined forces, with Li taking over Heyang and Zhang taking over Luoyang; they then jointly sought aid from the major warlord Li Keyong the military governor of Hedong Circuit (河東, headquartered in modern Taiyuan, Shanxi). Li Keyong sent his officer An Jinjun () to take over Ze Prefecture as prefect and to aid Li Hanzhi and Zhang; he also commissioned Li Hanzhi as the military governor of Heyang and Zhang as the mayor of Henan Municipality (河南, i.e., Luoyang).