Zhang Xuanjing

Zhang Xuanjing (張玄靚 or 張玄靖) (350–363), courtesy name Yuan'an (元安), formally Duke Jingdao of Xiping (西平敬悼公, posthumous name given by Jin Dynasty (266–420)) or Duke Chong of Xiping (西平沖公, posthumous name used internally in Former Liang) was a ruler of the Chinese state Former Liang.

He became the titular ruler at the young age of five after his violent uncle Zhang Zuo, who had seized the title from his older brother Zhang Yaoling and subsequently killed him, was himself killed in a coup.

During Zhang Guan's regency, he temporarily used the title Prince of Liang, but after Song Hun overthrew Zhang Guan, he again used the Jin-created title of Duke of Xiping.

He had an older brother, Zhang Yaoling, who was his father's heir apparent.

Later that year, when he declared independence from Jin Dynasty (266–420), which Former Liang had been a titular vassal of, he created Zhang Xuanjing the Marquess of Liangwu.

Zhang Guan governed with a heavy hand, based on his own whim.

Song Hun received news of this, however, and started an uprising within the capital Guzang (姑臧, in modern Wuwei, Gansu).