王轨
王轨
Image creditsCHISTImage source

Renowned general of Northern ZhouPillar of the State Grand GeneralDuke of Tan State

Wang Gui (王轨)

王轨

Wang Gui (王轨, ?–579), childhood name Shamen, bestowed surname Wuhuan, was a native of Qi County, Taiyuan (present-day Qi County, Jinzhong, Shanxi). Claiming descent from Eastern Han Minister over the Masses Wang Yun, he was the son of Northern Zhou Agile Cavalry Grand General Wang Guang. Wang Gui was characterized by his resolute integrity, outspoken courage, and far-sighted strategic vision. Highly trusted by Emperor Wu of…

Era not stated

PROFILE

Wang Gui (王轨, ?–579), childhood name Shamen, bestowed surname Wuhuan, was a native of Qi County, Taiyuan (present-day Qi County, Jinzhong, Shanxi). Claiming descent from Eastern Han Minister over the Masses Wang Yun, he was the son of Northern Zhou Agile Cavalry Grand General Wang Guang. Wang Gui was characterized by his resolute integrity, outspoken courage, and far-sighted strategic vision. Highly trusted by Emperor Wu of Northern Zhou (Yuwen Yong), he entered imperial service as a Junior Attendant and rose to become a trusted confidant in the central court. In 572, he assisted Emperor Wu in eliminating the overbearing regent Yuwen Hu, subsequently being promoted to Regular Grand Master of the Palace Secretariat and granted the noble title Duke of Shanghuang County. During the northern expedition against Northern Qi in 576, Wang Gui personally led elite assault troops to scale the ramparts of Jinzhou by night, capturing Prince of Haichang Wei Xianggui, and subsequently participated in the conquest of Bingzhou and the Northern Qi capital Yecheng, for which he was promoted to Upper Grand General and created Duke of Tan State. In 577, when Southern Chen general Wu Mingche laid siege to Xuzhou and flooded the city, Wang Gui was appointed Campaign Area Commander-in-Chief. He blocked the estuary connecting the Qing River to the Huai River with heavy iron chains strung through wagon wheels, completely cutting off the Chen naval retreat. In the ensuing counterattack at the Battle of Lüliang, Wang Gui routed the southern army, capturing over thirty thousand enemy troops and taking Wu Mingche alive. Appointed Area Commander-in-Chief of Xuzhou and Pillar of the State Grand General, he commanded immense authority along the southern frontier. Deeply troubled by the decadent conduct of Crown Prince Yuwen Yun, Wang Gui repeatedly and fearlessly urged Emperor Wu to replace the heir apparent, thereby incurring the prince's bitter resentment. Following Emperor Xuan's accession in 578, Wang Gui chose loyal martyrdom over rebellion, and was executed in Xuzhou in 579, an unjust death deeply mourned throughout the empire.

Childhood Name
Shamen (沙门)
Bestowed Surname
Wuhuan (乌丸氏)
Historical Era
Northern and Southern Dynasties
Dynasty / Regime
Northern Zhou
Ancestral Home
Qi County, Taiyuan (present-day Qi County, Jinzhong, Shanxi)
Date of Death
579 (1st year of the Daxiang era, Northern Zhou)
Highest Office
Pillar of the State Grand General, Area Commander-in-Chief of Xuzhou, Commander of Military Affairs in Seven Provinces and Fifteen Garrisons
Major Offices
Junior Grand Master of the Palace Secretariat, Regular Grand Master of the Palace Secretariat, Campaign Area Commander-in-Chief, Pillar of the State Grand General, Area Commander-in-Chief of Xuzhou
Feudal Title
Duke of Shanghuang County, Duke of Tan State
Identity
Renowned general of Northern Zhou, Pillar of the State Grand General, Duke of Tan State

LIFE TIMELINE

Court Attendance

Emperor Wu ascended the throne; appointed Wang Gui as Palace Attendant, initiating his inner palace service

Purge of Yuwen Hu

Assisted Emperor Wu in slaying the regent Yuwen Hu; promoted to Regular Grand Master of the Palace Secretariat

Capture of Jinzhou

Scaled the ramparts of Jinzhou by night to capture Wei Xianggui; rewarded with the title Duke of Tan State

Lüliang Victory

Severed the waterway at Qingkou using iron chains; captured Wu Mingche and routed thirty thousand Chen troops

