Recruited by Cao Cao as Magistrate of Zhang County; served successively as Magistrate of Chengshi, Haixi, and Xiapi with exemplary governance.

Liang Xi (梁习)
梁习
Liang Xi (梁习, ?–230 AD), courtesy name Ziyu, was a native of Zhe County in Chen Commandery (present-day northern Zhecheng County, Henan Province). He was an outstanding frontier administrator, statesman, and military strategist of the Cao Wei state during the Three Kingdoms Period, celebrated throughout Chinese history for governing Bingzhou for more than two decades with an administrative record consistently recognized as…
PROFILE
Liang Xi (梁习, ?–230 AD), courtesy name Ziyu, was a native of Zhe County in Chen Commandery (present-day northern Zhecheng County, Henan Province). He was an outstanding frontier administrator, statesman, and military strategist of the Cao Wei state during the Three Kingdoms Period, celebrated throughout Chinese history for governing Bingzhou for more than two decades with an administrative record consistently recognized as the finest in the entire realm. In his early career, Liang Xi served as magistrate of several counties in Xu and Huai regions, consistently achieving exemplary administrative performance before being recruited into Cao Cao's headquarters as Director of the Western Bureau. In 206 AD, following Cao Cao's defeat of rebel Gao Gan, Liang Xi was appointed Major of a Separate Division acting as Inspector of Bingzhou. Arriving in a war-torn frontier overwhelmed by marauding Southern Xiongnu tribes and local warlord fortresses, Liang Xi implemented an astute policy of strategic pacification. He won over local magnates with official appointments, gradually relocated their armed retinues and families to the capital at Ye to eliminate insurrection threats, and ruthlessly crushed intractable rebel factions. Liang Xi governed Bingzhou for over twenty years, establishing an extraordinary record of frontier tranquility and economic revival known in historiography as "Liang Xi's Paramount Governance." He induced the Southern Xiongnu Chanyu Hu Chujuan and tribal kings to accept imperial administration, registering nomadic tribesmen as regular taxpaying citizens and mobilizing them for military service. He relocated four vulnerable northern border commanderies inward to create Xinxing Commandery and founded the new city of Jiuyuan, while promoting extensive agricultural colonies and water conservancy. In 225 AD, he campaigned into the northern steppe, slaying rebel leader Yuyan and routing the formidable Xianbei confederation under Kebineng. In 228 AD, he was summoned to the imperial court as Minister of Finance, passing away in office in 230 AD. Living in incorruptible austerity, his legacy endured as the supreme standard of frontier governance.
- Courtesy Name
- Ziyu (子虞)
- Ancestral Home
- Zhe County, Chen Commandery (陈郡柘县)
- Date of Death
- 230 AD (Taihe 4th Year)
- Highest Office
- Minister of Finance (大司农)
- Major Offices
- Magistrate of Zhang County (漳县长), Magistrate of Chengshi (乘氏令), Magistrate of Haixi (海西令), Magistrate of Xiapi (下邳令), Director of the Western Bureau (西曹属), Inspector of Bingzhou (并州刺史), Minister of Finance (大司农)
- Peerage
- Marquis of Shenmen Pavilion (申门亭侯)
- Identity
- Eminent provincial governor, frontier strategist, and cabinet minister of Cao Wei
LIFE TIMELINE
Promoted to Clerk and Director of the Western Bureau in Cao Cao's Excellency of Works headquarters, recommending virtuous talents.
Appointed Major of a Separate Division acting as Inspector of Bingzhou following Gao Gan's rebellion, entering the devastated province unaccompanied.
Persuaded Southern Xiongnu Chanyu Hu Chujuan and tribal nobility to submit to imperial law and register as taxpaying households; ennobled as Secondary Marquis.
Confirmed as Inspector of Bingzhou upon Emperor Wen's accession; elevated in peerage to Marquis of Shenmen Pavilion.
Led an expedition north of the frontier, executing rebel leader Yuyan and routing ten thousand Xianbei horsemen under Kebineng.
Recalled to Luoyang by Emperor Ming (Cao Rui) to serve as Minister of Finance, managing national granaries and agrarian taxation.
Passed away in official residence while fulfilling public duties; mourned by the court and succeeded by his son Liang Shi.
Relationship graph
BIOGRAPHY
Biography
Diligent County Governance and Headquarters Service
Liang Xi served as a junior local officer in Chen Commandery during his youth, earning widespread respect for integrity and moral discipline. In the early Jian'an era, after Cao Cao welcomed Emperor Xian to the new capital at Xu, imperial recruiters sought out men of administrative competence. Recognizing Liang Xi's administrative capabilities, Cao Cao appointed him Magistrate of Zhang County.
In Zhang County, Liang Xi lightened labor services and adjudicated court dockets with transparent impartiality, restoring public trust in local government. Recognizing his talents, Cao Cao reassigned him successively as Magistrate of Chengshi, Haixi, and Xiapi. These coastal and central commanderies had suffered years of civil war between regional warlords, leaving fields abandoned and banditry rampant. In each assignment, Liang Xi eradicated predatory despots, gathered displaced refugees to reclaim wild tracts, and constructed drainage canals. His jurisdictions prospered, and commoners celebrated his benevolence.
Owing to his sterling record, Cao Cao promoted Liang Xi to the central headquarters as Clerk of the Western Bureau, advancing him shortly to Director of the Western Bureau. The Western Bureau oversaw the selection, evaluation, and appointments of officials throughout Cao Cao's administration. Liang Xi executed his duties with scrupulous fairness, resisting personal favoritism and selecting candidates strictly on merit. He recommended distinguished scholars such as Chang Lin and Yang Jun to court, earning Cao Cao's profound trust.
Crisis in Bingzhou and Masterful Pacification
In 206 AD, Cao Cao led imperial forces to crush Gao Gan, the nephew of Yuan Shao who had raised rebellion in Bingzhou. Although Gao Gan was eliminated, Bingzhou remained in acute turmoil. Decades of civil war since the Yellow Turban Rebellion had turned the territory into an anarchic buffer zone between the Central Plains and the northern nomads. The Southern Xiongnu roamed freely across Taiyuan and Shangdang Commanderies, defying imperial magistrates.
Furthermore, indigenous clan magnates took advantage of the chaos to construct fortified strongholds, arming thousands of private retainers and looting neighboring towns. Civilian officials and refugees frequently fled into tribal encampments for survival. Viewing Bingzhou as an ungovernable morass, most imperial commanders avoided appointment. Cao Cao selected Liang Xi, commissioning him as Major of a Separate Division acting as Inspector of Bingzhou.
Traveling without armed escort, Liang Xi entered the provincial seat at Taiyuan in a single carriage. Upon arrival, he possessed neither military garrisons nor financial reserves. Realizing that blunt military coercion would drive local magnates and nomadic tribes into an armed coalition, Liang Xi devised a strategy combining diplomatic accommodation with calculated leverage.
He issued courteous invitations to prominent clan chieftains and fortress commanders across the province, inviting them to the provincial capital. Meeting them cordially, Liang Xi refrained from investigating past transgressions, instead commissioning talented leaders as provincial attendants or county magistrates according to their abilities. Surprised by his generosity, the local magnates pledged their allegiance to the state.
Relocating Magnates and Integrating the Xiongnu
Once local magnates let down their guard, Liang Xi issued provincial directives mobilizing private retinues for frontier border defense. As clan troops departed for seasonal garrison duty, Liang Xi systematically arranged for their elderly relatives and children to be relocated to the imperial administrative capital at Ye.
A handful of recalcitrant magnates recognized this hostaging strategy and organized armed defiance. Liang Xi acted decisively, leading loyal detachments to exterminate the conspirators. Terrified by his swift justice, the remaining magnates submitted without resistance, peaceably transferring their families to Ye. Within months, private fortresses that had fragmented Bingzhou for decades were disbanded, restoring uniform imperial administration across the province.
Following the suppression of clan fortresses, Liang Xi focused on subduing the Southern Xiongnu. While Chanyu Hu Chujuan resided at court in Ye as an imperial guest, his royal kinsmen and tribal chieftains commanded tens of thousands of horsemen inside Bingzhou, routinely flouting imperial statutes. Liang Xi pursued a policy balancing generous conciliation with absolute authority.
He personally visited nomadic encampments to explain imperial governance and the mutual benefits of border markets. At the same time, he enacted strict military laws stipulating that any nomadic warrior who plundered civilian property would face public execution. Awed by his unyielding justice, Xiongnu chieftains submitted to his jurisdiction. Liang Xi introduced the household registration system among the tribes, enrolling nomadic families as taxpaying citizens who provided cavalry mounts and corvee labor. Cao Cao commended Liang Xi's extraordinary frontier achievement, awarding him the title of Secondary Marquis.
Twenty Years of Paramount Frontier Governance
Liang Xi governed Bingzhou for over twenty years, executing visionary border reforms. To secure the northern frontier while protecting vulnerable border populations, he implemented the policy of inward relocation. He submitted a memorial proposing the transfer of civilians from exposed northern outposts in Dingxiang, Yunzhong, Wuyuan, and Shuofang inward into the Xinding basin, establishing Xinxing Commandery and constructing the fortified city of Jiuyuan. This reform provided border families with secure farmlands away from nomadic raids.
Economically, Liang Xi organized extensive agricultural colonies and water conservancy projects along the Fen River basin. Soldiers and resettled civilians reclaimed tens of thousands of acres of wasteland, cutting extensive irrigation networks. During farming seasons, Liang Xi prohibited officials from demanding corvee labor and personally inspected villages to encourage sericulture and livestock breeding. Within years, Bingzhou was transformed into a prosperous agrarian sanctuary, storing millions of bushels of grain in state granaries.
Culturally, Liang Xi established public academies in every commandery, appointing classical scholars to instruct both Han and nomadic youths. Under his enlightened guidance, ethnic tensions dissolved into harmonious coexistence, achieving a tranquil state where nomadic chieftains paid homage and tribesmen functioned as registered citizens. Following Emperor Wen's accession, an imperial decree praised Liang Xi: "His governance is consistently the finest in the realm, surpassing even ancient model administrators!" He was elevated in peerage to Marquis of Shenmen Pavilion.
Northern Triumph Over Kebineng and Final Years
In 225 AD, northern geopolitics was destabilized by the rise of Xianbei leader Kebineng, who unified steppe coalitions and amassed over a hundred thousand cavalry, secretly inciting local chieftain Yuyan to attack the northern border passes. Despite advanced age, Liang Xi took personal command of Bingzhou forces and launched a punitive expedition into the steppe.
Executing a rapid flanking march across arid terrain, Liang Xi trapped Yuyan's vanguard. In the ensuing clash, Liang Xi's commanders slew Yuyan on the battlefield, scattering his followers. When Kebineng arrived with tens of thousands of heavy cavalry to rescue his ally, Liang Xi deployed disciplined formations of heavy crossbowmen to shatter the charging horsemen. Suffocating under accurate missile fire, the Xianbei forces disintegrated in disorder, compelling Kebineng to send envoys offering submission and tribute. This decisive victory secured the northern frontier for decades.
In 228 AD, Emperor Ming recalled Liang Xi to the capital at Luoyang, appointing him Minister of Finance to oversee imperial agriculture, granaries, and national revenue. Despite holding one of the Nine Ministries in his seventies, Liang Xi personally reviewed transport ledgers and grain inventories at dawn each day, eliminating embezzlement and waste.
In 230 AD, Liang Xi passed away in his official residence. Throughout his career as a high regional administrator and cabinet minister, he lived in unadorned simplicity, dedicating his stipends to assisting impoverished soldiers and refugees. When his household was examined after his demise, no surplus wealth was discovered, leaving only worn volumes and homespun bedding. Deeply grieved, Emperor Ming ordered an honorable state funeral, and his son Liang Shi inherited the peerage.
Major Achievements
Pacifying Bingzhou Through Solitary Courage
In 206 AD, arriving in a frontier devastated by civil war, roving nomads, and defiant fortresses, Liang Xi took up office in a single carriage without military escort.
Through diplomatic appointments and the strategic transfer of magnate families to the capital, he dissolved entrenched warlord power, restoring civil authority without widespread warfare.
Integrating the Southern Xiongnu Into Registered Households
Confronting powerful Southern Xiongnu tribal coalitions, Liang Xi balanced benevolence with uncompromising legal enforcement.
He secured the submission of the Chanyu and tribal chieftains, enrolling nomadic clans into the imperial household registry to pay taxes and provide cavalry levies—an unprecedented milestone in ancient Chinese frontier administration.
Paramount Governance Across Two Decades
Over twenty years of provincial administration, Liang Xi enacted the inward migration of four northern commanderies to establish Xinxing Commandery and Jiuyuan city.
His development of extensive irrigation canals and agricultural colonies turned a war-torn frontier into a fertile sanctuary, with his record celebrated by three emperors as "Liang Xi's Paramount Governance."
Crushing Kebineng and Pacifying the Steppe
In 225 AD, confronting a massive northern invasion led by Xianbei chieftain Kebineng and rebel leader Yuyan, Liang Xi led an expeditionary force across the frontier.
Executing a lightning strike, he slew Yuyan and routed Kebineng's steppe army, securing enduring peace across northern China.
Integrity and Financial Stewardship
Serving as Minister of Finance in his twilight years, Liang Xi managed state revenues with meticulous probity and frugality.
Passing away with empty pockets and leaving a legacy of personal incorruptibility, he stood alongside Du Ji as the twin paragons of civil administration in the Cao Wei dynasty.
Personal Relationships
- Sovereign: Cao Cao
- Sovereign: Cao Pi
- Sovereign: Cao Rui
- Son: Liang Shi
- Talent Recommended: Chang Lin
- Talent Recommended: Yang Jun
- Subdued Chanyu: Hu Chujuan
- Defeated Chieftain: Yuyan
- Defeated Warlord: Kebineng
- Administrative Peer: Du Ji
Historical Evaluations
- Cao Pi: "Inspector of Bingzhou Liang Xi has governed for more than twenty years with clean simplicity and benevolence, uniting kindness with authority. The Chanyu prostrates before him, tribal retinues render obedient service, and his governance is constantly the foremost in the empire. Even ancient exemplary administrators cannot surpass his achievements!"
- Chen Shou (Records of the Three Kingdoms): "Liang Xi's administrative record was constantly the finest in the realm. In placating desolate frontiers and pacifying distant barbarians, he brought them into the household registry to pay taxes on par with inner commanderies. Since the Han and Wei eras, no frontier governor has equaled Liang Xi's abilities!"
- Pei Songzhi: "Liang Xi was resolute and possessed profound stratagem. He pacified Bingzhou in a single carriage, uprooted clan magnates to strengthen the capital at Ye, and subdued the Xiongnu to fill imperial granaries. His reputation as the foremost administrator was truly deserved."
- Sima Guang (Zizhi Tongjian): "Governing Bingzhou for more than twenty years, Liang Xi curbed predatory magnates, protected commoners, and brought foreign tribes into submission. His administration was acclaimed as the finest in the realm, representing the crown of exemplary officials."
- Wang Fuzhi (On the Zizhi Tongjian): "Liang Xi governed nomadic tribes with combined majesty and benevolence, transforming them into regular citizens and securing borderlands without perpetual war. This embodies the ancient royal way of managing frontier realms."
Related Entries
- Chang Lin
- Du Ji
- Cao Cao
- Cao Pi
- Cao Rui
- Kebineng
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Chen Shou, Records of the Three Kingdoms, Volume 15, "Book of Wei: Biographies of Liu, Sima, Liang, Zhang, Wen, and Jia"
- Pei Songzhi, Annotations to Records of the Three Kingdoms, Volume 15, "Biography of Liang Xi"
- Fan Ye, Book of the Later Han, Volume 89, "Treatise on the Southern Xiongnu"