杨仪
Historical photograph of Yang Yi
Image creditsUnknown authorUnknown author · Public domainImage source

Historical figure

Yang Yi (杨仪)

杨仪

Yang Yi (died 235), courtesy name Weigong, was a native of Xiangyang in Jing Province and an important civil advisor and military-administrative official of Shu Han during the Three Kingdoms period. In his early years, Yang Yi served as an Office Attendant (Zhubu) to Fu Qun, the Cao Wei Inspector of Jing Province. He subsequently defected to Guan Yu, General of the Front of Shu Han, who appointed him Officer of Merit…

Shu Han (蜀汉)

PROFILE

Yang Yi (died 235), courtesy name Weigong, was a native of Xiangyang in Jing Province and an important civil advisor and military-administrative official of Shu Han during the Three Kingdoms period. In his early years, Yang Yi served as an Office Attendant (Zhubu) to Fu Qun, the Cao Wei Inspector of Jing Province. He subsequently defected to Guan Yu, General of the Front of Shu Han, who appointed him Officer of Merit (Gongcao) and dispatched him on a mission to Chengdu. Liu Bei met with him to discuss grand strategy and military affairs, deeply admiring his intellect and appointing him Military Section Clerk to the General of the Left and later Master of Writing. In 225 (the 3rd year of Jianxing), when Zhuge Liang led the southern campaign, he recruited Yang Yi as Army Advisor to manage the routine administrative affairs of the Chancellor's Office. In 227, Yang Yi accompanied Zhuge Liang to Hanzhong for the Northern Expeditions, progressively rising to Chief Clerk to the Chancellor and General Who Pacifies Distant Lands. Sharp-witted, agile, and extraordinarily gifted in organizational logistics, Yang Yi could compute and finalize troop movements, fortification layouts, and grain supply schedules in the blink of an eye during Zhuge Liang's successive northern campaigns, earning the Chancellor's deep trust. However, Yang Yi was notoriously narrow-minded, arrogant, and irascible, harboring a bitter personal feud with Front Military Advisor Wei Yan, with whom he frequently traded death threats during military councils. In 234 (the 12th year of Jianxing), Zhuge Liang passed away during the confrontation at the Wuzhang Plains. In accordance with Zhuge Liang's posthumous arrangements, Yang Yi maintained strict order, concealed the Chancellor's demise, and led the entire army in a disciplined, secure retreat, deploying deceptive feints to deter pursuit by Cao Wei commander Sima Yi. During the retreat, Wei Yan defied orders and attempted to trap the army by destroying mountain gallery roads; Yang Yi directed He Ping to scatter Wei Yan's vanguard and dispatched Ma Dai to hunt down and execute Wei Yan, successfully averting the catastrophic splintering of the Shu forces. Having neutralized Wei Yan and preserved the army, Yang Yi arrogantly assumed that he was entitled to succeed Zhuge Liang as chancellor. However, Zhuge Liang had recognized his petty temperament in advance, recommending the magnanimous Jiang Wan to lead the government; Yang Yi was granted only the nominal title of Central Military Advisor with no real administrative staff. Consumed by bitter resentment, Yang Yi recklessly declared to Fei Yi: "Had I led the hundred thousand soldiers to surrender to Wei when the Chancellor died, would I ever have been reduced to such a miserable state today!" Shocked by this treasonous utterance, Fei Yi secretly reported him to Emperor Liu Shan, who stripped Yang Yi of rank and exiled him to Hanjia Commandery as a commoner. In 235, Yang Yi submitted another defamatory memorial from his place of exile; when officers arrived to arrest him, he committed suicide, and his family was returned to Chengdu.

Courtesy Name
Weigong (威公)
Era / Dynasty
Late Han and Three Kingdoms (Shu Han)
Date of Death
235 (13th year of the Jianxing era of Shu Han)
Ancestral Home
Xiangyang Commandery, Jing Province (modern Xiangyang, Hubei)
Highest Office
Central Military Advisor, Army Advisor to the Chancellor, Chief Clerk to the Chancellor, General Who Pacifies Distant Lands
Historical Identity
Senior minister of Shu Han, Chancellor Zhuge Liang's chief administrative clerk, commander directing Northern Expedition logistical planning and safe military retreat