Campaign against Tuyuhun

Directed military logistics on campaign; returned to remonstrate against the crown prince's transgressions

Loyal Martyrdom

Framed and executed in Xuzhou by order of Emperor Xuan; remembered as a paragon of unyielding uprightness

Relationship graph

BIOGRAPHY

Biography

Family Background and Early Career

Wang Gui hailed from Qi County in Taiyuan and went by the childhood name Shamen. His family traced its lineage back to Wang Yun, the prominent Eastern Han statesman, and had served the Northern Wei dynasty for generations, during which they were granted the Xianbei surname Wuhuan. His father, Wang Guang, was widely admired in his youth for his physical prowess, tactical acumen, and decisive temperament. Wang Guang repeatedly distinguished himself on campaigns under the Western Wei paramount leader Yuwen Tai, eventually rising to become Agile Cavalry Grand General, Specially Advanced with Equal Rank to the Three Excellencies, and Duke of Pingyuan County. Raised under this rigorous martial tradition, Wang Gui developed an upright and unyielding character, combined with exceptional magnanimity and foresight. His uncompromising adherence to protocol earned him widespread respect and wariness from contemporaries.

At the beginning of the Northern Zhou dynasty, Wang Gui served in the retinue of Yuwen Yong, then Duke of Fucheng. When Yuwen Yong assumed the imperial throne as Emperor Wu in 561, Wang Gui was brought into court service as an Attendant of the Forward Guard and was soon promoted to Attendant of the Left Guard. Emperor Wu prized his discretion and steadfast loyalty, rapidly elevating him through the ranks to Junior Grand Master of the Palace Secretariat and granting him the rank of Equal to the Three Excellencies. Serving as an intimate bodyguard and palace secretary, Wang Gui formed an enduring bond of mutual trust with the sovereign.

Purging Yuwen Hu and Assisting Imperial Rule

During the early reign of Emperor Wu, Grand Preceptor and Duke of Jin Yuwen Hu exercised monopolistic control over the imperial court, dethroning and appointing sovereigns at will. Emperor Wu bided his time, discreetly looking for opportunities to eliminate the regent and restore direct imperial authority. Recognizing Wang Gui's steadfast courage and strategic depth, the emperor dismissed attendants and consulted him in strict secrecy regarding the plot against Yuwen Hu. Wang Gui fully concurred with the perilous enterprise and coordinated closely with loyal palace officials to orchestrate the coup.

In 572, Emperor Wu personally struck down Yuwen Hu in the Hanren Palace. Wang Gui and imperial guards swiftly moved to apprehend the regent's faction and pacify the imperial precincts, enabling Emperor Wu to assume sole governance smoothly. Following the successful restoration, Wang Gui was appointed Regular Grand Master of the Palace Secretariat, elevated to Upper Opening of the Office with Equal Rank to the Three Excellencies, and created Duke of Shanghuang County with a fief of one thousand households. From that point onward, all vital administrative reforms, military planning, and major policy decisions were deliberated with Wang Gui's active participation.

The Eastern Expedition and Fall of Northern Qi

In 576, Emperor Wu resolved to launch an all-out eastern offensive to annex the Northern Qi dynasty, personally leading the primary army to besiege the strategic fortress of Jinzhou (present-day Linfen, Shanxi). The Northern Qi commander defending the northern circuit, Cui Jingchong, realized that defeat was imminent and dispatched a secret envoy under cover of darkness to offer surrender. Emperor Wu immediately ordered Wang Gui to lead an elite detachment to support the defectors. Before dawn broke amidst dense morning fog, Wang Gui led his soldiers to scale the stone ramparts. Upon reaching the battlements, his troops beat war drums and roared combat cries, causing total panic among the garrison. Wang Gui took the inner citadel in a single assault, capturing the enemy commander, Prince of Haichang Wei Xianggui, and taking over eight thousand Qi soldiers captive, thereby securing the gateway for the main imperial advance.

Wang Gui then accompanied Emperor Wu's main column eastward, conquering Gaobi and Quezhi Valley before laying siege to Bingzhou and advancing directly upon the Northern Qi capital of Yecheng. Throughout the campaign, Wang Gui fought at the spearhead of the army, repeatedly breaking stubborn enemy resistance. Following the complete conquest of Northern Qi, the imperial court promoted Wang Gui to Upper Grand General, elevated his title to Duke of Tan State, increased his fief to three thousand households, and showered him with precious treasures and armor.

