Readify

Liu Bei's campaign for Hanzhong

The Romance of the Three Kingdoms

Liu Bei's campaign for Hanzhong turns control of a defended region into a test of command, terrain, supplies, and political authority. Beginning with the advance on Dingjun Mountain and ending with Cao Cao's retreat, the campaign gives Huang Zhong and Zhao Zilong decisive battlefield roles while showing Kong Ming repeatedly converting the enemy's expectations into liabilities. The result is a Shu victory: Cao Cao withdraws, and settlements around Hanzhong fall to Liu Bei's forces or surrender to the promise of peace and security.

Strategic Setting and Advance

After Huang Zhong's forces took Tiandang Mountain and its supply depot, Liu Bei decided to advance in person toward Hanzhong. In autumn of AD 218, he arrived at Jiameng Pass with Zhao Zilong and Zhang Fei. The immediate strategic objective was to take Dingjun Mountain: as Liu Bei recognized, its capture would clear the route toward Yangping Pass. The campaign thus hinged not just on defeating the opposing army, but on controlling the heights and approaches that connected its defensive positions.

Huang Zhong was eager to attack Dingjun, but Kong Ming urged restraint. He regarded Xiahou Yuan, the defender, as an experienced commander who had defended Xiliang, defeated Ma Chao, and taken Hanzhong. Kong Ming proposed calling Guan Yu to assume command rather than committing Huang Zhong at once. Huang Zhong reacted angrily and insisted that he could take three thousand of his best men and bring back Xiahou Yuan's head. He won permission to lead the attack, on the condition that Kong Ming choose an assistant to accompany him.

Kong Ming sent Zhao Zilong, Liu Feng, and Meng Da with Huang Zhong. He explained to Liu Bei that the way to rouse the older generals was to appear to dismiss them. The apparent slight was therefore part of the command arrangement, not evidence that Kong Ming had abandoned confidence in Huang Zhong. Yan Yan was also assigned to relieve Zhang Fei and Wei Yan so that they could join the fighting for Hanzhong.

Huang Zhong at Dingjun Mountain

Cao Cao responded to the fall of Tiandang by calling an urgent meeting. Liu Ye warned that losing Hanzhong would put the whole of Wei at risk. Within days Cao Cao set out with four hundred thousand men, accompanied by a heavily ceremonial escort that made his advance appear imperial in scale. His army arrived at Nanzheng while Huang Zhong's forces besieged Dingjun Mountain.

At Dingjun, Xiahou Yuan and Zhang He wanted to demonstrate their competence to Cao Cao. Xiahou Yuan proposed an attack and boasted that he would capture Huang Zhong alive. Huang Zhong first sent Chen Shi against a scouting party, but Chen Shi was drawn into an ambush and captured. Huang Zhong then rallied his troops with generous gifts and promises of more reward. His men advanced toward the summit, taking positions as they went. The account calls this method turning the guest into the host: the attackers steadily gained ground, while the defenders were drawn into responding to their movements.

Zhang He understood the danger and urged Xiahou Yuan to remain on the defensive. Xiahou Yuan rejected the advice and sent Xiahou Shang to attack. Huang Zhong defeated the attack and captured Xiahou Shang. A truce was arranged to exchange Xiahou Shang for Chen Shi, and the exchange took place in an open valley. As Xiahou Shang was returning to his own side, Huang Zhong shot him in the back. Xiahou Yuan charged in response, giving Huang Zhong the engagement he wanted, but neither commander overcame the other before warning gongs ended the encounter.

The decisive opportunity came from a mountain fort opposite the main supply camp. After Shu forces captured it, Huang Zhong used its vantage point to assess how to trap the enemy. When Xiahou Yuan again ignored Zhang He's advice and surrounded the fort, its defenders refused to answer his calls to fight. Fa Zheng waited until the attacking troops had grown unresponsive to the stalemate, then signaled Huang Zhong to strike from a different direction. The sudden attack trapped the opposing forces, and Huang Zhong killed Xiahou Yuan. The fall of the commander opened the way for Liu Feng and Meng Da to capture Dingjun Mountain. Zhang He and the surviving troops fled to the River Han.

Cao Cao's Counterattack and Zhao Zilong's Rescue

Cao Cao interpreted Xiahou Yuan's death through an earlier prediction by Guan Lu. He understood the reference to the twenty-fourth year of the Jian'an era and the yellow pig meeting a tiger as foretelling Xiahou Yuan's death, and the loss of a limb as the loss of a close friend. He nevertheless launched an army of two hundred thousand toward Jiameng Pass, determined to defeat Liu Bei. Liu Bei ordered an attack on the enemy camp and supply lines to weaken the advance, and Huang Zhong led the force that overran a supply camp.

As Huang Zhong prepared to burn the captured supplies, Zhang He attacked and trapped him. When Huang Zhong failed to return, Zhao Zilong went to find him, leaving Zhang Yi with a small garrison to guard the camp. Zhao Zilong fought through enemy troops until he found Huang Zhong surrounded by Zhang He's men. He broke through the encirclement, scattered the troops, and forced Zhang He to retreat, enabling him to bring Huang Zhong back to safety.

