Wei Yan 魏延 Wenchang 文长

Shu Han general who was made Hanzhong administrator instead of Zhang Fei (219), won at Yangxi (230), proposed the Ziwu Valley plan, and after Zhuge Liang's death clashed with Yang Yi over the retreat—killed as a 'rebel' though the record states he intended only to remove Yang Yi, not defect.

Contents

Wei Yan (simplified: 魏延, traditional: 魏延, pinyin: Wèi Yán), courtesy name Wenchang (文长 Wéncháng), was a general of Shu Han from Yiyang (modern Henan). He joined Liu Bei as a retainer in 211 and fought in the takeover of Yi Province, becoming General of the Household Garrison. When Liu Bei became King of Hanzhong (219) he surprised the army by appointing Wei Yan—instead of Zhang Fei—as General Who Pacifies the Distance and Administrator of Hanzhong; Wei Yan vowed to “hold off” a full Cao attack and “swallow” a force of a hundred thousand. He was promoted to General Who Guards the North and later, under Zhuge Liang, to Chancellor’s司马, Governor of Liang Province, and Supervisor of the Vanguard. In 230 he defeated Fei Yao and Guo Huai at Yangxi and was made Army Master of the Vanguard, General Who Conquers the West, Staff Bearer, and Marquis of Nanzheng. He repeatedly proposed leading a separate column through Ziwu Valley to meet at Tong Pass (like Han Xin); Zhuge Liang did not adopt it and Wei Yan resented it. He clashed fiercely with the Chief Clerk Yang Yi. When Zhuge Liang died at Wuzhangyuan (234) he ordered Wei Yan to cover the retreat; Wei Yan refused to serve under Yang Yi, burned the plank roads, and confronted Yang Yi; the court sided with Yang Yi. Wang Ping’s rebuke (“The duke has died, his body not yet cold—how dare you!”) caused Wei Yan’s troops to disperse; Ma Dai pursued and killed him. The history states that Wei Yan’s intent was to remove Yang Yi and that he did not mean to defect. His “heavy-gate” (实兵诸围) defence of Hanzhong was later continued by Wang Ping at Xing Shi.


Biography

Rise and appointment to Hanzhong

Wei Yan was from Yiyang. In 211 he joined Liu Bei as a retainer (部曲) and entered Shu; he had repeated battle merit and was made General of the Household Garrison. In 219 Liu Bei became King of Hanzhong and returned to Chengdu. The choice of who would guard Hanzhong was critical; everyone assumed it would be Zhang Fei and Zhang Fei thought so too. Liu Bei instead promoted Wei Yan to General Who Pacifies the Distance and Administrator of Hanzhong. The whole army was astonished. Liu Bei convened the officials and asked Wei Yan what he would do in his new post. Wei Yan said: “If Cao Cao leads the whole realm here, I will hold him off for the king; if a lieutenant brings a hundred thousand, I will swallow them for the king.” Liu Bei approved and the assembly praised his boldness. When Liu Bei became emperor (221) Wei Yan was made General Who Guards the North. In 223 Liu Shan succeeded and Wei Yan was enfeoffed as Marquis of Duting.

Under Zhuge Liang: northern campaigns and Ziwu Valley

When Zhuge Liang prepared to campaign north (227) he moved to Hanzhong and made Wei Yan Supervisor of the Vanguard, Chancellor’s司马, and Governor of Liang Province. In 230 Cao Zhen proposed a multi-pronged attack on Shu; Wei Yan led a force west into the Qiang region and at Yangxi defeated the Wei General of the Rear Fei Yao and Governor of Yong Province Guo Huai. Zhuge Liang memorialised his merit and Wei Yan was made Army Master of the Vanguard, General Who Conquers the West, Staff Bearer, and Marquis of Nanzheng. In 231 (fourth northern campaign) Wei Yan, Gao Xiang, and Wu Ban fought Sima Yi and the Wei army was heavily defeated—three thousand heads and large amounts of equipment were taken. Wei Yan often asked to lead ten thousand troops on a separate route to meet at Tong Pass, “like Han Xin”; Zhuge Liang always refused. According to the Wei lüe, at the first northern campaign (227) Wei Yan proposed taking five thousand elite through the Ziwu Valley to strike Chang’an, arguing that the defender Xiahou Mao was timid and would flee; Zhuge Liang considered the plan too risky and did not use it. Wei Yan often said Zhuge Liang was timid and resented that his talent was not fully used.

Conflict with Yang Yi and death

