Battle of Mount Qi

Battle of Mount Qi (Battle of Lucheng)
Part of Zhuge Liang's Northern Expeditions

Map showing the fourth and fifth Northern Expeditions
DateMarch – August 231
Location
Southeastern Gansu, China (Mount Qi, Shanggui, and Lucheng)
Result Shu tactical victory; Wei strategic victory (Shu forces withdraw due to supply shortages)
Belligerents
Cao Wei Shu Han
Xianbei (Briefly)
Commanders and leaders
Sima Yi
Zhang He †
Fei Yao
Dai Ling
Guo Huai
Jia Si
Wei Ping
Zhuge Liang
Wang Ping
Wei Yan
Wu Ban
Gao Xiang
Kebineng
Strength
Unknown Unknown
Casualties and losses
Heavy (According to Han Jin Chunqiu) Unknown

The Battle of Mount Qi (祁山之戰), also known as the Battle of Lucheng (鹵城之戰), was a military conflict which took place around Mount Qi and Lucheng (in present-day southeastern Gansu) between the states of Cao Wei and Shu Han in 231 during the Three Kingdoms period of China. It was the fourth of Zhuge Liang's five Northern Expeditions.

During this campaign, the Shu regent Zhuge Liang achieved significant tactical victories, including a major defeat of the Wei commander Sima Yi at Lucheng and the killing of the veteran Wei general Zhang He in an ambush. However, the campaign ultimately resulted in a strategic Wei victory, as continuous heavy rainfall disrupted the Shu supply lines, forcing Zhuge Liang to retreat. The campaign is also notable for the first military use of the "Wooden ox" (木牛) by Shu forces to transport supplies, and the subsequent political downfall of the Shu minister Li Yan due to his logistical failures.