张寔
Historical portrait of Zhang Shi
Image creditsAnonymousUnknown author · Public domainImage source

Second Ruler of Former Liangeldest son of founding leader Zhang Gui

Zhang Shi (张寔)

张寔

Zhang Shi (张寔, 271–320), courtesy name Anxun (安逊), was a native of Wushi County, Anding Commandery (modern northwest of Pingliang, Gansu Province). He served as the second ruler of the Former Liang regime during the Sixteen Kingdoms period and was the eldest son of Former Liang's founding patriarch Zhang Gui. In his youth, Zhang Shi was renowned for his profound scholarship, keen perception, and genuine reverence for…

Former Liang Dynasty (前凉)

PROFILE

Zhang Shi (张寔, 271–320), courtesy name Anxun (安逊), was a native of Wushi County, Anding Commandery (modern northwest of Pingliang, Gansu Province). He served as the second ruler of the Former Liang regime during the Sixteen Kingdoms period and was the eldest son of Former Liang's founding patriarch Zhang Gui. In his youth, Zhang Shi was renowned for his profound scholarship, keen perception, and genuine reverence for talented scholars. During the early Yongjia era of Western Jin, as the Central Plains fell into catastrophic turmoil, Zhang Shi resigned from his prestigious imperial post as General of the Agile Cavalry in Luoyang and returned to Liangzhou. He assisted his father in pacifying the rebellion of Cao Qu and administering the Hexi Corridor, progressively rising to Gentleman Consultant, General of the West Center, Colonel Who Protects the Qiang, and Marquis of Fulu County. In 314, upon Zhang Gui's death, Zhang Shi succeeded to the governance of Liangzhou and received official appointment from Emperor Min of Western Jin as Commander-in-Chief of Liangzhou Military Affairs, Inspector of Liangzhou, and Duke of Xiping. Facing the collapse of the Western Jin dynasty and the fragmentation of northern China, Zhang Shi upheld the Jianxing era name of Emperor Min, repeatedly dispatching relief armies eastward to aid Chang'an and Guanlong, while sheltering refugees, encouraging honest counsel, and preserving peace and classical civilization in the Hexi Corridor. In 318, Emperor Yuan of Eastern Jin ascended the imperial throne in Jiankang. Zhang Shi dispatched envoys with congratulatory memorials, yet internally continued to observe the Western Jin Jianxing calendar, establishing a de facto autonomous regional state. In 320, Liu Hong, a sorcerer from Mount Tianti, plotted rebellion and corrupted Zhang Shi's trusted palace guards. In May, guards Yan She and Zhao Yang assassinated Zhang Shi in his sleeping pavilion at the age of fifty. His brother Zhang Mao suppressed the rebellion and succeeded him. Zhang Shi was initially honored with the posthumous title Duke Zhao, received the imperial posthumous title Duke Yuan from Eastern Jin, and was later elevated to Gaozu King Ming by his grandson Zhang Zuo.

Courtesy Name
Anxun (安逊)
Temple Name
Gaozu (高祖)
Posthumous Name
King Zhao (昭王), King Ming (明王), Duke Yuan (元公)
Era
Former Liang Dynasty (前凉)
Dynasty / State
Former Liang (前凉), Western Jin, Eastern Jin
Place of Origin
Wushi County, Anding Commandery (modern northwest of Pingliang, Gansu)
Date of Birth
271 (7th year of Taishi, Western Jin)
Date of Death
320 (3rd year of Daxing, Eastern Jin / 8th year of Jianxing)
Age at Death
50
Identity
Second Ruler of Former Liang, eldest son of founding leader Zhang Gui
Highest Office / Title
Commander-in-Chief of Liangzhou Military Affairs, Inspector of Liangzhou, Colonel Who Protects the Qiang, Duke of Xiping Commandery, King of Liang
Major Offices and Titles
Gentleman Consultant (议郎), Marquis of Jianwuting, General of the West Center, Marquis of Fulu County, Vice Inspector of Liangzhou, Duke of Xiping
Reign Era Name
Jianxing (建兴, retaining the era name of Emperor Min of Western Jin, 314–320)