Wei Yan was brave and good at caring for his troops but arrogant; most generals gave way to him. Only the Chief Clerk Yang Yi would not defer; the two were like fire and water. At meetings Wei Yan sometimes drew his blade on Yang Yi, who wept; Fei Yi often sat between them to mediate. When Zhuge Liang fell critically ill at Wuzhangyuan (234) he discussed the retreat with Yang Yi, Fei Yi, and Jiang Wei. The plan was for Wei Yan to bring up the rear and Jiang Wei next; if Wei Yan did not obey, the army would withdraw without him. After Zhuge Liang’s death Yang Yi kept it secret and sent Fei Yi to sound out Wei Yan. Wei Yan said: “Although the chancellor has died, I am still here. The chancellor’s household can take the coffin back for burial; I will lead the army to attack the enemy. How can one man’s death stop the business of the realm? And I, Wei Yan—why should I be under Yang Yi and do the rearguard?” Fei Yi pretended to agree and said he would go back and get Yang Yi to comply; once out of the camp he rode away. Wei Yan then learned that Yang Yi was leading the army home according to plan. He was furious, moved south ahead of Yang Yi, and burned the plank roads to block the retreat. Both Wei Yan and Yang Yi sent memorials accusing the other of rebellion. The court (Dong Yun, Jiang Wan) sided with Yang Yi. Wei Yan occupied the southern valley mouth and attacked Yang Yi; Yang Yi sent Wang Ping to resist. Wang Ping shouted at Wei Yan’s vanguard: “The duke has died, his body not yet cold—how dare you do this!” The troops decided the fault was Wei Yan’s and scattered. Wei Yan fled with his sons to Hanzhong. Yang Yi sent Ma Dai to pursue; Ma Dai caught and killed Wei Yan and brought back his head. Yang Yi trampled the head and said: “Stupid slave! Can you do evil again?” Wei Yan’s three clans were executed. The SGZ concludes: “Wei Yan’s intention in not going north to surrender to Wei but turning south was only to kill Yang Yi and the rest. Usually the generals did not side with him, and he hoped contemporary opinion would have him replace Liang. That was his aim. It was not that he meant to rebel.”


Personality and traits

Wei Yan was brave, good at nurturing soldiers, and proud; his contemporaries avoided crossing him. He repeatedly asked to lead a separate column (Ziwu Valley or “ten thousand to meet at Tong Pass”) and resented Zhuge Liang’s refusal. His feud with Yang Yi was extreme; Fei Yi had to sit between them. Chen Shou wrote that he “invited disaster by his own actions.” Yang Xi’s praise in the Jihan Fuchen Zan calls him “stubborn and rough, charged with a difficult task; he resisted the enemy abroad and guarded the borders; discord and disunity, forgetting restraint he spoke rebellion—regrettable in the end from the start, such was his nature.” Sun Quan reportedly said that once Zhuge Liang was gone, Yang Yi and Wei Yan would cause trouble.


Military achievements

Wei Yan fought in the takeover of Yi Province and was given Hanzhong (219). He designed or maintained the “heavy-gate” defence (实兵诸围)—strongholds at key passes—which Wang Ping later used successfully at Xing Shi (244) against Cao Shuang. At Yangxi (230) he defeated Fei Yao and Guo Huai. In the fourth northern campaign (231) he took part in the victory over Sima Yi (three thousand heads). His proposed Ziwu Valley strike on Chang’an was never executed.


Relationships

He served Liu Bei from 211 and Liu Shan after 223. Liu Bei chose him over Zhang Fei for Hanzhong. Under Zhuge Liang he was vanguard and Governor of Liang Province but his Ziwu Valley plan was rejected. He was at odds with Yang Yi and, to a degree, with other generals; Fei Yi mediated. After Zhuge Liang’s death the court trusted Yang Yi and Dong Yun and Jiang Wan; Wang Ping’s shout turned the rank and file against Wei Yan; Ma Dai carried out the execution.


Anecdotes and allusions

”If a hundred thousand come, I will swallow them”

偏将十万之众至,请为大王吞之 (Piān jiàng shíwàn zhī zhòng zhì, qǐng wèi dàwáng tūn zhī)

When Liu Bei appointed Wei Yan to guard Hanzhong he asked what he would do. Wei Yan said: “If Cao Cao leads the whole realm here, I will hold him off for the king; if a lieutenant brings a hundred thousand, I will swallow them for the king.” Often cited to show his confidence and Liu Bei’s trust.

Source: SGZ Wei Yan zhuan
Type: Historical

Ziwu Valley plan

子午谷之计 (Zǐwǔ gǔ zhī jì)

Wei Yan proposed leading five thousand elite through the Ziwu Valley to take Chang’an by surprise, with Xiahou Mao expected to flee; the main army would advance by the main route and meet him. Zhuge Liang rejected it as too risky. Later historians debated whether the plan could have succeeded.

