Three Kingdoms
← All people

HISTORICAL PERSON

Wei Yan

魏延

Wei Yan followed Liu Bei into Yi Province and rose through military service. Liu Bei later entrusted him with the defense of Hanzhong; he also served in Zhuge Liang’s northern campaigns.

Shu-HanFull profile

This entry is supported by historical references, but does not yet have a conversation profile.

PRIMARY BIOGRAPHY

Biography

Wei Yan (d. 234), courtesy name Wenchang, came from Yiyang. He entered Shu in Liu Bei’s own retinue, earned repeated merit, and rose to General of the Standard. In 219, when Liu Bei became King of Hanzhong and returned to Chengdu, he needed a general of weight to hold the province. Everyone assumed it must be Zhang Fei — Zhang Fei assumed so too. Liu Bei instead raised Wei Yan over their heads to area commander of Hanzhong with the title General who Guards Distant Lands, and the whole army was astonished. At the great assembly Liu Bei asked him publicly: I give you this charge — what will you do with it? Wei Yan answered: if Cao Cao comes with all the armies of the world, I ask leave to stop him for Your Majesty; if an enemy general comes with a hundred thousand, I ask leave to swallow him. Liu Bei approved, and the assembly admired his spirit.

Under the Shu throne Wei Yan rose to General who Guards the North and a precinct marquisate. In 227 Zhuge Liang established himself in Hanzhong for the northern expeditions and made Wei Yan commander of the vanguard division, with the concurrent posts of major to the chancellor and inspector of Liang province. In 230 Wei Yan led a column west into the Qiang country, where the Wei general Fei Yao and the inspector Guo Huai met him at Yangxi; Wei Yan crushed them, and was promoted to General-in-Chief who Conquers the West with the ceremonial credentials and the fief of Marquis of Nanzheng.

On every expedition Wei Yan asked for ten thousand picked troops to take a separate route and join Zhuge Liang at the Tong pass, as Han Xin once divided forces with Liu Bang; Zhuge Liang, cautious, always refused. Wei Yan called him timid and lamented that his talent went unused. He fed his soldiers well and was brave beyond most men, but his pride was fierce and the whole court stepped around him — except the senior clerk Yang Yi, who would not yield an inch. Wei Yan hated him to the bone; the two were as fire and water, and Wei Yan more than once drew his blade, with Fei Yi sitting between them to keep the peace.

In autumn 234 Zhuge Liang lay dying at Wuzhangyuan and arranged the retreat in secret with Yang Yi, Fei Yi and Jiang Wei: Wei Yan was to cover the rear, with Jiang Wei behind him — and if Wei Yan refused, the army was to march without him. When Zhuge Liang died, his death was concealed and Fei Yi was sent to sound Wei Yan out. Wei Yan said: the Chancellor is dead, but I am still here. His household officers can escort the coffin home; I will lead the armies against the enemy myself. How can one man’s death set aside the affairs of the world? And besides — what am I, Wei Yan, that I should take orders from Yang Yi and play rearguard for him?

Yang Yi began the withdrawal as planned; Wei Yan, furious, raced south ahead of the army, burning the plank roads behind him. Each memorialized against the other for treason, the dispatches crossing daily; asked to judge, Dong Yun and Jiang Wan stood surety for Yang Yi and doubted Wei Yan. Reaching the southern valley mouth first, Wei Yan blocked the army’s path; Yang Yi sent He Ping forward, who shouted down at Wei Yan’s men: the Chancellor is not yet cold — how dare you! Knowing their cause was wrong, the soldiers melted away. Wei Yan fled toward Hanzhong with his sons and a few followers; Ma Dai rode him down, killed him, and brought back his head, which Yang Yi trampled, crying "Wretched slave — can you do harm now?" Wei Yan’s family was exterminated to the third degree. Chen Shou, closing the biography, is careful to note: Wei Yan did not turn north to Wei but south — his intent was only to kill Yang Yi; he expected the court’s opinion would make him Zhuge Liang’s successor. So his purpose ran — and it was not true treason.

Life and role

Primary role
General Who Guards the North
Active period
Late Eastern Han to Shu Han
Primary group
Shu-Han

Affiliations across a lifetime

  1. Before 219

    Liu Bei’s retainer in Shu

    Followed Liu Bei into Shu as a retainer and rose through merit to General of the Standard.

  2. 219–223

    Guardian of Hanzhong

    Raised over Zhang Fei to hold Hanzhong; "a hundred thousand I will swallow for you."

  3. 227–234

    Vanguard of the northern expeditions

    Crushed Guo Huai at Yangxi in 230; repeatedly begged for a detached column and raged against Yang Yi.

  4. 234

    The burned plank roads · death and debate

    After Zhuge Liang’s death he burned the retreat roads to cut off Yang Yi, was abandoned by his men, and killed by Ma Dai; Chen Shou judged it no true treason.

HISTORICAL RECORD

Historical sources

  1. Records of the Three Kingdoms · Shu, Book 10 · 刘彭廖李刘魏杨传 ↗

    Chen Shou’s base text contains the biographies of Liu Feng (with Meng Da), Peng Yang, Liao Li, Li Yan, Liu Yan (劉琰), Wei Yan, and Yang Yi. The page also carries Pei Songzhi’s annotations, which should be identified separately.