LIFE TIMELINE

Noble Birth

Born in Luoyang to an illustrious aristocratic lineage; showed early intellect and entered public service as Gentleman of the Palace.

Return to Hexi

Foresaw impending turmoil in the capital, resigned as General of the Agile Cavalry, and returned to Liangzhou as Gentleman Consultant.

Suppressing Rebellion

Campaigned against regional rebel Cao Qu, earning the title Marquis of Jianwuting and appointment as General of the West Center.

Border Command

Appointed Colonel Who Protects the Qiang, taking comprehensive charge of frontier defense and indigenous diplomacy.

Succession to Liangzhou

Appointed Vice Inspector; succeeded Zhang Gui upon his death as Commander-in-Chief of Liangzhou and Duke of Xiping.

Rejecting Flattery

Refused a discovered jade imperial seal, dispatching it to Chang'an, and established monetary awards for officials offering candid policy criticism.

Relieving Chang'an

Dispatched General Wang Gai to relieve besieged Chang'an; declined the clandestine imperial promotion to Minister of Works after Emperor Min's capture.

Campaigning Eastward

Held three days of public mourning for the captured emperor and sent Han Pu with ten thousand troops eastward to battle rebellious regional forces.

Autonomous Hegemony

Sent envoy Cai Zhong to submit allegiance to Emperor Yuan in Jiankang, while internally maintaining the Jianxing calendar of Western Jin.

Securing Guanlong

Sent expeditions to assist Prince of Nanyang Sima Bao and accommodated over ten thousand refugees following Sima Bao's demise.

Tragic Demise

Assassinated in his bedchamber by treacherous guards subverted by mystic Liu Hong at age fifty; brother Zhang Mao restored order and succeeded.

Relationship graph

BIOGRAPHY

Biography

Illustrious Lineage and Departure from Capital

Zhang Shi was born in the seventh year of Taishi (271) during the reign of Emperor Wu of Western Jin. His ancestral home was Wushi County, Anding Commandery (modern northwest of Pingliang, Gansu Province). Tracing direct descent from Zhang Er, King Xian of Changshan during the Western Han dynasty, his household had long ranked among the prominent gentry clans of the Guanlong frontier. His grandfather Zhang Wen served as Master of the Imperial Provisions, and his father Zhang Gui was a celebrated Western Jin statesman who proactively requested assignment to Liangzhou on the eve of the War of the Eight Princes, laying the institutional bedrock of Former Liang.

From early childhood, Zhang Shi demonstrated exceptional discernment, dedication to Confucian classics, and genuine humility toward gentlemen and scholars. He entered officialdom through recommendation as an Excellent Talent and was assigned as Gentleman of the Palace. In 307, the opening year of the Yongjia era under Emperor Huai, violent factional bloodshed erupted across the Central Plains while non-Han nomad cavalries pressed dangerously near the capital. Recognizing that catastrophe was imminent and that Luoyang could no longer withstand military disaster, Zhang Shi decisively submitted a memorial tendering his resignation from his post as General of the Agile Cavalry, requesting permission to return to Liangzhou to assist his aging father. The Western Jin court granted his plea, reappointing him as Gentleman Consultant.

Upon reaching Guzang (modern Wuwei, Gansu Province), the administrative seat of Liangzhou, Zhang Shi immediately assisted Zhang Gui in strengthening the defensive infrastructure of the Hexi Corridor. At that time, Cao Qu, the Administrator of Jinchang Commandery, entrenched himself along the western borders and conspired with regional factions to challenge Zhang Gui's authority. Zhang Shi personally participated in the punitive expedition against Cao Qu, deploying decisive maneuvers that utterly routed the rebel force and executed Cao Qu. For his conspicuous military merit, the imperial court enfeoffed Zhang Shi as Marquis of Jianwuting. Shortly thereafter, he was promoted to General of the West Center and advanced to Marquis of Fulu County. In 313, the first year of the Jianxing era, the imperial government further entrusted Zhang Shi with the post of Colonel Who Protects the Qiang, placing overall regional military governance and tribal pacification firmly in his hands.

