Zhang Xiaozhong (Chinese: 張孝忠) (730 – April 30, 791[1]), né Zhang Alao (張阿勞), formally Prince Zhenwu of Shanggu (上谷貞武王), was a Chinese military general, monarch, and politician of the Chinese Tang dynasty. He was of Xi ancestry. Initially he served the rebel state Yan, during the Anshi Rebellion, and later served the warlord Li Baochen. After Li Baochen's death he joined the Imperial cause, giving the Imperial army a foothold north of the Yellow River in spite of being surrounded by semi-independent warlord realms.