LIFE TIMELINE

Relationship graph

BIOGRAPHY

Chronology

  • Late Jian'an era to 219 | Defecting to Liu Bei | Leaving Cao Wei's regional office, he joins Guan Yu; upon reaching Chengdu, Liu Bei admires his strategic acumen and appoints him Master of Writing.
  • 225 (3rd year of the Jianxing era) | Managing the Chancellor's Office | Zhuge Liang recruits Yang Yi as Army Advisor to manage official correspondence and administration during the southern expedition.
  • 227 (5th year of the Jianxing era) | Northern Expedition Service | Accompanying Zhuge Liang to Hanzhong, he is elevated to Chief Clerk to the Chancellor and General Who Pacifies Distant Lands, overseeing logistics.
  • 230 (8th year of the Jianxing era) | Master of Logistics | During the campaigns through Mount Qi, he plans provisions without deficiency, though his rivalry with General Wei Yan intensifies.
  • August 234 (12th year of the Jianxing era) | Disciplined Retreat from Wuzhang Plains | Following Zhuge Liang's death, Yang Yi conceals the bereavement, coordinates a phased withdrawal, and deters Sima Yi's pursuit.
  • Autumn 234 (12th year of the Jianxing era) | Suppressing Wei Yan | When Wei Yan burns the gallery roads in rebellion, Yang Yi directs He Ping and Ma Dai to slay Wei Yan, safely returning the army to Shu.
  • 235 (13th year of the Jianxing era) | Resentment and Exile | Bitter over being denied the premiership, he utters treasonous complaints to Fei Yi; Liu Shan demotes him to a commoner and exiles him to Hanjia.
  • Winter 235 (13th year of the Jianxing era) | Suicide in Exile | After submitting a venomous, defamatory memorial from exile, he commits suicide upon the arrival of imperial bailiffs.

Biographical Narrative

Abandoning Cao Wei for Shu and Winning Liu Bei's Favor

Yang Yi was born into a prominent scholarly gentry lineage in Xiangyang Commandery, Jing Province. In the turbulent final years of the Eastern Han Dynasty, after Cao Cao pacified Jing Province, he appointed Fu Qun as the regional Inspector, and Yang Yi was recruited as an Office Attendant (Zhubu). Possessing far-reaching ambitions and vast pride in his own talents, Yang Yi perceived that the Cao family lacked genuine popular allegiance in the south and refused to remain confined to a subordinate county posting.

During the Jian'an era, Yang Yi took the bold step of severing ties with the Cao Wei administration, traveling south to Nan Commandery to defect to Guan Yu, General of the Front under Liu Bei. Guan Yu highly commended Yang Yi's resolute allegiance, immediately appointing him Officer of Merit (Gongcao) and dispatching him westward across the mountains to Chengdu to present reports on Jing Province's military preparedness and geopolitical disposition to Liu Bei.

Upon arriving in Chengdu, Yang Yi was granted an audience with Liu Bei. In their extensive discussions, Yang Yi analyzed grand strategic currents, the difficult topography of the northern approaches, and tactical methods of advance and withdrawal with brilliant lucidity. Delighted by his pragmatic intellect, Liu Bei concluded that Yang Yi possessed exceptional military and administrative talent, promptly promoting him to Military Section Clerk to the General of the Left.

In 219, after Liu Bei triumphed over Cao Cao in the Hanzhong Campaign and declared himself King of Hanzhong, he elevated Yang Yi to Master of Writing (Shangshu). Holding responsibility for core imperial memorials, confidential dispatches, and bureaucratic decrees, Yang Yi executed administrative tasks with relentless efficiency. However, severe personal friction and ideological discord soon erupted between Yang Yi and Prefect of the Masters of Writing Liu Ba. To maintain administrative harmony within the inner court, Liu Bei transferred Yang Yi to serve as Grand Administrator of Hongnong, temporarily moving him away from the central apparatus.