Regional Succession and Open Governance

In the spring of 314, Zhang Gui suffered a debilitating illness that severely impaired his speech. Emperor Min of Western Jin issued an imperial decree officially naming Zhang Shi as Vice Inspector of Liangzhou to manage day-to-day civil and military affairs. On the twentieth day of the fifth month of that year, Zhang Gui passed away in Guzang. Chief Clerk Zhang Xi, Marshal He Bao, and the civil and military leadership of Liangzhou unanimously endorsed Zhang Shi as successor and jointly petitioned the imperial court. In the tenth month of 314, Emperor Min issued an imperial edict formally appointing Zhang Shi as Holder of the Special Tally, Commander-in-Chief of Liangzhou Military Affairs, General of the West Center, Inspector of Liangzhou, and Colonel Who Protects the Qiang, inheriting his father's hereditary title of Duke of Xiping Commandery.

Having assumed regional authority, Zhang Shi remained acutely conscious of the fragility of frontier peace and resolutely pursued his father's foundational policy of preserving regional stability while remaining loyal to the imperial house. In the winter of 315, Zhang Bing, a soldier under Lanchi Magistrate Zhao Shi, unearthed a smooth jade seal bearing the inscription "Imperial Seal of the Emperor" while dredging an irrigation canal. Zhang Bing immediately delivered the artifact to Guzang to present it to Zhang Shi. Staff officials in the provincial government hailed the find as a divine omen and crowded into the administrative hall to offer congratulations and urge Zhang Shi to assume royal dignity. Zhang Shi sternly reprimanded the assembly: "Whenever I read history regarding how Yuan Shao flaunted an imperial seal before his retainers at the close of the Eastern Han dynasty, I detested his traitorous delusions. Today our sovereign is besieged in Chang'an and the realm faces extinction; why do you congratulate me with an omen of national ruin?" Zhang Shi categorically rebuffed their counsel and dispatched trusted couriers to escort the jade seal intact to Chang'an, surrendering it to Emperor Min and demonstrating his unwavering allegiance.

In April 316, concerned that unilateral decisions might cloud administrative judgment, Zhang Shi proclaimed an open decree throughout Liangzhou: any official or ordinary subject capable of identifying governmental flaws or proposing beneficial policies would receive generous material rewards in silk, livestock, and grain. Kui Jin, a local official from Gaochang serving as subordinate in the Bureau of Bandits, sought an audience and remarked frankly: "Your Excellency resolves every affair personally, regardless of its magnitude. At times military orders are promulgated without the knowledge of senior cabinet colleagues. Under such governance, if an error arises, none dare to assume responsibility or speak truth. Subordinate clerks merely obey existing commands out of intimidation. Under these conditions, even an offer of immense riches will fail to elicit sincere counsel. In my humble estimation, Your Excellency ought to temper your brilliance, actively solicit input among your assembled officials, and select the best policies after encouraging open deliberation. When good counsel arrives naturally, why rely on monetary bounties?" Zhang Shi rejoiced at this insightful observation, promoted Kui Jin by three ranks on the spot, and awarded him forty bolts of silk. He then dispatched Commander Wang Gai to Chang'an with annual commandery tributes, Western Region blood-sweating horses, and classic literary manuscripts.

Major Achievements

Loyalty to Chang'an and Renunciation of Honors

