Zhang Xingcheng (587 – October 10, 653[1]), courtesy name Deli, posthumously known as Duke Ding of Beiping, was a Chinese official who served as a chancellor during the reigns of the emperors Taizong and Gaozong in the Tang dynasty.
He was from Ding Prefecture (定州, roughly modern Baoding, Hebei), and in his youth, he studied under a man named Liu Xuan [zh] (劉炫).
Later, after he passed an imperial examination, he was made the secretary general of Fuping County (富平, in modern Weinan, Shaanxi), and was considered capable in his position.
After his term of office was over, he was made an assistant imperial censor, and was known for willing to submit accusations against other officials for misbehavior notwithstanding their honorable positions.
On one occasion, possibly in 627, when Emperor Taizong, at an imperial feast, began to talk about differences between people from the Guanzhong region and those from the Shandong region (i.e., those from east of modern Sanmenxia, Henan, not those from modern Shandong), Zhang found the talk to be inappropriate, and stated, "Your subject has heard that the Son of Heaven should view the entire empire as his home, and should not divide it through geographical limitations; if you do so, you will show prejudice."
After Zhang withdrew from Emperor Taizong's presence, he submitted a note indicating his belief that the comment was inappropriate—noting that it sounded like he was arguing over achievements with his subjects.
After Emperor Taizong returned to the capital Chang'an after the Goguryeo campaign, he had Zhang serve as surveyor of the Henan region, and after that tour made him the acting assistant head of the executive bureau of government.