The Lüliang Campaign and Capture of Wu Mingche

In 577, following the fall of Northern Qi, Minister of Works Wu Mingche of the Southern Chen dynasty capitalized on the transition of garrison forces to launch a massive combined offensive against Lüliang (southeast of present-day Xuzhou, Jiangsu). Liang Shiyan, the Northern Zhou Area Commander-in-Chief of Xuzhou, suffered an initial defeat and retreated behind city walls to hold a defensive posture. Wu Mingche blocked the lower course of the Qing River with dams, constructing high embankments to flood the city while deploying warships around the inundated battlements. The regional situation became exceptionally grave. Emperor Wu urgently dispatched Wang Gui as Campaign Area Commander-in-Chief, placing him at the head of a relief force consisting of infantry, cavalry, and riverine flotillas.

Arriving at the front, Wang Gui surveyed the hydrology and terrain, discerning that the southern troops relied entirely on their aquatic mobility and would crumble if their retreat route was severed. Wang Gui covertly led an amphibious detachment downstream to Qingkou, the confluence where the Qing River entered the Huai River. There, his engineers drove heavy pilings into the riverbed and connected massive wooden wagon wheels with heavy iron chains, stringing them across the waterway to completely block any escape back to the Huai River. Learning that his retreat was compromised, Wu Mingche panicked and breached his own dams, hoping that the torrential floodwaters would propel his fleet through the estuary. However, when the Chen flotilla reached the widened waters of Qingkou, the current slackened abruptly, and the warships became snarled in the submerged iron chains and wheels. Wang Gui launched a coordinated assault from all four directions. Except for general Xiao Mohe, who led two thousand elite horsemen to break through early, the entire southern force, including supreme commander Wu Mingche and thirty thousand troops, was captured alive along with all weapons and supplies. This crushing victory extinguished Southern Chen ambitions in the Central Plains. Emperor Wu elevated Wang Gui to Pillar of the State Grand General and Area Commander-in-Chief of Xuzhou, granting him military authority over seven provinces and fifteen garrisons.

Frank Remonstrance and Tragic Demise

In 578, Emperor Wu appointed Crown Prince Yuwen Yun to lead an expedition against the Tuyuhun, appointing Wang Gui, Prince of Qi Yuwen Xian, and Yuwen Xiaobo to accompany the army as mentors, with operational authority entrusted to Wang Gui. Palace chamberlains such as Zheng Yi and Wang Duan flattered the crown prince and encouraged illicit behavior throughout the campaign. Upon returning to the capital, Wang Gui refused to compromise his principles and delivered an unvarnished report detailing the prince's misconduct. Emperor Wu was enraged, subjecting Yuwen Yun to physical chastisement and dismissing Zheng Yi, which sparked burning hatred in the crown prince against Wang Gui.

Deeply concerned about dynastic stability, Wang Gui discussed the matter in private with Junior Palace Secretary He Ruobi, who agreed that the heir was unfit for the throne and urged Wang Gui to speak frankly. During an imperial audience, Wang Gui remonstrated that the prince was deficient in benevolence and filial piety and unsuited to inherit the state. Emperor Wu summoned He Ruobi for verification, but He Ruobi backtracked out of fear, claiming the prince had committed no major faults. After court dismissed, Wang Gui bitterly rebuked He Ruobi for his duplicity; He Ruobi countered that meddling in imperial succession risked family annihilation. Wang Gui replied with a sigh that his actions were motivated solely by the survival of the dynasty, indifferent to personal safety. Later, during an imperial banquet, Wang Gui stroked the emperor's beard while offering wine, remarking sorrowfully that while Emperor Wu was a peerless sovereign, his eldest son was utterly hopeless. Emperor Wu privately acknowledged the truth, but his second son, Prince of Han Yuwen Zan, was equally mediocre, leaving the succession unchanged.

In 579, Emperor Wu passed away, and Yuwen Yun succeeded to the throne as Emperor Xuan, immediately restoring his favorites to power. Sensing impending catastrophe, Wang Gui told his family that while holding the powerful military bastion of Xuzhou adjacent to Southern Chen territory made flight effortless, a loyal minister could never compromise his integrity or betray the late sovereign. Soon after, Emperor Xuan secretly sent Palace Secretary Du Qianxin to Xuzhou, where Wang Gui was arrested and summarily executed. His unmerited death was universally lamented across the realm.