In autumn 316, northern battlefields deteriorated rapidly as Liu Yao, premier commander of Former Zhao, spearheaded tens of thousands of elite cavalry to encircle the Western Jin capital of Chang'an. Provincial rescue forces across northern China were repeatedly crushed, and extreme famine reduced the imperial capital to cannibalism. Upon learning of the emergency, Zhang Shi immediately ordered General Wang Gai to lead Liangzhou infantry and cavalry eastward to assist the imperial garrison. In desperate circumstances, Emperor Min issued an edict appointing Zhang Shi as Commander-in-Chief of Shaanxi Military Affairs to oversee all regional rescue forces.

However, because external regional warlords hesitated to commit their armies, Wang Gai's isolated Liangzhou contingent could not overcome the vast Former Zhao encirclement. In the eleventh month, Chang'an collapsed. Emperor Min surrendered to Liu Yao to save surviving civilians. On the eve of surrender, Emperor Min summoned his attendants amidst weeping and composed his final secret edict addressed to Zhang Shi. In the decree, the young emperor lamented dynastic ruin and praised the Zhang lineage as the premier bastion of imperial survival. Emperor Min secretly invested Zhang Shi with the titles Grand Commander-in-Chief, Pastoral Overseer of Liangzhou, Palace Attendant, and Minister of Works, granting him supreme discretionary authority, while urging him to assist Sima Rui, Prince of Langye in Jiangdong, to restore the dynasty. Gentlemen of the Yellow Gate Shi Shu and Imperial Censor Wang Chong escaped through enemy lines by night, bearing the edict and insignia to Liangzhou.

When Shi Shu and Wang Chong reached Guzang and recited the imperial decree, Zhang Shi fell prostrate on the ground and wept bitterly. He stated solemnly: "The Son of Heaven is captive and disgraced, and the altars of state have crumbled. As ministers unable to avert catastrophe, our guilt is already boundless; how could I accept supreme ministerial honors and rank as Minister of Works while our sovereign suffers humiliation?" Zhang Shi steadfastly declined the elevated titles, maintaining strict ministerial humility and exemplary political integrity.

Eastern Expeditions and Enthronement of Eastern Jin

In January 317, news reached Liangzhou that Former Zhao had forcibly transported Emperor Min to Pingyang. Zhang Shi led civil and military officials clad in plain mourning garb to the southern suburbs of Guzang, where they held solemn lamentations toward the east for three days. Following the ceremonies, Zhang Shi mobilized his armed forces, dispatching Marshal Han Pu, General Tian Qi, General Zhang Lang, and Vanguard Commander Yin Yu with ten thousand elite troops eastward to relieve the national emergency. Simultaneously, he ordered Regional Commander Chen An and Local Administrators Jia Qian and Wu Shao to lead commandery forces as vanguard units. Before departure, Zhang Shi grasped Han Pu's hand and instructed him: "Our commanders must cooperate harmoniously and avoid division." He also dispatched letters to Prince of Nanyang Sima Bao, expressing complete willingness to coordinate operations under imperial direction.

When Han Pu's army advanced to Nan'an (modern Longxi area, Gansu), local Qiang and Di tribal confederations obstructed critical mountain passes and severed the supply lines, resulting in a tense stalemate exceeding one hundred days. With winter approaching, food supplies and arrows were depleted. Commander Han Pu maintained absolute composure, slaughtered all draft oxen to feast his troops, delivered an inspiring address, and beat the war drums to lead a frontal assault. Simultaneously, Zhang Lang's reinforcements from Jincheng struck the enemy's rear, shattering the tribal confederacy and slaying several thousand hostile combatants to clear the strategic route.

In March 318, rogue commanders Jiao Song and Chen An plundered the Qinlong region, causing devastation where majority of local inhabitants perished. When rebel forces besieged Shanggui, Sima Bao sent urgent appeals to Liangzhou. Zhang Shi appointed Administrator Dou Tao as General of Light Chariots, commanding Song Yi, He Bao, and Zhang Lang with twenty thousand troops to rush eastward. Upon reaching Xinyang, official confirmation arrived that Emperor Min had been murdered in Pingyang. Zhang Shi once more decreed three days of public mourning throughout Liangzhou.