Assisting Zhuge Liang and Orchestrating Northern Expedition Logistics

In 225 (the 3rd year of Jianxing), Chancellor Zhuge Liang personally mobilized the national armies to launch a southern expedition into Nanzhong. Intimately aware that Yang Yi possessed peerless organizational talent and administrative precision, Zhuge Liang recruited him as Army Advisor to the Chancellor (Canjun), instructing him to remain in Chengdu to supervise the daily affairs of the Chancellor's Office. In the capital, Yang Yi laboured day and night, managing intricate logistical allocations and official correspondence with consummate order, earning the Chancellor's unreserved praise.

In 227 (the 5th year of Jianxing), Zhuge Liang led the main military forces to garrison Hanzhong, opening his historic series of Northern Expeditions against Cao Wei. Zhuge Liang specifically summoned Yang Yi to the northern forward headquarters, appointing him to participate in central military deliberations. In 230 (the 8th year of Jianxing), Yang Yi was formally promoted to Chief Clerk to the Chancellor (Zhangshi) and granted the honorary military title of General Who Pacifies Distant Lands.

Throughout Shu Han's massive military offensives, supply logistics and troop management constituted the decisive lifeline of the campaigns. Whenever Zhuge Liang shifted battle deployments, organized defensive encampments, calculated grain tallies, or adjusted military rosters, Yang Yi sat before his desk and finalized every complex calculation in an instant. The orders and account ledgers issued to the front lines were impeccably clear and precise down to the smallest detail of soldiers' rations. Zhuge Liang relied heavily on Yang Yi's administrative genius, leaning on him as his indispensable right hand.

However, Yang Yi was deeply flawed: he was conceited, intolerant of dissent, easily offended, and obsessed with rank and retribution. Concurrently, the foremost combat general of Shu Han, Front Military Advisor and General Who Conquers the West Wei Yan, was equally proud, arrogant, and fierce. The two men harbored irreconcilable strategic disagreements and mutual personal animosity, treating each other as bitter nemeses. Whenever they met in the Chancellor's tent, Wei Yan would frequently draw his sword in a furious rage, threatening Yang Yi's life, while Yang Yi would burst into tears, weeping loudly and cursing across the table.

Confronted with this poisonous feud between two pillar figures of the state, Zhuge Liang was deeply anguished. He cherished Yang Yi's unmatched administrative efficiency while deeply valuing Wei Yan's battlefield valor and tactical daring; he constantly mediated between them, unwilling to cast aside either essential servant of the state.

The Wuzhang Retreat and the Fall of Wei Yan

In the spring of 234 (the 12th year of Jianxing), Zhuge Liang led an army of one hundred thousand troops through the Xie Valley to the Wuzhang Plains, confronting the Grand Commander of Cao Wei, Sima Yi, across the south bank of the Wei River for over one hundred days. In August of that year, exhausted by relentless burdens, Zhuge Liang became terminally ill in camp.

On his deathbed, Zhuge Liang summoned Chief Clerk Yang Yi, Marshal Fei Yi, and Protector of the Army Jiang Wei to organize post-mortem arrangements. Zhuge Liang instructed that upon his demise, his passing should be kept strictly secret; the army was to execute a disciplined, phased withdrawal into Hanzhong, with Wei Yan commanding the rearguard and Jiang Wei supporting him. Crucially, Zhuge Liang ordered that if Wei Yan refused to comply, the main army should proceed with its retreat independently, never risking the lives of one hundred thousand troops on account of one defiant general.

Following Zhuge Liang's demise, Yang Yi faithfully maintained the secret and dispatched Fei Yi to probe Wei Yan's intentions. Learning of Zhuge Liang's death, Wei Yan haughtily declared: "Though the Chancellor has died, I, Wei Yan, am still alive! How can the state's grand mission be abandoned over the demise of a single man? We must remain and continue attacking Wei; we cannot retreat merely because the Chancellor is gone!" Wei Yan attempted to seize supreme command of the army. Pretending compliance, Fei Yi slipped away and galloped back to warn Yang Yi.

