Strategic planning and opening moves Between 247 and 262,
Jiang Wei, a general from Wei's rival state
Shu Han, led
a series of military campaigns to attack Wei's western borders, but failed to make any significant territorial gains.
Sima Zhao felt that Shu was growing weak and lacking in resources after all the campaigns, hence he wanted to launch a large-scale invasion of Shu to eliminate it. Among those he consulted, only Zhong Hui agreed that Shu could be conquered. Zhong Hui assisted Sima Zhao in formulating a strategy for the conquest of Shu. In the winter of 262–263, Zhong Hui was appointed General Who Guards the West () and granted imperial authority to manage military affairs in the
Guanzhong region. Sima Zhao also mobilised military forces from the various provinces in Wei and ordered
Tang Zi to oversee the construction of warships in preparation for an invasion on Wei's other rival state,
Eastern Wu. In the autumn of 263, the Wei imperial court issued an edict ordering
Deng Ai and
Zhuge Xu to lead 30,000 troops each and attack Shu from two directions: Deng Ai's force would pass through Gansong (甘松; southeast of present-day
Têwo County,
Gansu) and Tazhong (沓中; northwest of present-day
Zhugqu County, Gansu), and engage Jiang Wei's army; Zhuge Xu's force would pass through Wujie Bridge (武街橋; northwest of present-day
Wen County, Gansu) and block Jiang Wei's retreat route. Zhong Hui led another army, numbering some 100,000 men, and entered Shu territory via the Xie Valley (斜谷; southwest of present-day
Mei County,
Shaanxi) and Luo Valley (駱谷; southwest of present-day
Zhouzhi County, Shaanxi). Zhong Hui ordered
Xu Yi, a son of the veteran Wei general
Xu Chu, to oversee the construction of a road leading into Shu. However, when the road turned out to be poorly built, Zhong Hui disregarded Xu Yi's background and had him executed for failing his mission. The Wei army was shocked at Zhong Hui's audacity.
Engagements with Shu forces In response to the Wei invasion, the Shu government ordered its armed forces to refrain from engaging the enemy and instead retreat to Hancheng (漢城; east of present-day
Mian County,
Shaanxi) and Lecheng (樂城; east of present-day
Chenggu County, Shaanxi) and hold their positions. Liu Qin (), the Administrator of the Wei-controlled Weixing
Commandery (魏興郡; around present-day
Ankang, Shaanxi), led his army through the Ziwu Valley (子午谷; east of present-day
Yang County, Shaanxi) towards the Shu-controlled Hanzhong Commandery. The Shu officers Wang Han () and Jiang Bin () defended Hancheng and Lecheng respectively with 5,000 troops each. Zhong Hui ordered his subordinates Xun Kai () and Li Fu () to lead 10,000 men each to attack Hancheng and Lecheng, while he led his main army towards Yang'an Pass (陽安口; also known as Yangping Pass, in present-day
Ningqiang County, Shaanxi). Along the way, he sent his men to pay respects on his behalf at
Zhuge Liang's tomb. When he arrived at Yang'an Pass, he ordered
Hu Lie () to lead the attack on the pass. Hu Lie succeeded in capturing the pass and the supplies stored there by Shu forces. Jiang Wei retreated from Tazhong towards Yinping (陰平; northwest of present-day
Wen County, Gansu), where he rallied his troops and prepared to reinforce Yang'an Pass. However, he retreated to a fort at Baishui (白水; in present-day
Qingchuan County,
Sichuan) when he heard that Yang'an Pass had been captured by Wei forces. He rendezvoused with the Shu generals
Zhang Yi,
Liao Hua and others and moved to defend their position at the fortified mountain pass Jiange (劒閣; also known as
Jianmen Pass, in present-day Jiange County, Sichuan). Zhong Hui wrote a long address to the Shu forces, urging them to give up resistance and surrender to Wei.
Deng Ai pursued Jiang Wei to Yinping, where he formed a group of elite soldiers from among his troops and took a shortcut to Jiangyou (江由; north of present-day
Jiangyou, Sichuan) through Deyang Village (德陽亭; northwest of present-day Jiange County, Sichuan), and approached
Mianzhu, which was near the Shu capital
Chengdu. He asked
Zhuge Xu to join him. Zhuge Xu had received orders to block Jiang Wei's advance and was not authorised to join Deng Ai in his mission, so he led his force to Baishui County to rendezvous with Zhong Hui. Zhong Hui ordered Tian Zhang () and others to lead a force to bypass the west of Jiange and approach Jiangyou. Along the way, they encountered three groups of Shu ambushers, defeated them and destroyed their camps. Deng Ai let Tian Zhang lead the vanguard and clear the path.
Fall of Shu When Zhong Hui and
Zhuge Xu arrived near Jiange, Zhong Hui desired to seize control of Zhuge Xu's command, so he secretly reported to the Wei imperial court that Zhuge Xu displayed cowardice in battle. As a result, Zhuge Xu was stripped of his command and sent back to the Wei capital
Luoyang, while Zhong Hui took command of his army. Zhong Hui then ordered an attack on Jiange but failed to conquer the mountain pass because the Shu forces put up a strong defence, so he retreated. In the meantime,
Deng Ai and his men reached
Mianzhu, where they defeated a Shu army led by
Zhuge Zhan, who was killed in action. When
Jiang Wei learnt of Zhuge Zhan's death, he led his forces east towards Ba Commandery (巴郡; present-day
Chongqing). Zhong Hui led his army to Fu County (涪縣; present-day Mianyang, Sichuan) and ordered
Hu Lie (),
Tian Xu,
Pang Hui and others to lead troops to pursue Jiang Wei. At the same time, Deng Ai and his men had arrived outside Chengdu. The Shu emperor
Liu Shan surrendered to Deng Ai without putting up a fight, and then gave orders to Jiang Wei to surrender to Zhong Hui. Jiang Wei headed to Fu County, where he ordered his men to lay down their arms and surrender to Zhong Hui. Following the successful conquest of Shu, Zhong Hui wrote a memorial to the Wei imperial court to report his contributions and urge the government to pacify and restore peace in Shu through benevolent governance. He also gave strict orders forbidding his troops from plundering and pillaging the Shu lands, and treated the former Shu officials in a respectful manner. He got along very well with Jiang Wei. In the winter of 263–264, the Wei imperial court issued a decree to praise Zhong Hui for his contributions in the conquest of Shu. Zhong Hui was appointed
Minister over the Masses, promoted from a village-level marquis to a county-level marquis, and had the number of taxable households in his marquisate increased to 10,000. His two (adoptive) sons were each granted a village marquis title and 1,000 taxable households in their marquisate. ==Downfall and death==