It refers to Jiang Wei taking advantage of Zhong Hui's ambition and instigating Zhong Hui to rebel. When Zhong Hui got rid of Deng Ai and proclaimed himself king, he took the opportunity to get rid of Zhong Hui and restore the Shu Han state again.
Deng Ai sneaked across the Jinggu Road, marched to Mianzhu, defeated Zhuge Zhan, Liu Chan opened the city and surrendered, and ordered Jiang Wei to surrender. However, Jiang Wei led his army to surrender to Zhong Hui.
After Jiang Wei surrendered to Zhong Hui, he knew that Zhong Hui wanted to rebel, so he persuaded Zhong Hui to try to kill the Wei general. On the one hand, Zhong Hui framed Deng Ai, and on the other hand, he prepared to rebel. However, the matter was exposed, and Jiang Wei Wei, Zhong Hui and Shu general Zhang Yi were all killed, and Deng Ai was also killed by Tian Xu.
Extended information:
After Zhuge Liang's death, Jiang Wei also began to rise to prominence in the Shu Han Dynasty. After Fei Yi's death, Jiang Wei began to take sole control of the military, and then followed the orders of his former lord. , and continued to lead the Shu Han army in the northern expedition to Cao Wei.
However, just when Jiang Wei was in power and ready to use his fists. The internal dynasty of Shu has begun to become unstable. In 262 AD, Jiang Wei's last Northern Expedition was unfortunately defeated by Deng Ai. Jiang Wei suffered heavy losses and the people were resentful.
Later, because the ministers in Shu began to oppose Jiang Wei's Northern Expedition, and the eunuch Huang Hao regained power, Jiang Wei failed to kill him, so he had to go to Tazhong to farm to avoid trouble. Sima Zhao took the opportunity to launch a large army to attack Shu. .
Jiang Wei and Zhong Hui faced each other at Jiange. At this time, no one thought that Deng Ai would lead his troops over the mountains and down the Yinping path where the Shu army had no defense, and killed Zhuge Zhan in Mianzhu. The troops arrived in Chengdu.
Seeing that the situation was over, Liu Chan chose to surrender to Deng Ai and ordered Jiang Wei to surrender to Zhong Hui.
Reference: Baidu Encyclopedia-Jiang Wei