It is said that while Jiang Wei alone propped up the precarious situation, he fought bitterly for years inside and outside Jiange against Wei generals Zhong Hui and Deng Ai. At that time, Cao Wei launched a massive campaign against Shu, with Zhong Hui leading 100,000 troops to attack Jiange, while Deng Ai led elite soldiers on a stealthy march through the Yinping trail, traversing a thousand li, and launching a surprise attack directly at Chengdu. Liu Shan, the Later Ruler of Shu Han, heeded the slanderous words of the eunuch Huang Hao, ignored the loyal remonstrations of his ministers, and instead followed the advice of the Grand Master of Ceremonies Qiao Zhou to surrender to Wei, thus opening the city gates and capitulating. Upon learning that the Later Ruler had surrendered, Jiang Wei was filled with fury, but could not turn the tide; he had no choice but to feign surrender to Zhong Hui. With Liu Shan's surrender, Shu Han perished. Having surrendered to Zhong Hui, Jiang Wei secretly plotted to revive Shu Han, and thus urged Zhong Hui to rebel against Cao Wei. Zhong Hui, who had long harbored ambitions of his own, deeply agreed and intended to kill all the Wei generals and seize control of Western Sichuan. However, Jiang Wei's plan was leaked, causing great unrest among the troops. Earlier, Deng Ai and his son were killed by Zhong Hui for executing Wei generals without authorization; subsequently, Zhong Hui and Jiang Wei were both attacked by mutinous soldiers and died in the army.
Now, Sima Zhao, due to his merit in conquering Shu, was promoted to the Prince of Jin and held all power, and everyone knew his intention to usurp the Wei throne. Before long, Sima Zhao died of illness, and his son Sima Yan succeeded him. Sima Yan, following Cao Cao's precedent, forced the Wei ruler Cao Huan to abdicate, declared himself emperor, and changed the dynastic title to Jin. Of the three kingdoms, two were now in the hands of Jin. Later, Emperor Wu of Jin, Sima Yan, sent generals Du Yu and Wang Jun with both land and naval forces to attack Eastern Wu. At that time, the ruler of Eastern Wu, Sun Hao, was brutal and debauched, causing the court and its subjects to be estranged, and was unable to mount a defense. The Jin army broke through like splitting bamboo, striking directly at Jianye. Sun Hao came out of the city to surrender, and thus Eastern Wu also perished. With this, the century-long strife of the Three Kingdoms came to an end, and the realm was once again unified under the Sima clan. Truly: The endless Yangtze River rolls eastward, its waves washing away all heroes. Right and wrong, success and failure, all turn to nothing; the green hills remain, as the sunset glow reddens time and again.