In 223, Liu Bei died in Baidicheng and Liu Chan acceded to the throne. At this time, the four generals of Shu and Han were all dead, and Zhuge Liang reused Wei Yan again. Wei Yan played a very important role in Zhuge Liang's southern expedition and northern expedition. During Zhuge Liang's first northern expedition, Wei Yan put forward the idea of surprise attack on the meridian valley, but Zhuge Liang disagreed. However, at this time, the contradiction between Wei Yan and Yang Yi became increasingly serious. Yang Yi's repeated denigration made Zhuge Liang distrust Wei Yan more and more. In 234, Zhuge Liang died of illness in Wuzhangyuan. When Zhuge Liang passed on his last words, there was no Wei Yan. Zhuge Liang said, "After I die, you will retreat and Wei will be the pioneer. If he doesn't withdraw, the army will retreat. " After Zhuge Liang's death, Wei Yan really didn't want to retire. He said, "Although the Prime Minister is dead, I am still here, and I can continue the Northern Expedition." Judging from the situation at that time, Wei Yan was already the first warrior of Shu Han, and his statement was not groundless. But at this time, Yang Yi was forced by words, and Wei Yan was confused for a moment, so he set fire to the supply route of the Shu army and publicly opposed Yang Yi. As a result, many soldiers were dissatisfied and Wei Yan was defeated by Yang Yi. When he retreated to Hanzhong, he was killed by Ma Dai. When Yang Yi saw Wei Yan's head, he kicked hard with his feet and kept cursing.
Wei Yan and the Romance of the Three Kingdoms in history are totally two people. The real fifth tiger general in the history of Shu Han was criticized as having an anti-bone behind his head. If Wei Yan had knowledge under the spring, he might not cry.