How A Loser Like Liu Bang Became The Founding Emperor Of The Han Dynasty
The emergence of Liu Bang
Liu Bang 刘邦 (also known as Liu Ji, later Emperor Gaozu of Han) is one of history’s greatest examples of a certified village wastrel who somehow ended up founding one of China’s most important dynasties. The man started as the kind of guy his own father openly called a “little rascal,” and finished as the first commoner to establish a long-lasting imperial house. Here’s how the underachiever pulled it off.

Born around 256 BC in Zhongyang District, Feng Town, Pei County 沛县 (in what is now Jiangsu), Liu Bang came from a peasant family. His parents are remembered only as Liu Taigong (“Sir Liu”) and Liu Ao (“Old Madam Liu”). Later Han mythmakers claimed his mother conceived him after encountering a mythical dragon during a rainstorm. How conveniently appropriate. Reality, however, was far less glamorous.
The young Liu Bang showed little interest in farming, education or honest work. Sources describe him as outspoken, charismatic, generous, and forbearing but also lazy, fond of drinking and women. He also frequently got into trouble with the law. With no income, he lived off his brother’s support. His father considered him a disappointment and a disgrace.
Through connections, Liu Bang landed a minor Qin government post as the local tingzhang 厅长 (a sort of precinct sheriff or booth chief) at Sishui 泗水. It was a low-level law-enforcement job. He made friends among the local bureaucrats and developed a small reputation as a negotiator.
One famous early anecdote captures the man: at a banquet hosted by a wealthy local named Lü Wen, Liu Bang showed up empty-handed, loudly announced he was offering a gift of ten thousand coins (which he did not have), and still managed to impress Lü Wen’s daughter Lü Zhi so much that she married him. They later had children, including the future Emperor Hui. This became a signature of Liu Bang: fake it then make it.
The Qin dynasty’s harsh legalism eventually boxed him in. Tasked with escorting a group of penal labourers to work on Qin Shi Huang’s massive tomb at Mount Li, Liu Bang had prisoners escape under his watch. Under Qin law, that failure meant death for the escort. Instead of surrendering to face execution, he freed the remaining men and fled with them. He and his men became outlaws based around Mount Mangdang. From minor official to outlaw, Liu Bang’s future seemed utterly bleak. But opportunity would soon come knocking.
In 209 BC the Dazexiang 大泽乡 Uprising of Chen Sheng and Wu Guang exploded against the Qin empire. When the Pei County magistrate wavered over joining the rebels, Xiao He and Cao Shen engineered Liu Bang’s return. The people of Pei County killed the magistrate and made Liu Bang their leader—Duke of Pei. Suddenly, Liu Bang was no longer just a miserable outlaw. He now had a decent territory and he knew he had to grow or die.

Liu Bang then linked up with the larger anti-Qin forces under Xiang Liang and the restored King Huai II of the former state of Chu which was subjugated by Qin in 223 BC. After Xiang Liang’s death, King Huai II ordered a race to the Qin heartland of Guanzhong and declared that whoever entered first would gain the mandate of heaven. Liu Bang, not the most brilliant field commander, benefited from good advisors and better timing. In late 207 BC his forces reached the Qin capital of Xianyang first. The last Qin ruler, Ziying, surrendered and abdicated. On the advice of Fan Kuai and Zhang Liang, Liu banned looting and abolished most of the Qin’s harsh and hated laws, reserving punishments only for murder and theft. Xiao He smartly secured the Qin administrative records. The people of Guanzhong were relieved. Liu Bang came across as a liberator from Qin rule.