At this critical juncture, Sima Bao sought to declare himself emperor in Shanggui. Zhang Shen, Colonel of Poqiang, analyzed the landscape for Zhang Shi: "The Prince of Nanyang forgets imperial humiliation to usurp titles in Longyou; he lacks heavenly mandate and noble virtue to save the realm. By contrast, Prince of Jin Sima Rui in Jiangdong possesses virtue, prestige, and the explicit dying charge of the late emperor. Your Excellency should proclaim universal allegiance to Sima Rui and send memorials urging his enthronement, while dissuading Sima Bao. This will quiet regional ambitions." Zhang Shi fully concurred, issued nationwide manifestos championing Sima Rui, and dispatched envoy Cai Zhong across the riverways to Jiankang. In April 318, Sima Rui formally ascended the throne as Emperor Yuan, founding the Eastern Jin dynasty and inaugurating the Taixing era. However, to preserve internal coherence and retain the deep loyalty of Hexi inhabitants toward Western Jin, Zhang Shi did not adopt the Taixing calendar, continuing to employ the Jianxing era name. This established Former Liang as an autonomous regime operating under nominal imperial suzerainty.

In 319, Sima Bao assumed the title Prince of Jin and offered Zhang Shi appointment as Senior General Who Conquers the West. When Chen An revolted against Sima Bao, Zhang Shi twice sent relief forces under Han Pu and Song Yi to rescue him. When Sima Bao subsequently faced crushing pressure from Liu Yao and sought refuge in Liangzhou, Zhang Shi prudently recognized that an imperial prince of high prestige would destabilize local authority. He dispatched General Yin Jian to the frontier under the pretext of escort, quietly preventing his entry. Shortly thereafter, Sima Bao died of illness in Sangcheng, and Zhang Shi peacefully absorbed over ten thousand displaced soldiers and civilians into Liangzhou.

Treacherous Conspiracy and Assassination in Palace

As Liangzhou's administration grew increasingly secure, Zhang Shi took pride in the natural fortress of the Hexi Corridor and its abundant food and cavalry resources. Believing that external wars would not reach his domain, he gradually developed a proud demeanor and lived in heightened luxury, allowing perilous undercurrents to develop within his inner circle.

In early 320, Liu Hong, a native of Jingzhao, arrived in Liangzhou. Skilled in sorcery and optical illusions, Liu Hong dwelt inside cavernous grottos on Mount Tianti near Guzang. He suspended numerous bronze mirrors in deep chambers and ignited perpetual lamps, utilizing light refraction to produce spectral halos. He proclaimed himself a vessel of heavenly prophecy, gathering over one thousand superstitious adherents. Crucially, several trusted members of Zhang Shi's personal guard fell under Liu Hong's sway.

Two of Zhang Shi's palace guard commanders, General Yan She and Officer Zhao Yang, hailed from the same commandery as Liu Hong. Liu Hong whispered to them: "Heaven has bestowed a sacred seal upon me, mandating that I become king of Liangzhou. If you assist me, we shall divide the land and enjoy perpetual nobility." Blinded by ambition, Yan She and Zhao Yang enlisted a dozen close comrades in a conspiracy to assassinate Zhang Shi and elevate Liu Hong.

Zhang Shi's younger brother Zhang Mao perceived the gathering peril and urgently warned Zhang Shi, urging the immediate dispatch of heavy troops to raid Mount Tianti and execute Liu Hong. Zhang Shi finally recognized the threat and ordered Guard Commander Shi Chu to apprehend the sorcerer. However, before Shi Chu reached the mountain grotto, Yan She and Zhao Yang struck preemptively.