Source: Wei lüe (in Pei Songzhi’s note to SGZ)
Type: Historical

”Rebel bone” (Romance only)

反骨 (Fǎngǔ)

In the Romance, when Wei Yan is presented to Liu Bei after saving Huang Zhong and killing Han Xuan, Zhuge Liang orders him executed because he has “rebel bone” (反骨) at the back of his head and will rebel later. Liu Bei intervenes. This is fictional; the history does not mention it.

Source: SGYY
Type: Fictional

Dream of a horn

梦头上生角 (Mèng tóu shàng shēng jiǎo)

Before Zhuge Liang’s death (234) Wei Yan dreamed he had a horn on his head. The dream interpreter Zhao Zhi told him to his face it meant the enemy would collapse without a fight (麒麟有角而不用); in private he said “horn” (角) was “knife above” (刀下用)—a very bad omen. Wei Yan was soon killed.

Source: SGZ Wei Yan zhuan
Type: Historical


Achievements

  • Military: Guard of Hanzhong (219–234); “heavy-gate” layout; Yangxi victory (230); part in defeat of Sima Yi (231); proposed Ziwu Valley plan.
  • Political: Army Master of the Vanguard, General Who Conquers the West, Staff Bearer, Marquis of Nanzheng; first in Jianxing reign to receive a staff.
  • Legacy: Controversial—killed as “rebel” but SGZ states he did not intend to defect; Ziwu Valley debate; “rebel bone” in Romance; Wang Ping continued his Hanzhong strategy.

Behind the scenes

Wei Yan appears in SGZ Shu 10 (with Liu Feng, Peng Yang, Liao Li, Li Yan, Liu Yan, Yang Yi). The Wei lüe gives a different version: Zhuge Liang entrusted the army to Wei Yan and had him conceal the death and withdraw; Yang Yi feared Wei Yan would harm him, spread the word that Wei Yan was going to defect to Wei, and attacked him; Wei Yan had no such intention, did not fight, and was pursued and killed. Pei Songzhi considers the Shu account (Yang Yi in charge of retreat, Wei Yan refusing to serve under him and burning the roads) more reliable. The Zizhi Tongjian states clearly that Wei Yan “in fact had no intention of rebelling.”


Historical evaluations

  • Chen Shou: “Wei Yan was good at nurturing soldiers and brave beyond others; he was proud and the rest yielded to him”; “with his courage and strategy he was employed… looking at his actions and the pattern he followed, he brought disaster on himself.”
  • Yang Xi (Jihan Fuchen Zan): “Wenchang was stubborn and rough; when given a hard task he resisted the enemy abroad and guarded the borders; discord and disunity, forgetting restraint he spoke rebellion—regrettable in the end from the start, such was his nature.”
  • Sun Quan: “Yang Yi and Wei Yan are petty men; once there is no Zhuge Liang they will surely cause trouble.”
  • Pei Songzhi: Those who say Zhuge Liang was timid for not using Wei Yan’s plan do not consider that the Wei ruler and Sima Yi were not to be underestimated; even a steady advance on Longyou did not go as wished—how much less a risky strike on Chang’an.

Legacy

Wei Yan is remembered as the general who was chosen over Zhang Fei for Hanzhong and who proposed the Ziwu Valley strategy. His death in the power struggle with Yang Yi and the explicit note that he did not intend to rebel have made him a figure of debate. His Hanzhong defence scheme was continued by Wang Ping at Xing Shi. He appears in the Romance (with the “rebel bone” episode), opera (purple face), and games.


Timeline

YearEvent
211Joined Liu Bei as retainer, entered Shu; later General of the Household Garrison
219Liu Bei King of Hanzhong; Wei Yan made General Who Pacifies the Distance, Administrator of Hanzhong (“hold off full attack, swallow 100k”)
221Liu Bei emperor; Wei Yan General Who Guards the North
223Liu Shan succeeded; Wei Yan Marquis of Duting
227Zhuge Liang to Hanzhong; Wei Yan Chancellor’s司马, Governor of Liang Province, Supervisor of Vanguard; Ziwu Valley plan (Wei lüe) rejected
230Yangxi: defeated Fei Yao, Guo Huai; Army Master of Vanguard, General Who Conquers the West, Staff Bearer, Marquis of Nanzheng
231With Gao Xiang, Wu Ban defeated Sima Yi (3,000 heads)
234Zhuge Liang died at Wuzhangyuan; ordered Wei Yan rearguard; Wei Yan refused to serve under Yang Yi, burned plank roads; clash; Wang Ping’s rebuke; troops scattered; Ma Dai killed Wei Yan; three clans executed

See also


References