He was killed by Wei Jun when Wei destroyed Shu.
Jiang Wei's life has made great contributions to the consolidation and development of the Shu-Han regime. After he joined Shu Han, he went to the Northern Expedition with Zhuge Liang four times, and made many military achievements. After Zhuge Liang's death, he calmly and methodically reorganized the army and horses to retreat safely. After Fei Yi's death, he took command of military power and sent troops to the Northern Expedition several times, determined to complete the unfinished business of his predecessors and unify the world. It was not until Liu Chan surrendered and the West Shu perished that he wanted to use Zhong Hui to revive Shu Han, which showed his firm belief in loyalty to Shu Han.
In addition, Jiang Wei has made a lot of efforts and made some contributions in carrying forward Zhuge Liang's policy of "harmony with foreigners", improving ethnic relations and strengthening ethnic unity. After Zhuge Liang's death, Jiang Wei was the secretariat of Liangzhou. In 247 AD, Wenshan (now Maowen, Sichuan) went into chaos, and Jiang Wei led his troops to pacify it. Then he sent troops to Longxi, Nan 'an and Jincheng, and fought against Wei generals Guo Huai and Xia Houba in Taoxi.
During these two expeditions, he paid attention to implementing Zhuge Liang's policy of "harmony with foreigners" before his death, appeased ethnic minorities, adjusted ethnic relations and realized the desire of national unity.
Extended information:
Jiang Wei was originally a general of Wei, but after Zhuge Liang's deviance, he turned to Shu, where he was highly valued, and then he was loyal to Shu. In the early stage, Jiang Wei was invincible. In the later stage, because of the distrust of Fei and others, the relieving power was weakened, so he was defeated repeatedly. After Fei was stabbed to death in the later stage, Jiang Wei's relieving power was returned. Although he was still a valiant soldier, the general trend was gone in the end.
Later, he wanted to surrender Zhong Hui, the general of Wei State, and encouraged Zhong Hui to rebel, but Zhong Hui's subordinates disagreed and found an opportunity to kill Zhong Hui. Jiang Wei watched the tide go, and at that time, he was distressed and had a seizure, so he drew his sword and killed himself.
After his death, he was cut open by Wei, saying that he was as bold as a chicken egg. I don't know if it confirmed the basis of Jiang Wei's audacity. It's not a tragedy that a general ended up committing suicide. It's just that even if he can win the bell club, the final result won't change much.
At that time, Shu will be weak, and after Zhuge Liang's death, there will be no strategist in the army, and there will not be many independent generals, and Wei will be strong at that time, even if the Zhong Hui is surrendered, it will only be of temporary use. So Jiang Wei's death is the trend of the times, and he has been pushed to the end of the road
Baidu Encyclopedia-Jiang Wei.