Realizing that catastrophe loomed, Yang Yi acted decisively according to Zhuge Liang's contingency strategy. He aligned the battalions and began a phased withdrawal toward the mouth of the Xie Valley. Enraged that the central army was withdrawing without his consent, Wei Yan led his elite vanguard ahead of the main column, setting fire to the fragile mountain gallery roads behind him to cut off the army's escape route and force a confrontation with Yang Yi. Concurrently, both Wei Yan and Yang Yi dispatched emergency couriers to Chengdu, accusing each other of treason.

Upon receiving the conflicting reports, the young emperor Liu Shan consulted Palace Attendant Dong Yun and Master of Writing Jiang Wan; both statesmen vouched for Yang Yi's loyalty while suspecting Wei Yan of rebellion.

Yang Yi led the army through the mountains, commanding engineers to repair the burned planks and advance toward the Southern Valley, where Wei Yan had entrenched to intercept them. Demonstrating cool composure under immense pressure, Yang Yi ordered Vanguard Protector He Ping to counterattack. He Ping rode forward and bellowed at Wei Yan's soldiers: "You have all enjoyed the generous grace of the state; the Chancellor's corpse is not yet cold, how dare you follow a rebel to commit treason!" Ashamed and disoriented, Wei Yan's troops scattered immediately. Wei Yan fled toward Hanzhong with only his sons and dozens of bodyguards. Yang Yi ordered General Ma Dai to pursue him at full gallop; Ma Dai caught Wei Yan outside Hanzhong and beheaded him.

When Ma Dai presented Wei Yan's severed head to the command tent, Yang Yi rose, trampled upon the skull with his foot, and cursed venomously: "Worthless slave! Can you still commit wickedness today?" He then ordered the extermination of Wei Yan's clan. Yang Yi then led the entire military apparatus through the perilous Qinling passes. When Sima Yi pursued, Yang Yi reversed banners and sounded war drums; suspecting that Zhuge Liang was still alive, Sima Yi halted his pursuit, allowing Yang Yi to bring the entire Shu army safely back to the capital.

Arrogant Ambition and Tragic Suicide

Having brought the imperial legions safely home and extinguished Wei Yan's rebellion, Yang Yi believed he had saved the dynasty from destruction and achieved merits towering above the entire court. Furthermore, having served as Chief Clerk for many years, his seniority far surpassed his peers; he took it for granted that he would succeed Zhuge Liang as chancellor.

However, Zhuge Liang's penetrating judgment had foreseen this danger. Knowing that Yang Yi was petty, vindictive, and emotionally volatile, Zhuge Liang had determined that he lacked the magnanimity necessary to govern a nation. In a secret memorial to Emperor Liu Shan, Zhuge Liang had explicitly stated that state affairs should be entrusted to the steady, broad-minded Jiang Wan. Consequently, upon the army's return to Chengdu, Liu Shan appointed Jiang Wan as Prefect of the Masters of Writing and Governor of Yi Province, placing full civil and military authority in his hands, while granting Yang Yi only the title of Central Military Advisor—a prestigious post without an independent secretariat or troops.

Seeing Jiang Wan, whose operational seniority was inferior to his own, ascend to supreme authority while he was relegated to an idle sinecure, Yang Yi was consumed by bitter jealousy and humiliation. He complained incessantly, sighing loudly in public. Aware of his abrasive character and political demotion, court officials kept their distance, avoiding social interaction.

Only the newly appointed Rear Military Advisor Fei Yi, recalling their shared military camaraderie, visited Yang Yi's residence to offer consolation. Seeing Fei Yi, Yang Yi lost all rational self-control and slammed his fists onto the table, crying in a frenzy: "When the Chancellor died at the Wuzhang Plains, had I taken the hundred thousand soldiers and defected to Cao Wei, would I ever have been reduced to such a powerless state today! My regret is beyond all words!"

