Hanzhong Campaign
In 217, Liu Bei launched the Hanzhong Campaign to seize control of Hanzhong Commandery from Cao Cao because Hanzhong was the northern gateway into Yi Province. Liu Bei's general Huang Zhong killed Cao Cao's general Xiahou Yuan at the Battle of Mount Dingjun of 218–219.