# 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. Zhang Xuanjing was addressed as Prince Chong of (Former) Liang (Chinese: (前)涼沖王)
The years of his rule were characterized by political instability, as he went through a progression of regents who overthrew each other -- Zhang Guan (張瓘), Song Hun (宋混), Song Cheng (宋澄), Zhang Yong (張邕), and finally his uncle Zhang Tianxi, who eventually had him killed and took over the title in 363. 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.

## Early life

Zhang Xuanjing was born in 350, during the reign of his father Zhang Chonghua (Duke Jinglie). His mother was likely Zhang Chonghua's concubine Lady Guo (as he honored her as princess dowager in 363, which he would have had little reason to do if she were not his mother). He had an older brother, Zhang Yaoling, who was his father's heir apparent.
In 353, Zhang Chonghua died, and Zhang Yaoling became the ruler (as Duke Ai), but actual power was in the hands of Zhang Chonghua's older brother Zhang Zuo, who was having an affair with Zhang Chonghua's mother Princess Dowager Ma and received her support in early 354 to depose Zhang Yaoling and claim the throne himself. 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.
In 356, the violent and capricious Zhang Zuo was overthrown and killed by the generals Zhang Guan and Song Hun. Initially, Song had Zhang Xuanjing claim the Jin-created title of Duke of Xiping, a title that his ancestors had carried for generations, but Zhang Guan overruled Song and had the young ruler claim the title Prince of Liang, a title that Jin had declined to grant previously. Zhang Guan served as regent.

## Under the regency of Zhang Guan

Despite his having Zhang Xuanjing claim a non-Jin-created title, Zhang Guan nevertheless continued to claim that Former Liang was a Jin vassal. In 356, however, under diplomatic and implied military pressure from Former Qin, Zhang Guan, on Zhang Xuanjing's behalf, formally submitted to Former Qin as a vassal.
Zhang Guan governed with a heavy hand, based on his own whim. In 359, he became suspicious of Song Hun and wanted to kill him and his brother Song Cheng (宋澄), and then depose Zhang Xuanjing and take the throne himself. Song Hun received news of this, however, and started an uprising within the capital Guzang (姑臧, in modern Wuwei, Gansu). Song's and Zhang Guan's forces battled within the city, but eventually Song prevailed, and Zhang Guan and his brother Zhang Ju (張琚) committed suicide. Their clan was slaughtered. Song Hun became regent.

## Under the regencies of Song Hun and Song Cheng

Song Hun's regency was better received, as Song emphasized faithfulness and tolerance. He also had Zhang Xuanjing disclaim the title Prince of Liang and return to the Jin-created title Duke of Xiping. The people appeared to be happy about his regency. However, turmoil came again in 361, after Song Hun died. Under Song Hun's recommendation, his brother Song Cheng became regent, but Song Cheng, not as skillful as Song Hun, was soon killed by the general Zhang Yong (張邕), and his clan was slaughtered. Zhang Yong and Zhang Xuanjing's uncle Zhang Tianxi became coregents, but with Zhang Yong having the bulk of power.

## Under the regencies of Zhang Yong and Zhang Tianxi

After becoming regent, Zhang Yong became arrogant, sexually immoral, and dictatorial, and he often executed officials, causing the nobles and the officials to be fearful. Zhang Tianxi's assistants Liu Su (劉肅), comparing Zhang Yong to Zhang Zuo, persuaded him that he needed to act against Zhang Yong, and later in 361, Zhang Tianxi had Liu Su and another assistant, Zhao Baiju (趙白駒) attempt to assassinate Zhang Yong, but failed. Zhang Yong then gathered his troops and attacked Zhang Tianxi, but Zhang Tianxi persuaded Zhang Yong's troops that he was avenging the Song clan and that Zhang Yong's next move was going to slaughter the royal Zhang clan. Zhang's forces, hearing this, abandoned him, and Zhang Yong committed suicide. His clan was slaughtered, and Zhang Tianxi became sole regent. Zhang Tianxi ended the practice of using Emperor Min of Jin's era name Jianxing and instead started using the current era name of Jin Dynasty (at the time, Emperor Ai's Shengping), to show even greater affinity with Jin.
In 363, Princess Dowager Ma died, and Zhang Xuanjing honored Lady Guo as princess dowager. She became concerned that Zhang Tianxi was acting dictatorially, and she conspired with the high-level official Zhang Qin (張欽) to kill Zhang Tianxi, but the news leaked, and Zhang Qin and other conspirators were put to death. Zhang Xuanjing became fearful and offered to yield the throne to Zhang Tianxi, but Zhang Tianxi refused. A month later, however, he had Liu Su lead soldiers into the palace to assassinate the 13-year-old Zhang Xuanjing, but claimed that Zhang Xuanjing died of an illness. Zhang Tianxi took the throne himself.

## Era name

* Taishi (太始 taì shǐ) 355–356
After 356, the era name of Emperor Min of Jin, Jianxing, was used until 361, when Former Liang switched to using the current era names used by Jin—therefore, Emperor Mu's Shengping in 361 and Emperor Ai's Longhe in 362–363.

## Personal information

* Father
** Zhang Chonghua (Duke Jinglie)
* Mother
** Likely Lady Guo