Liu Bei knows the situation and commands properly. At the beginning of the war, Liu Bei understood that Zhang He and Xia had a certain relationship. At first, Liu Bei's sneak attack failed, but suffered heavy losses. However, Liu Bei understood that Zhang He was a military genius. The following year, Liu Bei prepared to occupy Dingjun Mountain. Wei also knows that Dingjun Mountain is a strategic place and cannot be lost. So Xia Pai and Zhang He went to station. Hearing this, Liu Bei understood the direction of the war. Zhang He was stationed in the east of Dingjun Mountain and in the south of Dingjun Mountain in summer. When Liu Bei saw it, he wanted to break it one by one. Zhang He is a formidable enemy, so we have to make strict arrangements. For Xia, he is just a headstrong man with extremely high force, but he lacks military talent. Soon Zhang He was besieged, Xia was stopped by Huang Zhong, and finally Wei Jun was defeated.
Xia was stopped by Liu Bei's Huang Zhong. Huang Zhong stopped Xia's reinforcements, so that Zhang He could not get reinforcements, and finally ended in failure. Although Huang Zhong surrounded Xia, making it impossible for him to reinforce Zhang He, Liu Bei's careful consideration before the war allowed Huang Zhong to lurk near Dingjun Mountain and ambush Wei reinforcements. Liu Bei defeated Zhang He's army, which made Xia unable to help. Wei Jun fled in defeat.
In the battle of Dingjun Mountain, I think the last hero was Liu Bei.