After Sima Yi had captured Cao Shuang, he first imprisoned him. After a few days, Sima Yi issued a forged imperial edict, falsely accusing Cao Shuang and his brothers of plotting rebellion, and exterminated their three clans. All members of Cao Shuang's faction were executed, and their families were also wiped out. In the Gaopingling Incident, Sima Yi eliminated Cao Shuang effortlessly, seized total power, and the Wei state fell entirely into the hands of the Sima clan.
From then on, the Sima clan dominated the court and laid the foundation for usurping the Wei dynasty and establishing the Jin dynasty. Indeed: Once the treacherous hero wielded his cunning, the rivers and mountains of the state shifted.
Let us speak of Jiang Wei. Since Zhuge Liang's passing, he felt deeply the heavy responsibility of restoring the Han dynasty, so he carried forward his will and launched several Northern Expeditions. In the sixteenth year of Yanxi, Jiang Wei led troops out from Didao to attack the west of the Tao River. Wei General-in-Chief of the Western Campaigns Guo Huai, Yongzhou Inspector Chen Tai, and others led forces to resist him. When Jiang Wei's army reached the west of the Tao River, Wei general Xu Zhi led troops to meet them. Jiang Wei bravely took the lead and cut him down in one encounter. The Wei army was heavily defeated, and Guo Huai retreated to hold his position. At that time, Wei General of Pacifying the West Xiahou Ba, resentful because the Sima clan had massacred his family, surrendered to Shu Han. Jiang Wei was overjoyed, accepted his advice, and gained his strategies. In this battle, Shu Han's prestige and might greatly increased.
In the eighteenth year of Yanxi, Jiang Wei again led troops on a Northern Expedition, capturing Longxi with the intention of seizing Guanzhong. Wei Grand General Sima Zhao ordered Chen Tai and other generals to resist the enemy. Jiang Wei besieged the city of Didao. As Wei reinforcements were about to arrive, Chen Tai cleverly set up an ambush, intending to cut off the Shu army's supply route. Although Jiang Wei saw through the plan, the enemy forces were strong and supplies were difficult to maintain, so he led the troops back to Hanzhong.
In the nineteenth year of Yanxi, Jiang Wei, hearing that Wei General-in-Chief of the Western Campaigns Guo Huai had died, once again raised an army to attack Wei, directly targeting Didao. Wei sent General of Pacifying the West Chen Tai and Grand General Deng Ai to lead the resistance. Jiang Wei and Deng Ai confronted each other outside the city, and the battle remained deadlocked.
Now, as for Wei general Deng Ai, he was deeply versed in the art of war and adept at using ingenious strategies. Jiang Wei and Deng Ai clashed many times near Didao, each side winning and losing. Wei general Wang Jing, ignoring Deng Ai's advice, rashly gave battle and was defeated by Jiang Wei, suffering heavy casualties. Deng Ai then launched a counterattack, setting up an ambush according to plan. The Shu army also suffered a defeat, and Jiang Wei had no choice but to withdraw. This was Jiang Wei's third Northern Expedition.