하후연
In 218, Liu Bei launched a campaign to seize control of Hanzhong from Cao Cao's forces. He garrisoned his forces at Yangping Pass (陽平關; in present-day Ningqiang County, Shaanxi) while Zhang He stationed his troops at Guangshi (). Liu Bei divided his thousands of elite soldiers into ten groups and ordered them to attack Zhang He's position at night. Zhang He personally led his men to resist Liu Bei's forces and succeeded in holding off the enemy. In the meantime, Liu Bei set fire to the fences at Zhang He's camp in Zouma Valley (). Xiahou Yuan led some soldiers to put out the fire and encountered Liu Bei's force along the way and engaged the enemy. Xiahou Yuan was killed in action while Zhang He retreated. According to the "Weilüe", Liu Bei was fearful that Xiahou Yuan would be replaced by Zhang He as the commander of Cao Cao's forces in Hanzhong. He also expressed disappointment after learning that it was Xiahou Yuan, and not Zhang He, who was killed in battle.