Linxia County
The Wei government ordered Xiahou Ba to lead troops to garrison at the flank. When Guo Huai and his forces showed up at Didao (狄道; around present-day Lintao County, Gansu), his advisers suggested that they should attack Fuhan County (枹罕縣; in present-day Linxia County, Gansu) and pacify the Qiang tribes first before dealing with the Shu invaders. Guo Huai predicted that Jiang Wei would attack Xiahou Ba's position, so he headed south to reinforce Xiahou Ba. As he expected, Jiang Wei did attack Xiahou Ba at the west of the Tao River, but retreated when Guo Huai and his reinforcements showed up. Guo Huai then moved on to attack the Qiang rebels, killed Ehe and Shaoge, and forced the thousands of Qiang clans to surrender.