Zhang He
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 defeated them. Wang Ping with only a handful of soldiers did his best to keep the retreat organized and ordered his soldiers to beat their drums loudly to create the impression that reinforcements had arrived. Zhang He believed this to possibly be a sign of an ambush and so he did not pursue. When Zhuge Liang arrived, he attempted to defeat Zhang He however he didn't find a way to take a position and so the Shu army had to retreat to Hanzhong.