Terrified by this overtly treasonous outburst, Fei Yi outwardly nodded and calmed him, but immediately returned home to submit a confidential report to Emperor Liu Shan.

In 235 (the 13th year of Jianxing), Emperor Liu Shan was outraged by the report and ordered the authorities to arrest Yang Yi. Most ministers urged that he be executed for treason according to the penal code. However, Jiang Wan, remembering Yang Yi's immense contributions to Northern Expedition logistics under Zhuge Liang, pleaded earnestly for imperial clemency. Liu Shan commuted the death sentence, stripping Yang Yi of all ranks and banishing him as a commoner to remote Hanjia Commandery.

Exiled in Hanjia, Yang Yi showed no remorse. Seething with resentment, he penned another furious, arrogant memorial to the court, bitterly slandering the central government. Pushed beyond patience, Liu Shan dispatched imperial bailiffs to arrest him for treason. Knowing that execution was now inevitable, Yang Yi slit his own throat before the officers arrived. The court subsequently permitted his wife and children to return to Chengdu, bringing a tragic, self-inflicted end to a brilliant yet fatally flawed life.

Major Achievements

Flawless Logistical Planning for the Northern Expeditions

Yang Yi's most outstanding historical contribution to Shu Han lay in serving as the indispensable logistical architect behind Zhuge Liang's extensive military campaigns over many years.

Transporting supplies across the rugged, treacherous gallery roads of the Qinling Mountains was the single greatest bottleneck determining the viability of the Northern Expeditions.

Possessing exceptional mathematical and organizational aptitude, Yang Yi displayed brilliant efficiency in marshaling troop columns, planning military encampments, measuring grain measures, and maintaining recruitment registries. His instant calculations and decisive administrative management ensured that the Shu army was consistently supplied under grueling conditions, making him the most irreplaceable functional administrator in Zhuge Liang's headquarters.

Directing the Disciplined Retreat from the Wuzhang Plains

The sudden death of Zhuge Liang at the Wuzhang Plains in 234 was the most precarious crisis Shu Han faced since its founding. Ten thousand soldiers were deep in enemy territory, their commander was gone, and the opposing legions were pressing forward; the slightest error could have resulted in total annihilation.

Remaining composed in the face of mortal peril, Yang Yi strictly implemented Zhuge Liang's posthumous strategy, concealing the mourning, keeping the battle standards steady, and coordinating a phased retreat where rearguards covered the main columns.

Confronted with pursuit by Sima Yi's legions, Yang Yi coolly reversed banners and beat the drums, deploying psychological warfare to intimidate the Wei army into retreat and ensuring that Shu Han's hundred thousand veteran soldiers returned intact to preserve the nation.

Suppressing Wei Yan's Rebellion to Avert Dynastic Collapse

During the critical withdrawal from the Wuzhang Plains, General Wei Yan defied orders and burned the mountain gallery roads, precipitating a lethal internal civil war within the retreating forces.

Facing an isolated and perilous impasse, Yang Yi remained resolute, ordering military engineers to reconstruct the destroyed roads and pierce through the mountain defiles.

He dispatched He Ping to appeal to the soldiers' loyalty and disperse Wei Yan's vanguard, while commissioning Ma Dai to pursue and execute Wei Yan. This decisive action extinguished an internal rebellion that could have torn the Shu military apart, ruthlessly safeguarding military command and central authority.

Managing the Rigorous Administration of the Chancellor's Office

From 225, when Zhuge Liang recruited him as Army Advisor to oversee the administrative affairs of the Chancellor's Office, Yang Yi served as Zhuge Liang's primary operational aide for a decade.

He assisted in reviewing legal statutes, evaluating bureaucratic efficiency, and coordinating civil and military directives, translating Zhuge Liang's rigorous legalist philosophy into day-to-day administrative practice.

Although Yang Yi's tragic end was brought on by his profound character flaws, his tireless dedication and executive excellence in the Chancellor's Office played a vital, lasting role in sustaining the operational stability of Shu Han during the Northern Expeditions.

