In early 263, Jiang Wei requested reinforcements from
Chengdu after he heard that the Wei government had put the general
Zhong Hui in charge of military affairs along the Wei–Shu border. However, Liu Shan believed in Huang Hao's witchcraft, according to which destiny dictated that Wei would not attack. Liu Shan did not inform Zhuge Zhan of Jiang Wei's warnings. Nevertheless, Liu Shan did send reinforcements before the Wei invasion commenced. When the Wei forces started advancing towards Shu in September 263, the first half of Jiang Wei's plan worked – the Wei forces marched unopposed until they reached Han (漢; in present-day
Mian County,
Shaanxi) and Yue (樂; in present-day
Chenggu County, Shaanxi) counties, which served as bait to wear out the enemy. However, Zhong Hui sent two smaller detachments to attack the two counties and led the main Wei army further into Shu territory. In the meantime, Jiang Wei lost to the Wei generals Wang Qi (王欣) and Yang Xin (楊欣) and had to retreat to the highly fortified mountain pass at Jiange (劍閣; in present-day
Jiange County,
Sichuan). Upon learning that Jiang Wei's plan had failed and sown the seeds of destruction, Zhuge Zhan hastily assembled an army in Chengdu and moved to Fu County to prepare for a final defence.
Battles with Deng Ai, and death The aforementioned military movements happened within weeks, and Zhong Hui's rapid advance shocked most of the Shu generals. As they realised the danger of letting the enemy in, Jiang Wei and his comrades were still stuck at Jiange. As he knew that Jiange was well-defended, Zhuge Zhan did not send reinforcements there and instead held his position in Fu County. When the Wei general
Deng Ai suddenly appeared in Jiangyou (江由) with his troops after taking a dangerous shortcut across mountainous terrain, the official in charge of Jiangyou surrendered without putting up a fight. Huang Chong, a son of
Huang Quan, had urged Zhuge Zhan on numerous occasions to move quickly and seize control of advantageous terrain before Deng Ai did. Zhuge Zhan, however, deemed Huang Chong's plan too ambitious and adopted a more "cautious" approach instead. When Huang Chong repeatedly urged him to attack Deng Ai, Zhuge Zhan relented and tentatively sent a vanguard force to attack the enemy, which defeated them. Zhuge Zhan then left Fu County for the better fortified
Mianzhu, where he planned to make a last stand against Deng Ai. When Deng Ai besieged Zhuge Zhan at Mianzhu, he offered the latter a chance to surrender and promised to recommend to the Wei government to enfeoff Zhuge Zhan as the Prince of Langye if he surrendered. However, Zhuge Zhan refused, had Deng Ai's messenger executed, and ordered his troops to prepare for battle outside the pass. He supposedly arranged his troops in the Eight Trigrams Formation invented by his father. At the time, there were other notable Shu figures with Zhuge Zhan at Mianzhu, including Zhang Zun (張遵; a grandson of
Zhang Fei), Li Qiu (李球; an imperial guard commander), Huang Chong, as well as Zhuge Zhan's eldest son
Zhuge Shang. After Huang Chong gave a speech to the Shu soldiers to boost their morale, both sides engaged in battle. Deng Ai ordered his son Deng Zhong (鄧忠) and another officer Shi Zuan (師纂) to flank Zhuge Zhan's position. They moved to the formation's left and right but the Shu forces intercepted them and drove them back; only Deng Ai's central force remained intact. When Deng Zhong and Shi Zuan complained that there was no way to break the formation and suggested that they retreat, Deng Ai angrily said that they must win if they wanted to live another day, and even threatened to execute anyone who spoke of retreat. Deng Zhong and Shi Zuan then led their men to attack the Shu formation again and succeeded in breaking it. Zhuge Zhan, Zhuge Shang, Zhang Zun, Li Qiu, Huang Chong and other Shu officers were killed in action. ==In
Romance of the Three Kingdoms==