The Battle of Didao, also known as the Battle of Taoxi, was fought between the states of Shu Han and Cao Wei in 255 during the Three Kingdoms period in China. The battle concluded with a Wei victory.
Prelude
In 255, Shu general Jiang Wei decided to take advantage of the death of Wei regent Sima Shi by launching another campaign against Wei. The invasion force was one of the largest Jiang Wei had gathered in his Northern Expeditions, totalling at least 30,000 men, and included commanders such as Xiahou Ba and Zhang Yi. It is worth noting that both Xiahou Ba and Zhang Yi held higher appointments than Jiang Wei in administrating civil affairs, but Jiang Wei was in command instead because it was a military campaign. Xiahou Ba was a relative of the Shu imperial family (both of his nieces were married to Shu emperor Liu Shan). Zhang Yi was considered more senior than Jiang Wei and Xiahou Ba as he served Shu's founding emperor Liu Bei, while Jiang and Xiahou only joined Shu after Liu Bei's death. Between 18 September and 17 October, Jiang Wei's army took Fuhan (枹罕; located northeast of present-day Linxia County, Gansu), and advanced towards Didao (狄道; present-day Lintao County, Gansu).
The newly appointed Wei Inspector of Yong Province, Wang Jing, immediately notified his direct superior, General Who Subdues the West, Chen Tai, claiming that the enemy appeared to attack simultaneously on three fronts, targeting Mount Qi (祁山), Shiying (石营), and Jincheng (金城; present-day Lanzhou, Gansu), and suggested that they should engage the enemy on those fronts. Wang Jing volunteered to lead an army to face the enemy at Shiying, and proposed having another force to defend Mount Qi. Meanwhile, Wei armies in Liang Province should be deployed to Baohan to check the enemy's advance towards Jincheng. Chen Tai was dubious about this initial intelligence since it was highly unlikely that Shu could rally such a huge army for the campaign Wang Jing perceived. Nonetheless, the Shu invasion force was one of the largest so far, and the Wei defenders could not afford to split forces. Furthermore, Wei armies in Liang Province would not be fully utilized if they were deployed elsewhere, since they would be fighting on unfamiliar terrain. Hence, Chen Tai replied to Wang Jing that they must further carefully analyse Jiang Wei's move because it was unlikely that the enemy could afford to split their forces on different fronts, and Wei must concentrate its forces to achieve absolute numerical superiority over the enemy. Wang Jing was ordered to focus on defending Didao and refrain from engaging the enemy, while waiting for the arrival of reinforcements. Chen Tai asked the Wei imperial court for reinforcements, while he led a relief army towards Chencang (陳倉; located east of present-day Baoji, Shaanxi).
The battle
Wei defeat at Gu Pass
Wang Jing, with virtually no military experience, had gravely underestimated the enemy and erroneously believed that the Shu army would be tired after the prolonged march, and it would be better not to provide them with any chance to rest and regroup, but to defeat them early in a pre-emptive strike. Wang Jing was confident that he would score a decisive victory because of his numerical superiority, and because unlike the Shu army whose supply line was overstretched, he had no such logistic problems. Therefore, Wang Jing ignored Chen Tai's order to remain in Didao, and instead led his force to Gu Pass (故關) on the upstream of the Tao River. Gu Pass is located to the north of present-day Lintao County, Gansu, and it is on the western bank of the Tao River. In October 255, both sides clashed on the western bank of the Tao River, and Wei suffered a disastrous defeat: the number of soldiers drowned in the Tao River in their attempts to escape alone totalled more than 10,000, and most of Wang Jing's troops were lost. Wang Jing was forced to lead his remaining 10,000 troops back to Didao in the south after crossing the Tao River, and regroup behind the safety of the city walls. The battle on the western bank of Tao River, known as the Battle of Gu Pass (also known as the Battle of Taoxi), was the greatest victory Jiang Wei had achieved in his northern expeditions, and it was also his last.