The danger then reached Zhao Zilong's own camp. Zhang Yi saw clouds of dust raised by an approaching enemy, and the two commanders prepared an ambush. Zhao Zilong stood alone at the main gate with his spear levelled while Zhang Yi concealed archers and crossbowmen nearby. Cao Cao, advancing with his troops, saw Zhao Zilong and urged his men forward; their hesitation at the lone defender gave the ambush its opening. At Zhao Zilong's signal, the hidden archers and crossbowmen fired. The Wei force, including Cao Cao, turned and fled; the supplies were destroyed, and the army withdrew to Nanzheng in disorder. Liu Bei praised Zhao Zilong's decisive actions.

Cao Cao advanced again toward the River Han. Command on the Wei side was shared by Xu Huang and Wang Ping, a local commander whose knowledge of the area shaped his advice. Xu Huang prepared to cross the river, but Wang Ping warned him that an army crossing would have difficulty returning if the attack went badly. Xu Huang dismissed the warning, built a bridge, and crossed. The expedition ended in heavy losses when Liu Bei's troops attacked from several directions. Xu Huang was forced back across the river, and many of his men drowned during the retreat.

Rather than accept responsibility, Xu Huang blamed Wang Ping for not coming to his rescue. Wang Ping answered that he had warned against the crossing and would not endanger the base by abandoning it. That night he set fire to the camp, prompting Xu Huang to leave, then crossed the river and surrendered to Zhao Zilong. Wang Ping's defection further weakened Cao Cao's position and brought local knowledge into Liu Bei's camp.

Kong Ming's River Stratagems and Cao Cao's Retreat

Cao Cao led his army to the east bank of the River Han, facing Zhao Zilong's men on the west. Kong Ming broke the deadlock through a repeated night deception. He sent Zhao Zilong with five hundred men to a secluded hillside beyond the enemy camp and instructed them to make a threatening noise at a signal. Kong Ming waited until the lights in Cao Cao's camp went out before giving the signal. The drums, horns, and shouting repeatedly roused the Wei troops, who feared an imminent assault but found no enemy where they expected one. After three nights without adequate rest, they withdrew from the riverbank.

Kong Ming then advised Liu Bei to cross the river and establish a camp with the water behind his troops. The unusual position confused Cao Cao. The next day the commanders exchanged accusations over who had betrayed the imperial court, and the armies engaged. Liu Bei's forces retreated toward the river, leaving camps and supplies behind. Cao Cao suspected a trap because the enemy had placed itself with its back to the river and abandoned so much equipment, horses, and weapons. He ordered his men not to touch the spoils and to pull back.

The warning came too late. Kong Ming's signal launched the planned attack, with Liu Bei leading the central force, Zhao Zilong on the right, and Huang Zhong on the left. Cao Cao's troops were driven into retreat. Meanwhile Wei Yan and Zhang Fei seized Langzhong and then Nanzheng, cutting off Cao Cao's route back. Liu Bei's forces captured the grain convoy intended to sustain Cao Cao's army as well. Xu Chu volunteered to escort it with a thousand men. After accepting meat and wine from the convoy's head, he drank heavily and insisted on continuing through the night despite the warning that the route was dangerous. Zhang Fei's force attacked in a narrow defile and wounded Xu Chu, who could not effectively resist in his drunken state. The northern troops fled, and Shu captured the convoy.

The loss of the convoy prompted Cao Cao to ride out for a decisive battle, but his army was defeated. Panic during the retreat caused soldiers to trample their own men. Cao Cao was forced from his position at Yangping Pass and pursued by Zhang Fei, Zhao Zilong, and Huang Zhong. His son Cao Zhang arrived with additional troops after defeating an uprising by the Wuhuan people, and his intervention allowed Cao Cao to defend Ye Valley. The fighting there remained indecisive for several days. Later, Ma Chao attacked from behind as Cao Cao rode out, while Wei Yan's troops attacked from another direction. Wei Yan's arrow knocked Cao Cao from his horse and cost him two teeth, but Pang De's charge saved him from capture. Cao Cao and Ma Chao both withdrew from that encounter.

Cao Cao's retreat north remained under pressure. Kong Ming anticipated the route he would take and sent Ma Chao to make the withdrawal difficult. The Wei troops suffered further losses and their morale collapsed; Cao Cao, in pain from his wound, continued as quickly as he could until he reached Chang'an. As his army withdrew, settlements around Hanzhong came under Liu Bei's control, while other places surrendered once their inhabitants understood that Liu Bei would provide peace and security.

Outcome and Significance

The campaign's turning point was the loss of Dingjun Mountain and Xiahou Yuan, which opened a route for Shu forces to advance and forced Cao Cao to commit a much larger army to the region. But the narrative does not present the result as a single victory won on the mountain. Zhao Zilong's rescue of Huang Zhong preserved the captured supplies from being used against Shu; the ambush at Zhao Zilong's camp destroyed those supplies; Wang Ping's warning and defection exposed the cost of ignoring local knowledge; and Kong Ming's night noises and feigned retreat repeatedly made Cao Cao's army react to threats it could not verify.

The campaign also joins military success to the question of political legitimacy. After Cao Cao's withdrawal, Liu Bei's commanders urged him to become emperor, and Kong Ming argued that Liu Bei's reputation for benevolence, his control of Shu, and the people's desire for order made the moment appropriate. Liu Bei objected that, despite his descent from the House of Han, accepting the title might make him appear a rebel. The debate follows the territorial gains and gives them political meaning: victory in Hanzhong strengthens Liu Bei's position, but the narrative also frames the next step as a question of rightful rule rather than military opportunity alone.