临洮县
In the summer of 254, Jiang Wei led Shu forces to attack Longxi Commandery again. Li Jian (李簡), the Wei official in charge of Didao (狄道; around present-day Lintao County, Gansu), surrendered to Jiang Wei. Jiang Wei then pressed further to attack Xiangwu County (襄武縣; southeast of present-day Longxi County, Gansu) and engaged the Wei general Xu Zhi in battle. Xu Zhi was defeated and killed, but the Shu army also lost a general, Zhang Ni. The victorious Shu forces then occupied three counties – Didao, Heguan (河關; in the vicinity of present-day Dingxi, Gansu) and Lintao – and forced the residents to relocate to Shu-controlled territory.