from the archive · Ancient era
Liu Bang
256 BCE – 195 BCE · ruler
By The Keeper · Published
AI-assisted writing, automatically checked. Editorial process
Liu Bang was the founding emperor of the Han dynasty, a peasant-born official who rose through the chaos following the Qin collapse to unify China in 202 BCE. Born in 256 BCE in Pei County, he defeated his rival Xiang Yu after four years of civil war and reigned as Emperor Gaozu until his death in 195 BCE. His dynasty lasted, with one interruption, for more than four centuries and gave its name to China's majority ethnic group. Anyone asking who was Liu Bang is really asking how a village patrol officer became the master of an empire.
Early Life
Liu Bang was born in 256 BCE in Pei County, in the region of the lower Huai and Si river valleys that then belonged to the state of Chu [1]. His family were farmers of no particular standing, and this obscurity mattered: he would become the first ruler of a unified China to come from commoner stock, a Liu Bang fact that Chinese historians repeated for two thousand years [2].
Accounts of his youth, preserved chiefly in Sima Qian's Records of the Grand Historian, describe a man who disliked farm work, enjoyed wine and company, and showed little early promise [1]. He was known in his home district by the informal name Liu Ji, roughly meaning "Liu the third-born." Under the Qin dynasty, which conquered Chu and unified China in 221 BCE, he obtained a minor local post as a village-level official responsible for a relay station and for escorting labor conscripts [2].
That small job set his life on its course. Qin law punished officials harshly when the convicts or laborers they escorted escaped. According to the traditional account, Liu Bang was transporting conscripts to work on the First Emperor's tomb complex when several fled; facing severe punishment, he released the rest and became a fugitive in the hills of his home region, gathering a small band of followers [1].
Path to Prominence
The Qin empire began to unravel soon after the First Emperor's death in 210 BCE. In 209 BCE the uprising of Chen Sheng and Wu Guang ignited rebellions across the former warring states, and local elites everywhere sought military leaders [3]. The magistrate's staff in Pei County, including the clerk Xiao He and the jailer Cao Shen, invited Liu Bang and his outlaw band into the town. He was acclaimed as the "Duke of Pei" and took command of a few thousand men [1].
Liu Bang attached his small force to the larger anti-Qin coalition led by the Chu general Xiang Liang and, after Xiang Liang's death, operating alongside Xiang Liang's nephew Xiang Yu, a brilliant and ferocious commander of aristocratic descent [2]. King Huai II of Chu, the coalition's nominal sovereign, reportedly promised that whoever first entered the Qin heartland of Guanzhong would rule it as king [1].
While Xiang Yu fought the main Qin armies in the north, Liu Bang advanced westward with a smaller column, taking cities more often by negotiation and lenient terms than by storm. In 207 BCE he reached the Qin capital region; the last Qin ruler, Ziying, surrendered to him near Xianyang in late 207 or early 206 BCE [3]. Liu Bang forbade looting, sealed the palaces and archives, and famously reduced the notorious Qin legal code to three simple provisions against murder, injury, and theft, a gesture that won over the population of Guanzhong [1].
The War with Xiang Yu
Victory over Qin brought no peace. Xiang Yu arrived in Guanzhong with an overwhelming army, sacked Xianyang, executed Ziying, and in 206 BCE divided the empire among eighteen kings under his own supremacy as "Hegemon-King of Western Chu" [3]. Rather than honoring the promise of Guanzhong, he assigned Liu Bang the remote southwestern territory of Hanzhong and Ba-Shu, with the title King of Han. The confrontation that nearly ended everything came at the banquet at Hongmen, where, in the traditional telling, Xiang Yu's adviser urged Liu Bang's assassination and Liu Bang escaped only through quick talking and the intervention of Xiang Yu's uncle Xiang Bo [1].
Within months Liu Bang struck back, breaking out of Hanzhong and seizing Guanzhong as his base. The struggle that followed, remembered as the Chu-Han contention, lasted from 206 to 202 BCE and ranged across the North China Plain [2]. Liu Bang lost battles repeatedly, including a catastrophic defeat at Pengcheng in 205 BCE, yet he held the strategic advantage: Xiao He administered Guanzhong and kept men and grain flowing to the front, the strategist Zhang Liang advised him, and the general Han Xin conquered the northern and eastern states one by one [1].
Sima Qian records Liu Bang's own explanation of the outcome. He said he was inferior to Zhang Liang in planning, to Xiao He in administration, and to Han Xin in command, but he knew how to use all three, while Xiang Yu could not even retain his one great adviser, Fan Zeng [1]. In 202 BCE the Han armies cornered Xiang Yu at Gaixia; his forces collapsed and he died at the Wu River rather than surrender. That same year Liu Bang's allies and subordinates urged the imperial title on him, and he proclaimed the Han dynasty, reigning as the emperor later known as Gaozu [3].
Major Achievements
Any list of Liu Bang achievements begins with reunification. In under a decade China had passed from Qin tyranny through general civil war back to a single government, and the settlement Liu Bang built proved far more durable than Qin's [2]. He established his capital at Chang'an in the defensible Guanzhong region, on the advice of the courtier Lou Jing and with Zhang Liang's endorsement [1].
His government kept the useful machinery of Qin administration, including commanderies and counties governed by appointed officials, while softening its harshness. Taxes and labor demands were lightened, soldiers were demobilized to the land, and the savage penal atmosphere of Qin rule was deliberately relaxed [3]. Yet Liu Bang also compromised with political reality: roughly the eastern half of the empire was parceled into kingdoms, first for the allied generals who had helped him win, then, as he eliminated those men one by one, for his own sons and relatives [2]. This hybrid of centralized commanderies and semi-autonomous kingdoms defined early Han politics for two generations.
On the northern frontier he met the limits of his power. In 200 BCE, campaigning against the Xiongnu confederation under the chanyu Modu, Liu Bang was surrounded for seven days at Pingcheng, near modern Datong, and escaped only with difficulty [3]. The lesson produced the policy of heqin, "peace through kinship," under which the Han sent princesses and gifts to the Xiongnu rulers in exchange for peace. The arrangement was humbling but bought the young dynasty decades to recover its strength [2].
Personal Life
Liu Bang married Lü Zhi, the daughter of a well-connected man who had settled in Pei County, before his rise to power. The marriage was made, according to the traditional story, because her father read greatness in the young man's face [1]. Lü Zhi endured capture by Xiang Yu's forces during the civil war and emerged as a formidable political figure; as Empress Lü she dominated the court after her husband's death [2].
Their son Liu Ying became heir apparent, though late in life Liu Bang repeatedly considered replacing him with Liu Ruyi, his son by the favored concubine Lady Qi. Court resistance, organized in part by Zhang Liang, preserved Liu Ying's position [1]. Liu Bang fathered eight sons in all, and their enfeoffment as regional kings shaped the dynasty's later succession struggles.
The sources paint a vivid character: coarse in speech, contemptuous of scholarly pretension in his early years, yet shrewd in judging people and willing to take advice, which contemporaries considered his decisive gift [1]. A famous anecdote describes his return to his home region in 195 BCE, where he feasted the elders of Pei and sang a song of his own composition, the "Song of the Great Wind," weeping as he sang of finding brave men to guard the four quarters [1].
Later Years
The final years of the reign were spent extinguishing threats. Between 202 and 195 BCE most of the non-Liu kings were removed on charges of rebellion, real or suspected. Han Xin, demoted from king to marquis, was executed in the capital in 196 BCE at the instigation of Empress Lü while the emperor was on campaign; the king of Liang, Peng Yue, was killed the same year, and the king of Huainan, Ying Bu, rose in revolt rather than await a similar fate [3].
Liu Bang led the army against Ying Bu in person and crushed the rebellion, but during the fighting he was wounded by a stray arrow [1]. His health failed through the following months. The traditional account says he refused further medical treatment, remarking that since Heaven had raised him from commoner to emperor, his fate rested with Heaven and no physician could alter it [1].
He died at the Changle Palace in Chang'an in 195 BCE and was buried at the Changling mausoleum north of the capital [2]. Liu Ying succeeded him as Emperor Hui, though real power passed to Empress Lü, whose family's ascendancy lasted until her death in 180 BCE, when the ministers restored the line of Liu Bang's sons by installing Emperor Wen [3].
Legacy
The dynasty Liu Bang founded governed China from 202 BCE to 220 CE, interrupted only by Wang Mang's short-lived Xin regime, and it became the standard against which later Chinese states measured themselves [2]. The name endured beyond politics: Chinese people today overwhelmingly identify as Han, the written characters are called Han characters, and the language is Hanyu, all echoes of the state he created [3].
Historians reading a Liu Bang biography have long treated his career as a case study in leadership. Sima Qian, writing within a century of his death, presented him as a man of modest talent and immodest luck who nonetheless understood the one thing that mattered, the recruitment and management of abler men [1]. His willingness to moderate Qin's laws while keeping Qin's administrative skeleton set the pattern of Chinese imperial government: Legalist machinery gradually clothed in Confucian justification, a synthesis completed under his great-great-grandson Emperor Wu [2].
His posthumous temple name, Taizu, and the customary designation Gaozu, both mark him as the dynastic founder. Later founders of humble origin, most notably Zhu Yuanzhang of the Ming, consciously invoked his example [4]. Among the durable Liu Bang facts is the simplest one: no earlier ruler of all China had begun life in a farming family, and his success permanently widened the imagination of Chinese politics about who could hold the Mandate of Heaven [2].
Questions & Answers
- Who was Liu Bang?
- Liu Bang was the founder and first emperor of China's Han dynasty, known posthumously as Emperor Gaozu. Born a peasant in Pei County in 256 BCE, he rose during the rebellions against the Qin dynasty and unified China in 202 BCE after defeating his rival Xiang Yu.
- When was Liu Bang born and when did he die?
- He was born in 256 BCE in Pei County, in what is now Jiangsu province, and died in 195 BCE at the Changle Palace in Chang'an. He reigned as emperor for about seven years, from 202 to 195 BCE.
- What is Liu Bang famous for?
- He is famous for founding the Han dynasty, which ruled China for over four centuries and gave its name to the Han Chinese people. He was also the first commoner to become emperor of a unified China, rising from village official to the throne.
- How did Liu Bang defeat Xiang Yu?
- During the Chu-Han contention (206 to 202 BCE), Liu Bang relied on the administrator Xiao He, the strategist Zhang Liang, and the general Han Xin, whose combined efforts wore down Xiang Yu despite Liu Bang's battlefield defeats. Xiang Yu was finally trapped at Gaixia in 202 BCE and died soon after at the Wu River.
- Was Liu Bang the same person as Emperor Gaozu of Han?
- Yes. Liu Bang was his personal name; after his death he received the temple name Taizu, and historians conventionally call him Gaozu of Han. All three names refer to the founding emperor of the Han dynasty.
- Why is the Han dynasty named after Liu Bang's kingdom?
- In 206 BCE Xiang Yu made Liu Bang King of Han, a territory centered on Hanzhong in the southwest. When Liu Bang won the civil war and took the imperial title in 202 BCE, he kept Han as the name of his dynasty.
References
Every record in this archive is kept against verifiable sources.
- [1]Sima Qian. Records of the Grand Historian: Han Dynasty I (Shiji), translated by Burton Watson. Columbia University Press, 1993. Book
- [2]Denis Twitchett and Michael Loewe (editors). The Cambridge History of China, Volume 1: The Ch'in and Han Empires, 221 BC to AD 220. Cambridge University Press, 1986. Book
- [3]Editors of Encyclopaedia Britannica. Gaozu: Emperor of Han Dynasty. Encyclopaedia Britannica, 2024. https://www.britannica.com/biography/GaozuWeb
- [4]Michael Loewe. A Biographical Dictionary of the Qin, Former Han and Xin Periods (221 BC - AD 24). Brill, 2000. Book
- [5]Mark Edward Lewis. The Early Chinese Empires: Qin and Han. Belknap Press of Harvard University Press, 2007. Book
- [6]Nicola Di Cosmo. Ancient China and Its Enemies: The Rise of Nomadic Power in East Asian History. Cambridge University Press, 2002. Book

preserved for ever
Sealed on the blockchain. Tap the seal to verify.
preserved for ever
Sealed on the blockchain. Tap the seal to verify.
This record is inscribed on the Arweave blockchain, a permanent public ledger replicated across hundreds of independent machines. The copy there cannot be edited, withdrawn, or lost. It will outlast this website, its server, and its keeper.
help the keeper
Spotted an error, or hold a source the archive lacks? Every record can be corrected. Submissions are reviewed against authentic references before any change is made.

entered into the archive
kept by The Keeper