Major Achievements

Overthrowing the Autocratic Regent

Wang Gui played a pivotal role in the early governance of Northern Zhou. In the protracted struggle against the domineering Duke of Jin Yuwen Hu, Wang Gui became Emperor Wu's most reliable counselor due to his unwavering resolve and strategic foresight. By helping plan and execute the elimination of Yuwen Hu, he enabled the emperor to recover absolute imperial authority. In his subsequent role as Regular Grand Master of the Palace Secretariat, Wang Gui actively participated in foundational administrative, agrarian, and military reorganizations, laying the structural groundwork for Northern Zhou's ascendancy over rival states.

Military Triumphs at Jinzhou and Lüliang

In the wars that culminated in the reunification of northern China, Wang Gui achieved remarkable military distinction. During the campaign against Northern Qi in 576, his daring nocturnal assault on Jinzhou captured enemy commander Wei Xianggui and eight thousand soldiers, smashing the northern frontier defensive network of the Qi state. In the Battle of Lüliang in 577, confronted by the aquatic encirclement of Wu Mingche, Wang Gui devised the innovative riverine blockade using iron chains and wagon wheels, annihilating thirty thousand Chen invaders and capturing their premier commander. This victory secured the Huai River basin for Northern Zhou and permanently crippled southern military capacity.

Uncompromising Integrity and Political Martyrdom

Wang Gui exemplified the highest standard of moral courage and principled resistance regarding the imperial succession. Refusing to flatter the errant crown prince, he repeatedly advised Emperor Wu to replace the unworthy heir for the sake of the dynasty. Even when his colleague He Ruobi retreated in fear of retribution, Wang Gui maintained his unyielding stance. When Emperor Xuan unleashed his retaliatory purge, Wang Gui possessed a formidable garrison army on the border of Southern Chen, yet steadfastly refused rebellion or defection, choosing instead to accept death to preserve his unbroken loyalty to the deceased emperor.

Personal Relationships

  • Father: Wang Guang, Northern Zhou Agile Cavalry Grand General, Specially Advanced with Equal Rank to the Three Excellencies, Duke of Pingyuan County
  • Sovereign: Yuwen Yong (Emperor Wu of Northern Zhou), who placed absolute trust in him as an intimate confidant and military strategist
  • Sovereign: Yuwen Yun (Emperor Xuan of Northern Zhou), who resented Wang Gui's early remonstrances and ordered his execution upon ascending the throne
  • Political Rival: Yuwen Hu, overbearing regent and Duke of Jin, whom Wang Gui helped Emperor Wu eliminate
  • Colleague: He Ruobi, Junior Palace Secretary, who agreed privately on the succession issue but retreated when questioned by the emperor
  • Court Favorite: Zheng Yi, close attendant of Emperor Xuan, who bore a grudge against Wang Gui after being impeached for corrupting the crown prince
  • Battlefield Opponent: Wu Mingche, Southern Chen supreme military commander, captured by Wang Gui at Qingkou during the Battle of Lüliang
  • Executioner: Du Qianxin, Palace Secretary, sent by Emperor Xuan to carry out the extrajudicial killing of Wang Gui in Xuzhou

Historical Appraisals

  • Emperor Wu of Northern Zhou held Wang Gui in the highest esteem, consulting him behind closed doors on all major state affairs and treating him as his primary arm and shield.
  • Linghu Defen remarked in the Book of Zhou that Wang Gui possessed far-reaching foresight and remained steadfast in moments of crisis, praising his unblemished loyalty while lamenting his unjust execution.
  • Li Yanshou recorded in the History of the Northern Dynasties that Wang Gui was endowed with extraordinary military acumen and devoted himself entirely to the royal house, rendering peerless service in the subjugation of Qi and Chen.
  • Sima Guang recorded the victory at Lüliang and the chain-barrier tactic in detail in the Zizhi Tongjian, commending Wang Gui's exceptional mastery of operational warfare and hydraulic geography.

Related Entries

  • [[Northern Zhou]]

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Book of Zhou, Volume 40, "Biographies, No. 32: Biography of Wang Gui"
  • History of the Northern Dynasties, Volume 62, "Biographies, No. 50: Biography of Wang Gui"