One night in May 320, Yan She and Zhao Yang concealed daggers within their garments and penetrated the inner palace under cover of their trusted positions. Catching the guards off guard, they rushed into Zhang Shi's outer sleeping chambers and brutally assassinated him on his couch. The capable ruler of Former Liang was thus murdered at the age of fifty.

The assassination shocked Guzang. When Shi Chu seized Liu Hong at Mount Tianti, the sorcerer gloated: "Governor Zhang is dead; what purpose does arresting me serve?" In fury and grief, Shi Chu sliced off Liu Hong's tongue, bound him, and returned to Guzang. Shi Chu executed Liu Hong by dismemberment in the central marketplace and arrested and eliminated several hundred conspirators, quelling the mutiny.

Because Zhang Shi's eldest son Zhang Jun was only fourteen years of age, provincial officials concluded that a frontier realm bordered by powerful rival empires required mature leadership. They collectively chose Zhang Shi's younger brother Zhang Mao to succeed as Inspector of Liangzhou and Duke of Xiping. Zhang Mao declared an amnesty, appointed his nephew Zhang Jun as General Who Calms the Army, and interred Zhang Shi in the Ningling Mausoleum with the posthumous title Duke Zhao. Eastern Jin bestowed the posthumous title Duke Yuan. Later, when his grandson Zhang Zuo declared himself emperor, he honored Zhang Shi with the temple name Gaozu and posthumous title King Ming.

Interpersonal Relations

  • Grandfather: Zhang Wen, Master of Imperial Provisions in Western Jin.
  • Father: Zhang Gui, founding patriarch of Former Liang, King Wu.
  • Paternal Uncle: Zhang Su, General Who Builds Authority in Western Jin.
  • Younger Brother: Zhang Mao, third ruler of Former Liang, King Cheng.
  • Son: Zhang Jun, fourth ruler of Former Liang, King Wen.
  • Grandsons: Zhang Zuo, King Wei; Zhang Chonghua, King Huan.
  • Loyal Ministers: Chief Clerk Zhang Xi, Marshal He Bao, Subordinate Kui Jin, Senior Marshal Han Pu, Guard Officer Shi Chu.
  • Traitors and Sorcerer: Mystic Liu Hong, Palace Guard Commanders Yan She and Zhao Yang.

Historical Evaluation

  • Fang Xuanling et al., Book of Jin (Jin Shu): "He possessed profound learning, keen discernment, and genuine love for capable gentlemen... Yet, relying upon geographical remoteness, he gradually displayed overconfidence."
  • Cui Hong, Spring and Autumn Annals of the Sixteen Kingdoms: "Renowned for intellect and reverence for talent. He inherited his father's domain, preserved his territory, and remained loyal to the Jin court."
  • Wei Shou et al., Book of Wei (Wei Shu): "Relying on abundant armed strength, he turned toward ostentation."
  • Modern Historiographical Consensus: As the pivotal transitional ruler of Former Liang during the Sixteen Kingdoms, Zhang Shi governed amidst the total collapse of Western Jin in northern China. Adhering to his father's principles, he steadfastly honored Emperor Min's calendar, sent military expeditions to relieve the capital, instituted open avenues for policy criticism, and sheltered displaced refugees. These measures preserved peace and classical culture along the Hexi Corridor. Although his later years were marred by overconfidence that culminated in palace treachery, his enduring contributions to regional stability and cultural preservation have received unanimous praise from subsequent historians.

Related Entries

  • Former Liang
  • Zhang Gui
  • Zhang Mao
  • Zhang Jun
  • Disaster of Yongjia
  • Emperor Min of Jin
  • Duke of Xiping

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Fang Xuanling et al., Book of Jin (Jin Shu), vol. 86, "Biographies 56: Zhang Gui (with Zhang Shi)"
  • Wei Shou et al., Book of Wei (Wei Shu), vol. 99, "Biographies 87: Zhang Shi"
  • Cui Hong, Spring and Autumn Annals of the Sixteen Kingdoms, vol. 7, "Records of Former Liang"