Born in Fengzhou official quarters as the third son of Liu Qian.

889 CE–942 CE
Liu Yan (刘龑)
刘龑
Liu Yan (889–942), originally named Liu Zhi and later adopting the invented character Yan signifying 'a flying dragon in the sky,' was the founding emperor of the Southern Han during the Five Dynasties and Ten Kingdoms period. Tracing his lineage to Shangcai and Pengcheng, he was the third son of Prefect Liu Qian and younger brother of Liu Yin, Prince of Nanhai. In his youth, he campaigned alongside his brother, displaying…
PROFILE
Liu Yan (889–942), originally named Liu Zhi and later adopting the invented character Yan signifying 'a flying dragon in the sky,' was the founding emperor of the Southern Han during the Five Dynasties and Ten Kingdoms period. Tracing his lineage to Shangcai and Pengcheng, he was the third son of Prefect Liu Qian and younger brother of Liu Yin, Prince of Nanhai. In his youth, he campaigned alongside his brother, displaying extraordinary martial prowess and crushing regional warlords across Lingnan. In 911, he inherited the Qinghai military commissionership and the title Prince of Nanhai, subsequently subjugating the Rong and Yong circuits and repelling Chu incursions to unify the two Guangs. In 917, Liu Yan constructed the Nine Dragons Altar in Panyu to ascend the imperial throne, initially adopting the dynastic title Great Yue before renaming it Great Han (Southern Han) and styling the era Qianheng. During his reign, he replaced military governors with civil scholars, welcomed displaced northern literati, instituted regular imperial examinations, and invented his personal imperial character. However, his later years were marred by a catastrophic defeat at the Battle of Bach Dang, which permanently separated Jiaozhi from Chinese imperial rule, alongside oppressive taxation for opulent palaces and the invention of barbaric tortures. He died in 942 at age fifty-four, received the temple name Gaozu and posthumous title Emperor Tianhuang, and was interred at Kangling Mausoleum.
- Alternate Names
- Liu Zhi, Liu Yan, Emperor Gaozu of Southern Han, Emperor Tianhuang
- Posthumous Name
- Emperor Tianhuang
- Temple Name
- Gaozu
- Historical Era
- Five Dynasties and Ten Kingdoms period
- Dynasty
- Southern Han (founding emperor), Later Liang, Later Tang
- Identity
- Founding Emperor of Southern Han, Military Commissioner of Qinghai, Prince of Nanhai
- Ancestral Home
- Shangcai, Chenzhou (modern Shangcai County, Zhumadian, Henan; also recorded as Pengcheng)
- Date of Birth
- 889
- Date of Death
- 942
- Reign Period
- 917–942 (reigned 25 years, era names Qianheng, Bailong, Dayou)
- Highest Office
- Emperor of Great Han (Founding Emperor of Southern Han)
- Major Offices
- Military Commissioner of Qinghai, Prince of Nanhai
LIFE TIMELINE
Joined his brother Liu Yin in military expeditions, serving as vanguard commander.
Led an elite night raid in Guangzhou to crush Lu Ju's mutiny, securing command.
Inherited the Qinghai commissionership and title Prince of Nanhai upon Liu Yin's death.
Repelled Chu forces in Guangxi and married the daughter of King Ma Yin of Chu.
Ascended the throne at Panyu, founding the Great Yue and inaugurating the Qianheng era.
Renamed the state Great Han, established ancestral temples, and introduced civil exams.
Proclaimed the Bailong era and invented the character Yan, changing his personal name.
Inaugurated the Dayou era based on the Book of Changes, bringing the realm to its territorial peak.
Dispatched Prince Liu Hongcao to invade Jiaozhi; his fleet was destroyed at Bach Dang.
Levied oppressive pearl taxes to build the Zhaoyang and Shuijing palaces with severe tortures.
Passed away at age fifty-four in Daming Palace; interred at Kangling Mausoleum.
Relationship graph
BIOGRAPHY
Biography
Lineage Origins and Early Military Service
Liu Yan, originally named Liu Zhi, was born in 889 at the official residence in Fengzhou. His family traced their ancestral home to Shangcai in Henan, claiming descent from the illustrious Liu clan of Pengcheng. His grandfather Liu Anren had engaged in maritime commerce across the southern seas before relocating the family to Quanzhou and Chaozhou. His father Liu Qian possessed strategic acumen and served as an officer under Military Commissioner Wei Zhou, who gave his niece Lady Wei to Liu Qian in marriage.
When the Huang Chao peasant rebellion swept across Lingnan and seized Guangzhou, Liu Qian was promoted to Prefect of Fengzhou for his valiant defense. Liu Qian recruited local warriors and constructed a fleet of war vessels, establishing an autonomous naval force along the West River basin. Following Liu Qian's death, his eldest son Liu Yin inherited the prefecture, while young Liu Yan accompanied his brother on military campaigns. Tall, powerful, and skilled in horsemanship, Liu Yan won widespread martial fame.
During the Qianning and Guanghua eras, central Tang authority collapsed, plunging Lingnan into factional warfare between rival commissioners and prefects. Brothers Liu Yin and Liu Yan cooperated closely, using Fengzhou as their strategic base to expand eastward. While Liu Yin cultivated relations with court elites, Liu Yan served as their foremost vanguard general. Together they suppressed local warlords in Duanzhou, Guangzhou, and Shaozhou, gradually unifying coastal eastern Lingnan.
Suppressing Rebellions and Eliminating Rivals
In 904, Military Commissioner Xu Yanruo died, nominating Liu Yin as acting commissioner. Garrison commander Lu Ju and former loyalists plotted mutiny to seize military power in Guangzhou. Sixteen-year-old Liu Yan advised launching an immediate preemptive strike. Personally commanding hundreds of shock troops, Liu Yan raided Lu Ju's headquarters under cover of darkness, executing ringleaders and securing the arsenal, which enabled Liu Yin to assume command of the Qinghai circuit.
Subsequently, Prefects Liu Shizheng of Chaozhou and Pang Juzhao of Shaozhou formed an alliance to block Qinghai's terrestrial routes to the Central Plains. Liu Yin ordered Liu Yan to lead combined naval and cavalry divisions against them. Liu Yan spearheaded naval assaults with fire ships along the river while directing siege operations on land, capturing Chaozhou and Shaozhou and removing northern and eastern security threats.
In 907, Zhu Wen established the Later Liang dynasty, investing Liu Yin as Military Commissioner of Qinghai and Prince of Nanhai. Liu Yin and Liu Yan acknowledged Later Liang suzerainty, dispatching annual maritime tributes of ivory, frankincense, tortoiseshell, and pearls to Kaifeng to secure imperial legitimacy against regional rivals. By the time of Liu Yin's death in 911, the brothers had eliminated competitors, establishing undisputed control over Guangdong and parts of Guangxi.
Assuming the Commissionership and Consolidating Power
In 911, Prince of Nanhai Liu Yin passed away in Guangzhou. Supported by his commanders, twenty-three-year-old Liu Yan assumed acting leadership of the Qinghai circuit, sending emissaries to report the mourning to Later Liang. In recognition of the clan's steadfast contributions, Emperor Taizu of Later Liang officially appointed Liu Yan as Military Commissioner of Qinghai and Prefect of Guangzhou, later investing him as Prince of Nanhai and confirming his supreme regional authority.
Upon assuming power, Liu Yan abolished hereditary tenure among prefects, appointing trusted civil magistrates to manage local taxation and administration directly. Concurrently, he reorganized foreign maritime trade at Guangzhou port, establishing the Maritime Trade Commissioner to welcome Persian, Arab, Indian, and Southeast Asian merchant vessels, offering tax incentives that filled state treasuries and laid a solid economic foundation.
Simultaneously, Liu Yan directed his attention toward the turbulent Rong and Yong administrative circuits bordering Vietnam and Yunnan. Mobilizing elite infantry, cavalry, and war elephant corps, Liu Yan advanced along the Yu River, subjugating strategic strongholds in Rongzhou, Yongzhou, and Guizhou, integrating both circuits into his territory and achieving the first unified administrative control over the two Guangs since late Tang times.
Contending for Rong and Gui and Checking Ma Chu
During the unification of the two Guangs, Liu Yan engaged in prolonged border conflicts with King Ma Yin of Chu, who sought southern maritime outlets and control over salt and iron trade routes. Ma Chu frequently dispatched forces into northern Guangxi. Employing ambushes and scorched-earth defenses, Liu Yan repeatedly repelled Chu armies along the He River, capturing several Chu commanders and defending the northern gateways of Lingnan.
To resolve the Chu threat permanently, Liu Yan demonstrated diplomatic flexibility. While maintaining frontier vigilance, he dispatched envoys to Changsha proposing a marital alliance. In 915, Liu Yan married Ma Yin's daughter, formally defining border demarcations and opening bilateral trade. This political marriage neutralized his northern rival and cleared the way for his imperial ambitions.
Imperial Accession and Proclaiming the Great Han
By 917, central China was consumed by warfare between Later Liang and Prince Li Cunxu of Jin. Recognizing that chaotic civil war rendered northern dynasties unable to intervene in the south, twenty-nine-year-old Liu Yan resolved to cast off vassal status and establish an independent imperial dynasty, leveraging his vast territories and standing armies.
In August 917, Liu Yan constructed the Nine Dragons Altar outside Panyu, performing imperial sacrifices to Heaven and ascending the throne. He proclaimed the founding of the Great Yue dynasty and adopted the era name Qianheng. The following year, tracing his lineage back to the Han dynasty imperial house of Liu Bang, he renamed his state the Great Han (historically known as Southern Han), honoring his father Liu Qian as Emperor Zhao and his brother Liu Yin as Emperor Xiang.
Liu Yan elevated Panyu to the Supreme Capital Xingwang Prefecture, establishing Nanhai and Panyu counties. He constructed lavish palace complexes including the Jinluan Hall, Wanshou Palace, and Sanqing Pavilion, establishing a bureaucratic apparatus with the Three Departments and Six Ministries. His coronation marked the formal birth of Lingnan's first independent centralized imperial state during the Five Dynasties era.
Creating the Unique Character and Era Revisions
In 925, following reports of a white dragon sighting in the imperial courtyards, Liu Yan proclaimed a general amnesty and changed his era name to Bailong (White Dragon). Deeply interested in divination and Daoist mysticism, he felt his birth name lacked the majesty of a sovereign. Drawing upon the hexagram Qian in the Book of Changes, which proclaimed 'the dragon flying in heaven,' he invented an original character: dragon atop sky, pronounced Yan.
Liu Yan issued an edict declaring that he was adopting this newly created character as his imperial name, commanding all subjects to conform to this pronunciation. This unique act of character creation became celebrated in Chinese linguistic and imperial history, reinforcing his claim to divine authority and cultivating imperial awe among his southern subjects.
In 928, Liu Yan revised his era name to Dayou (Great Possession), inspired by the favorable Dayou hexagram in the Book of Changes. During this period, the Southern Han reached its geopolitical zenith, extending from coastal Fujian to Yunnan and Vietnam, and northward past the Five Ridges. Through strict court ceremonies and regular taxation, Liu Yan maintained several decades of relative political independence.
Civil Service Recruitment and Administrative Modernization
Liu Yan's most commendable domestic reform was dismantling the destructive monopoly of military warlords that plagued Five Dynasties China. As northern turmoil prompted scholars and gentry families to flee south across the Five Ridges, Liu Yan established guest pavilions along transit routes, granting incoming literati official stipends and appointing them as imperial advisors.
To eradicate militarist autonomy, Liu Yan instituted sweeping administrative reforms, replacing military prefects with Confucian civil scholars and revoking the military's revenue-raising authority. He established imperial examinations modeled after Tang practices, conducting regular exams for the Jinshi and Mingjing degrees to recruit both native southern talents and northern emigres into the bureaucracy.
Under his guidance, Southern Han developed a sophisticated civil service led by capable ministers like Yang Dongqian, Ni Shu, and Zhao Guangyi. This reform insulated Southern Han from the violent military mutinies typical of northern regimes, while embedding classical Confucian administrative norms deeply into Lingnan culture.
Liu Yan also actively patronized Buddhism and Daoism, erecting dozens of monumental temples and monasteries across Guangzhou, aligning urban development with astronomical alignments and feng shui principles. He funded grand religious assemblies to pray for state prosperity and directed scholars to collate Buddhist and Daoist canons, significantly advancing regional woodblock printing techniques.
Expedition to Cochinchina and Defeat at Bach Dang
In foreign affairs, the Jiaozhi region (modern northern Vietnam) had been governed by the Tang Protectorate of Annam but fell under the control of local clans following Tang's decline. Liu Yan considered Jiaozhi an integral territory of his empire. In 930, he dispatched general Liang Kezhen to capture Daluo and take local ruler Qu Chengmei prisoner, though indigenous commanders soon resumed armed resistance.
In 938, general Ngo Quyen killed the Southern Han-backed vassal and seized control of Jiaozhi. Enraged, Liu Yan ordered an amphibious punitive expedition, investing his favorite son Prince Liu Hongcao as King of Jiaozhi and commander of an armada advancing down the Bach Dang River, while Liu Yan stationed backup forces at Haimen.
However, Ngo Quyen anticipated the invasion. Knowing Southern Han's large war vessels relied on deep water, he planted thousands of iron-tipped wooden stakes into the riverbed at the mouth of the Bach Dang River. Ngo Quyen used light skiffs to lure the armada upstream at high tide. As the tide receded, the turning Vietnamese forces counterattacked, impaling the retreating Han fleet on the exposed iron stakes. Liu Hongcao drowned, and half the armada was destroyed at the historic Battle of Bach Dang.
Devastated by his son's death and the annihilation of his fleet, Liu Yan withdrew to Guangzhou. The catastrophic defeat permanently ended Southern Han's ambitions to reconquer northern Vietnam. Ngo Quyen established the Ngo dynasty, marking the beginning of Vietnam's centuries of independent dynastic statehood and representing the greatest military failure of Liu Yan's reign.
Hedonistic Indulgence and Barbaric Punishments
In his later years, Liu Yan succumbed to decadent extravagance. Exploiting Lingnan's wealth of pearls, coral, and ivory, he conscripted laborers for dangerous deep-sea pearl diving and imposed heavy tax burdens. Within Guangzhou, he exhausted state treasuries to construct the opulent Zhaoyang and Shuijing palaces, adorned with silver pavements, jade steps, and gilded pillars.
To extract taxes and suppress dissent, Liu Yan instituted brutal forms of execution, including dismemberment, flaying, boiling in cauldrons, pouring acid through nostrils, and burning victims alive. He constructed ponds filled with venomous water snakes, casting condemned prisoners into the water to be devoured while he watched from pavilion balconies.
This tyrannical reign inflicted severe suffering upon the populace and corrupted court ethics. Liu Yan's cruelty set a destructive precedent for his sons, Emperors Liu Bin and Liu Sheng, who engaged in fratricidal purges that ultimately doomed the Southern Han dynasty.
Passing in the Palace and Burial at Kangling
In spring 942, fifty-four-year-old Liu Yan fell gravely ill due to years of dissipation and exhaustion. On his deathbed, he expressed concern over the frivolous character of Crown Prince Liu Bin, contemplating elevating his capable third son Liu Sheng, though he ultimately adhered to traditional primogeniture. On April 13, 942, Liu Yan passed away in the Daming Palace, concluding a twenty-five-year reign.
The court conferred upon him the posthumous title Emperor Tianhuang with the temple name Gaozu, interring him at Kangling Mausoleum in Panyu (located within modern Guangzhou University City). Despite his cruelty and the defeat at Bach Dang, his suppression of regional warlords, establishment of civil examinations, and foundation of an independent southern dynasty left a significant mark on Lingnan history.
Major Achievements
Unifying Lingnan and Laying Dynastic Foundations
Liu Yan demonstrated formidable military leadership during the Five Dynasties turmoil. Starting from Fengzhou, he cooperated with his brother to crush regional warlords like Lu Ju and Pang Juzhao. Later advancing westward, he pacified the Rong and Yong circuits and repelled Chu invasions, establishing the first unified administration across the two Guangs since the Tang dynasty and laying the geopolitical foundation for the Southern Han state.
Promoting Civil Scholars and the Examination System
Liu Yan's most enduring administrative achievement was replacing military rule with civil governance. By establishing guest pavilions for refugee northern scholars, appointing literati as prefects, and conducting regular civil service examinations, he prevented the military rebellions typical of Five Dynasties regimes and fostered classical Confucian culture throughout Lingnan.
Character Invention and Imperial Legitimization
Drawing upon the Book of Changes, Liu Yan invented the unique character Yan (dragon flying in the sky) as his personal imperial name. This creative initiative exemplified how rulers utilized calligraphy and celestial omens to project divine legitimacy, constructing an imperial aura comparable to central dynasties.
The Defeat at Bach Dang and Vietnamese Independence
The disaster at the Battle of Bach Dang in 938, where Prince Liu Hongcao died and the armada was destroyed on iron-tipped stakes, marked Southern Han's most consequential military failure. The defeat terminated Chinese administrative control over northern Vietnam, enabling Ngo Quyen to establish an independent kingdom and marking a historic turning point in East Asian frontier history.
Tyrannical Governance and Societal Impact
In his later years, Liu Yan imposed crushing taxes for lavish palace construction and enforced sadistic punishments such as boiling and snake pits. This reign of terror inflicted immense hardship upon Lingnan's population and normalized political violence, instigating fratricidal succession struggles among his sons that hastened dynastic decline.
Historical Relationships
Imperial Family and Consorts
- Grandfather: Liu Anren, Tang official who relocated the family south to engage in maritime trade.
- Father: Liu Qian, Tang Prefect of Fengzhou who laid the military foundations of the Liu family.
- Mother: Lady Duan, concubine of Liu Qian and biological mother of Liu Yan.
- Elder Brother: Liu Yin (Emperor Xiang), Military Commissioner of Qinghai and Prince of Nanhai.
- Empress: Empress Ma, daughter of King Ma Yin of Chu, married to cement diplomatic ties.
- Sons: Emperors Liu Bin (Emperor Shang) and Liu Sheng (Emperor Zhongzong), and Prince Liu Hongcao.
Civil and Military Officials
- Yang Dongqian: Prime Minister and prominent scholar who directed the establishment of civil administration.
- Ni Shu: Minister of Works and Tang scholar who codified court rituals and institutions.
- Zhao Guangyi: Grand Chancellor who supervised foreign diplomatic correspondence and state affairs.
- Liang Kezhen: Senior naval commander who directed southern expeditions to Champa and Jiaozhi.
- Cheng Bao: Senior general who died fighting against rebel forces in northern Vietnam.
Regional Contemporaries and Rivals
- Zhu Wen: Emperor Taizu of Later Liang who conferred initial titles upon Liu Yin and Liu Yan.
- Ma Yin: King of Chu who contested border regions with Liu Yan before establishing a marital alliance.
- Ngo Quyen: Vietnamese general and founder of the Ngo dynasty who defeated Southern Han at Bach Dang.
- Qu Chengmei: Jiedushi of Annan who was captured by Southern Han forces and conveyed to Guangzhou.
Historical Evaluation
As the founding sovereign of Southern Han, Liu Yan's career presented a stark dichotomy between enlightened administrative institution-building and grotesque despotic cruelty.
In the Old History of the Five Dynasties, Xue Juzheng observed: "Liu Zhi held the natural defenses of Guangdong, exploiting Tang's collapse to inherit his brother's domain and claim the imperial throne. Although he recruited scholars and established examinations, his taxation was crushing and his punishments horrifying. The seeds of dynastic ruin were planted in his very excesses."
Ouyang Xiu remarked in the New History of the Five Dynasties: "Liu Yan was cruel by nature, taking pleasure in executions and inventing savage tortures like dismemberment and boiling. He built extravagant palaces with gold and silver tiles while people starved. His sons inherited this savagery, slaughtering one another until the dynasty perished, a calamity wrought entirely by human folly."
Modern historians recognize that Liu Yan achieved the first enduring administrative unification of Lingnan since late Tang times. His replacement of military commanders with civil scholars and institutionalization of civil examinations fostered the growth of classical Chinese governance and maritime commerce. However, the catastrophic defeat at Bach Dang severed Vietnam from imperial Chinese governance, while his barbarous tortures damaged his historical reputation.
Related Entries
- Southern Han
- Liu Yin
- Liu Sheng
- Battle of Bach Dang
- Maritime Trade Commission of Guangzhou
- Kangling Mausoleum
- Ma Yin
- Ngo Quyen
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Xue Juzheng et al., eds. Old History of the Five Dynasties (Jiu Wudai Shi), vol. 135, "Biographies: Liu Zhi". Beijing: Zhonghua Book Company.
- Ouyang Xiu, ed. New History of the Five Dynasties (Xin Wudai Shi), vol. 65, "Hereditary Family of Southern Han". Beijing: Zhonghua Book Company.
- Wu Renchen, ed. Spring and Autumn Annals of the Ten Kingdoms (Shiguo Chunqiu), vols. 58–59. Zhonghua Book Company.
- Sima Guang, ed.; Hu Sanxing, annot. Comprehensive Mirror in Aid of Governance (Zizhi Tongjian), vols. 268–283. Zhonghua Book Company.
- Liang Tingnan. Book of Southern Han (Nan Han Shu), vols. 1–3, "Annals of Emperor Gaozu". Guangzhou: Guangdong People's Publishing House.