Xiang Yu, the aristocratic, militarily gifted and spectacularly arrogant rival from a long line of Chu generals, was furious. At the famous Hongmen Banquet (the “Swan Goose Gate” feast), Xiang Yu’s advisors tried to have Liu Bang assassinated during a sword dance. Liu escaped with help from Xiang Bo (Xiang Yu’s uncle, who happened to be friendly with Zhang Liang), Zhang Liang’s quick thinking and Fan Kuai’s dramatic armoured entrance and verbal dressing-down of Xiang Yu. Liu pretended to need the latrine and ran. He was just lucky to be able to get to Xianyang first. He had no power to defend his legitimacy to the throne.
Xiang Yu then proceeded to sack Xianyang, burn the Epang Palace and divide the former Qin empire into 18 kingdoms. Despite the earlier promise, he gave Liu Bang the remote, mountainous, and undesirable region of Hanzhong/Bashu (modern Sichuan and upper Han River) and bestowed upon him the title King of Han. For himself, Xiang Yu declared himself Hegemon-King of Western Chu.
Xiang Yu knew that he could not rest until Liu Bang was completely destroyed. What followed was four years of brutal civil war (206–202 BC). Xiang Yu was the superior battlefield commander—tall, charismatic in a terrifying way and a tactical beast. Liu Bang was repeatedly beaten in open battle. Liu Bang’s approach was different. He knew his shortcomings, so he attracted and actually listened to talented men. In spite of being the underdog, he survived and humbly retreated to safety after every lost battle. Again, it seemed that Liu Bang would not amount to anything. Many of his followers and subordinates deserted, believing that Xiang Yu would ultimately win.
It was 204 BC. General Han Xin was in a dilemma. He had built up a strong army, his master Liu Bang was embroiled in a losing war and he was weighing his options.
King of Chu, Xiang Yu suggested forming an alliance to crush Liu Bang, but when Han Xin was working under Xiang Yu, his talent was never recognised. Though Liu Bang also did not recognize his talent at first, he did give Han Xin a chance after much persuasion.
Han Xin delivered the military genius Xiang Yu never fully matched in the long run. He conquered the Three Qins (the former Qin heartland) via a clever feint, turning Liu’s remote base into a powerful launching pad.
– Other allies and defectors (Peng Yue, Ying Bu/Qing Bu) kept pressure on Xiang Yu from multiple directions.
Liu Bang suffered a catastrophic defeat at Pengcheng in 205 BC. Xiang Yu’s smaller elite force routed a much larger Han army; Liu barely escaped with a handful of riders. His father and wife Lü Zhi were captured. In one of the more ruthless (and later-criticised) moments recorded by Sima Qian, Liu repeatedly tried to throw his own children out of the carriage to lighten the load during the flight—Xiahou Ying stopped him. Not exactly father-of-the-year material, but the man prioritised survival.

He regrouped, played the long game, and used psychological and political warfare as effectively as armies. He spread rumours that turned Xiang Yu against his own chief advisor Fan Zeng. He negotiated the Treaty of the Hong Canal in 203 BC, which temporarily split China (west to Han, east to Chu) and got his family back. Then, on the advice of Zhang Liang and Chen Ping, he broke the treaty almost immediately and resumed the offensive.
By late 203 / early 202 BC the noose tightened. Han Xin, Peng Yue, and Liu Bang’s forces trapped Xiang Yu at Gaixia. Han Xin’s troops sang Chu folk songs at night, convincing Xiang Yu’s men that their homeland had already fallen and triggering mass desertions. Xiang Yu broke out with a tiny force, fought with characteristic ferocity (killing hundreds according to the dramatic accounts), and finally committed suicide by the Wu River rather than be captured. The Chu cause collapsed.
In 202 BC the various kings and generals urged Liu Bang to take the imperial title. After declining a few times, he finally accepted, founding the Han dynasty. He initially considered Luoyang as capital before settling on Chang’an for strategic reasons. The peasant from Pei County was now Emperor Gaozu.

How did the loser win? Xiang Yu was clearly the better warrior and he also came from the right aristocratic background. Liu Bang was the better coalition-builder, talent-spotter, and the calm survivor. He accepted his ignorance, took advice, rewarded competence over pedigree and kept fighting after humiliating defeats. His early reputation for generosity and forbearance helped him attract and retain people like Han Xin who actually knew how to win wars and run a state. Xiang Yu might have been talented and powerful but he was also arrogant and overly confident.
Liu Bang never pretended to be a scholarly sage-king or a perfect gentleman. He remained, in many ways, the same rough, opportunistic, sometimes crude character who had once been a local booth chief and village nuisance. That authenticity, combined with ruthless pragmatism and an eye for talent, turned a genuine underdog into the founder of a dynasty that would define Chinese identity for centuries.
Not bad for a little rascal from Pei County.
Details coming soon:
Recruiting Zhang Liang
Crushing and Terminating The Qin Empire
Xiang Yu and The Problem With Chu
Han Xin And The Battle At Wu River