Li Baochen (李寶臣) (718 – February 6, 781[1]), originally named Zhang Zhongzhi (張忠志), courtesy name Weifu (為輔), known as An Zhongzhi (安忠志) during the Anshi Rebellion and Zhang Baochen (張寶臣) 778–779, formally the Prince of Longxi (隴西王), was a general of the Chinese rebel state Yan, who later submitted to and became a general of the Tang dynasty, from which Yan had rebelled. As was in the case of several other Yan generals who submitted to Tang but who had substantial army and territorial holdings, Li was allowed to retain his command and territory, semi-independent of the Tang imperial government structure.