Battle of Jieting The Battle of Jieting was fought between the states of Cao Wei and Shu Han in 228 during the Three Kingdoms period of Chinese history . The battle was part of the first Northern Expedition led by Shu ' s Zhuge Liang to attack Wei . The battle concluded with a decisive victory for Wei . Opening moves . Zhuge Liang first sent generals Zhao Yun and Deng Zhi to attack Wei , while he personally led a force towards Mount Qi . Cao Rui , the emperor of Wei , moved to Chang ' an and sent Zhang He to attack Zhuge Liang while Cao Zhen would oppose Zhao Yun . Zhuge Liang chose generals Ma Su and Wang Ping to intercept Zhang He . The battle . Jieting was a crucial region for the securing of supplies , and Zhuge Liang sent Ma Su and Wang Ping to guard the region . Ma Su went accompanied by Wang Ping but did not listen to his sound military advice . Relying purely on books of military tactics , Ma Su chose to " take the high ground " and set his base on the mountains instead of in a city , ignoring Wang Ping ' s advice to make camp in a valley well supplied with water . Wang Ping , however , managed to persuade Ma Su to give him command of a portion of the troops , and later Wang set up his base camp near Ma ' s camp , in order to offer assistance when Ma was in danger . Due to this tactical mistake , the Wei army led by Zhang He encircled the hill and cut off the water supply to the Shu troops and attacked ; later , Wei forces set fire to the hill . Wang Ping led his troops in an attempt to help Ma Su but the Shu army suffered a great defeat in which both the army and the fort were lost . Though he survived the battle , Ma Su feared punishment and attempted to flee . However , he was soon captured by Shu forces . Aftermath . Ma Su was sentenced to death by Zhuge Liang , along with his deputy commanders Zhang Xiu ( 張休 ) and Li Sheng ( 李盛 ) , but Ma eventually died of illness in prison before the execution could be carried out , while the other two were executed . Because of the loss of Jieting , the supply situation became dire for Zhuge Liang ' s army and he had to retreat to his main base at Hanzhong . In addition , the defeat at Jieting had caused the First Northern Expedition to result in failure . In fiction . In Luo Guanzhong ' s historical novel " Romance of Three Kingdoms " , Ma Su was executed on the order of a tearful Zhuge Liang , whose continued high appraisal for Ma ' s intelligence made that a very reluctant decision . The scene has also been reenacted in Chinese opera . A Japanese proverb , , refers specifically to this incident , meaning " punishing a person for his wrongdoings regardless of relations or his abilities . " The equivalent in Chinese is " hui lei zhan Ma Su " ( ) . In the novel , the loss of Jieting exposed Zhuge Liang ' s current location , the defenseless Xicheng ( 西城 ) . Zhuge Liang used the Empty Fort Strategy to ward off the enemy before retreating . In many stories , including the novel , the battle includes Sima Yi on the Wei side , but this event is impossible according to his biography in the " Records of the Three Kingdoms " . Moss Roberts comments on this in his fourth volume of his English translation of Luo Guanzhong ' s novel on ( page 2179 under Chapter 95 Notes , fourth and last paragraph of the chapter notes ) : In the abstract above from Moss Roberts ' s novel , Roberts explains and compares historic history with fictional tales and the most likely reason Sima Yi was included before the Battle of Mount Qi . Some notable texts in the abstract include the western front ; the area where Kongming targeted in his expeditions , the " vacant city ruse " ; referring to the tale of Zhuge Liang ' s " Empty Fort Strategy " , and the southern front , being the areas of Wei including Fancheng , Hefei , Xiapi , and Shouchun . This means that the " Empty Fort Strategy " could not have occurred because Sima Yi was never there to fall for it and the southern front was where Sima Yi was stationed during the expeditions before Kongming targeted Mount Qi and the Wuzhang Plains . Modern references . The battle is featured as a playable stage in Koei ' s video game series " Dynasty Warriors " for the PlayStation 2 . If the player is playing on the Wei side , he has the option of following history to win the stage easily . On the other hand , if the player is playing on the Shu side , he will encounter a higher level of difficulty since one of his major objectives is to ensure the survival of Ma Su . In the collectible card game " " there is a card named Empty City Ruse in reference to the Empty Fort Strategy described in Luo Guanzhong ' s historical novel " Romance of the Three Kingdoms " .