Personal Relationships

  • Honored Sovereign: Liu Bei (Emperor Zhaolie of Han), who interviewed Yang Yi on grand strategy, admired his talents, and appointed him Military Section Clerk and Master of Writing.
  • Trusted Superior: Zhuge Liang, Chancellor of Shu Han, who recruited Yang Yi as Army Advisor and Chief Clerk, relying on his organizational genius while remaining wary of his petty nature.
  • Mortal Factional Enemy: Wei Yan, Front Military Advisor and General Who Conquers the West; their bitter mutual hatred culminated in armed rebellion and Wei Yan's execution following the Wuzhang retreat.
  • Reporting Colleague: Fei Yi, Rear Military Advisor; mediated between Yang Yi and Wei Yan, but reported Yang Yi's treasonous remarks to Emperor Liu Shan.
  • Successor in Power: Jiang Wan, Prefect of the Masters of Writing and Grand General; selected by Zhuge Liang to succeed him, provoking Yang Yi's fatal jealousy and downfall.
  • Early Superior: Guan Yu, General of the Front; accepted Yang Yi's defection from Cao Wei, made him Officer of Merit, and sent him to Chengdu.
  • Decreeing Sovereign: Liu Shan (Emperor of Shu Han), who banished Yang Yi to Hanjia Commandery and ordered his arrest, driving him to suicide.

Historical Evaluations

  • Records of the Three Kingdoms, Vol. 40, Book of Shu 10 (Biographies of Liu, Peng, Liao, Li, Liu, Wei, and Yang): "Yang Yi was quick-witted and exceptionally skilled in planning. Whenever Zhuge Liang launched military expeditions, Yang Yi routinely organized troop formations and calculated grain supplies without delay; decisions were reached in an instant. The logistical rhythm of the armed forces depended upon Yang Yi. Zhuge Liang deeply treasured his talents while valuing Wei Yan's valor; he constantly lamented their discord, yet could not bear to discard either."
  • Chen Shou's appraisal: "Yang Yi destroyed himself through narrow-mindedness, while Wei Yan brought ruin upon himself through stubborn arrogance. Tracing the beginning to the end, their downfalls were not merely lamented by Zhuge Liang, but truly brought on by themselves. Holding the post of Military Advisor, Yang Yi brought the entire army safely home, eradicated rebels, and pacified crises; his achievements were immense. Yet filled with bitter resentment, he brought about his own destruction—how tragic!"
  • Sun Sheng in Spring and Autumn Annals of Shu-Han: "Yang Yi and Wei Yan were both fierce talents of Shu. Once they fell into discord, civil strife erupted within; Yang Yi struck down Wei Yan only to bring about his own demise. With Zhuge Liang gone, the seeds of Shu's decline first became manifest."
  • Zhuge Liang's deathbed memorial: "Yang Yi is petty and intolerant; Jiang Wan is upright and possesses majestic gravitas. Should misfortune befall me, state affairs should be entrusted to Jiang Wan."
  • Wang Fuzhi in On the Comprehensive Mirror for Aid in Government: "Yang Yi possessed talent without magnanimity, and as his merits rose, his arrogance swelled. Zhuge Liang employed Yang Yi to utilize his operational talents; Zhuge Liang excluded Yang Yi in his deathbed memorial to prevent internal chaos. A wise observer could easily foresee that Yang Yi's bitter resentment would inevitably drive him to suicide."

Related Entries

  • Zhuge Liang
  • Wei Yan
  • Jiang Wan
  • Fei Yi

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Records of the Three Kingdoms, Vol. 40, Book of Shu 10: Biographies of Liu, Peng, Liao, Li, Liu, Wei, and Yang (Biographies of Yang Yi and Wei Yan)
  • Records of the Three Kingdoms, Vol. 35, Book of Shu 5: Biography of Zhuge Liang
  • Pei Songzhi's Annotations to the Records of the Three Kingdoms, citing Weilue