Nanzhao emerged in eighth-century Yunnan from the Mengshe ruling house and the older Ailao and Cuanman traditions. Its core lay around fertile western Yunnan and Erhai Lake, with capitals at Taihe and later Yangjumie in present-day Dali. Xinuluo accepted Tang suzerainty in 649, absorbed the White Mywa realm around Erhai peacefully in 652, and secured Tang recognition as prefect of Weizhou. His dynasty later absorbed Black Mywa power, while walled centers such as Yongchang anchored expansion.
Piluoge and his son Geluofeng turned this regional coalition into a major military power. Geluofeng killed the Chinese prefect of Yunnan in 750 and defeated an 80,000-strong Tang army at Xiaguan in 751; disease killed many of the invaders. Nanzhao then allied with Tibet, captured Yuesui, and gained the Yanyuan salt marshes, giving it control over a strategic commodity. Chinese officials, Buddhist monks, Daoist priests, and artisans entered Nanzhao’s service or court life.
The kingdom’s rulers used Chinese writing while Bai-language scriptures preserved the language of much of the population. Nuosu-speaking elites, Bai cultivators, Yi communities, and Austroasiatic-speaking peoples around the southern frontier lived under a monarchic order shaped by clan names and father-son naming conventions. Buddhist institutions and imported artisans accompanied campaigns, while rulers used titles such as Piaoxin, Ruler of the Pyu, to claim authority beyond Yunnan.
Expansion brought repeated war. Nanzhao built the fortified city of Guangdang in the Hkamti Long region, where malaria killed more than half its soldiers within a year, then conquered Pyu city-states and destroyed Halin in 832. Wang Cuodian’s forces reached Chengdu in 829, and later campaigns seized territories in Annan. Shilong’s contemptuous treatment of Tang envoys, mass conscription of men over fifteen, and raids on Bozhou and Annan severed official relations. Tang counterattacks and local resistance eventually eroded Nanzhao, which was overthrown in 902.
Long before the Mengshe chieftains called their state Great Meng, the region kept its own ledger of peoples. The Chronicles of Huayang lists the Ailao realm as home to the Min Pu, Jiu Liao, Piao Yue, Luo Pu and Shendu — Indians — and records its submission to the Eastern Han in 69 CE with 553,711 people. The Cuanman took power after Zhuge Liang's southern campaign in 225, ruled for centuries, rebelled against the Sui in 593 and were broken by a retaliatory expedition in 602. What survived split into White Mywa farmers around the alpine fault lake Erhai and Cang Mountain, and Black Mywa clans in the high country.
The kingdom changed its official name as its politics shifted: Dameng from 738 to 859, Dali from 859 to 877, Dafengmin from 877 to 902. At its widest it covered roughly 792,615 square kilometres, less a solid block than a chain of river crossings, salt marshes and walled towns. When the Tang court itself fractured under military governors, Nanzhao's envoys increasingly addressed a figurehead, and the old exchange of tribute and robes thinned into silence. The line ended in 902 under the Dachanghe usurpation, with the Dali kingdom of Duan Siping rising out of the same Erhai basin a generation later.
Rulers
Wars & turning points
Rulers & characters
- Xinuluo r. 649–674 CE [3]Founder of Great Meng (Mengshe chieftain) · Mengshe tribe, Black Mywa
In 649 the Mengshe chieftain, son of Jiadupang and grandson of Shelong, founded Great Meng and took the title Qijia Wang, 'Outstanding King,' while acknowledging Tang supremacy. In 655 he sent his eldest son to Chang'an to request protection, and the emperor answered with an embroidered official robe and a prefect's commission. In 672 Tang troops crushed rebellious tribes on his behalf, lifting him above rival chieftains.
He took a grand royal title while still holding a Tang prefect's commission — a local king whose authority was validated by a court thousands of li away.
- Luoshengyan r. 674–712 CE [3]Second ruler of Great Meng
Xinuluo's son kept the Tang relationship warm, travelling in person to Chang'an to present tribute. In 712 he established a walled city at Yongchang on the Upper Irrawaddy, pushing Mengshe power toward the routes into India. He was succeeded in 713 by his son Shengluopi. His reign is the quiet bridge between a chieftain's confederation and a state able to plant fortified towns far from the Erhai homeland.
Follow Yunnan - Shengluopi r. 712–733 CE [3]Third ruler of Great Meng
He kept the throne on good terms with Tang and handed it to his son Piluoge in 733. The surviving record is thin, but the continuity matters: the next reign turned that alignment into war. His two decades held the Erhai basin together, so that when expansion came it came from a secure lakeshore base rather than a fractured chieftaincy.
Follow - Piluoge r. 733–748 CE [3]Consolidator and expander of Great Meng
Piluoge began the great expansion in the early 730s, first annexing the neighbouring zhao of Mengsui, whose ruler Zhaoyuan was blind. He pushed the kingdom well beyond its Erhai core, turning a lakeside confederation into a regional power with claims on the routes south and west. He died in 748 and handed a much enlarged realm to his son Geluofeng.
The first zhao he swallowed was led by a blind ruler, Zhaoyuan — a target chosen to test the mechanics of annexation before taking on Tang itself.
- Geluofeng r. 748–779 CE [3]King who broke with Tang and allied with Tibet
When the Chinese prefect of Yunnan tried to rob Nanzhao envoys in 750, Geluofeng killed him and seized nearby territory, opening the Tianbao War. He beat two huge Tang invasions, took the salt marshes of Yanyuan County in 754, captured Yuesui Commandery in 756, and accepted a Tibetan title that made him a partner of the Tibetan Empire until 794. His reign converted a frontier vassal into Tang's armed rival.
Follow Tianbao War - Yimouxun r. 779–808 CE [3]King of the Tibetan alliance and the southern frontier
Yimouxun kept his father's pro-Tibetan alignment and campaigned south. In 794 his armies defeated Mangzhao, the Mang Man state between the Irrawaddy and the Mekong, ending its independence. He also resettled ethnic groups into the mountain country of northwest Yunnan. His reign fixed the kingdom's southern frontier and tightened its grip on the Upper Irrawaddy routes.
- Shilong r. early 9th century CE [3]King between Tibetan alliance and Tang rapprochement
Shilong inherited the Tibetan-aligned kingdom Yimouxun had built and ruled until the throne passed to Longshun. His years sit at the hinge between two eras — the long partnership with Lhasa that began in 754, and the later bid for a Tang marriage alliance. The walled towns on the Upper Irrawaddy were already in place, so his work was holding a wide, thinly connected realm together.
Follow - Longshun r. late 9th century CE [3]King who sought a Tang marriage alliance
Longshun spent much of his reign chasing a Tang marriage alliance that the collapsing dynasty could not deliver. The court in Chang'an was losing real power to military governors, and the ceremony meant to seal the match became a trap that held his envoys for years. He was killed by a minister in 897, ending a reign defined by protocol rather than conquest.
He never stopped pursuing the bride after the first attempt failed, sending a second delegation years later — a ruler whose most stubborn campaign was fought over wedding etiquette.
- Shunhua r. 897–902 CE [3]Last king of Nanzhao
Shunhua took the throne after his predecessor's murder and asked Tang to restore friendly relations, but the emperor was by then a figurehead of military governors and no answer came back. His brief reign ended in 902, closing the Dameng line. The one lasting act of his court was cultural rather than political: a scroll painted to explain where the kingdom's Buddhism had come from.
Follow Dachanghe - Zheng Hui served late 8th century CE [3]Captured Tang magistrate, imperial tutor and prime minister
A Tang district magistrate of Xilu captured at Yuesui Commandery in 756, Zheng Hui was made Nanzhao's imperial tutor and later prime minister. He is the clearest example of the kingdom's habit of absorbing the enemy's administrators: a captured official helped shape court ritual in the state that had just defeated his emperor.
Follow New Book of Tang
Wars, rebellions & turning points
- War Tianbao War breaks with Tang [3]Tang prefect of Yunnan and the Jiannan governor
When the Chinese prefect of Yunnan tried to rob Nanzhao envoys in 750, Geluofeng killed him and seized nearby Chinese territory. Tang answered with a governor's army from Jiannan in 751 and a second northern force in 754, both destroyed or stalled. The war turned a tributary relationship into open rivalry and pushed Geluofeng into Tibet's arms.
Outcome: Nanzhao won de facto independence, seized Yanyuan's salt marshes and bound itself to the Tibetan Empire until 794.
- War Tang's 80,000 shattered at Xiaguan [3]Xianyu Zhongtong's Jiannan army
The Tang governor of Jiannan, Xianyu Zhongtong, attacked with 80,000 soldiers in 751. Duan Jianwei met him at Xiaguan and inflicted heavy losses, many from disease rather than combat. Chinese sources memorialised the dead in the Tomb of Ten Thousand Soldiers in Tianbao Park; Duan Jianwei's grave stands two kilometres west of Xiaguan.
Outcome: The defeat ended Tang's first punitive expedition and left Nanzhao's western frontier secure.
- War Li Mi's 100,000 never reach the capital [3]General Li Mi's northern Tang army
In 754 another Tang army of 100,000 men under General Li Mi approached from the north through the Mu'ege country. It never made it past Mu'ege. By the end of the same year Geluofeng had sealed an alliance with the Tibetan Empire that lasted until 794, and had taken the salt marshes of Yanyuan County for his own crown.
Outcome: A second invasion failed without a decisive battle, and Tibet became Nanzhao's patron against Tang.
- War Mangzhao subdued on the Mekong [3]Mang Man state of Mangzhao
The Mang Man had built a state called Mangzhao between the Irrawaddy and the Mekong rivers in the eighth century. King Yimouxun destroyed it in 794, well before any Tai migration into the area. The campaign secured the southern approaches and left Nanzhao dealing directly with the Mon-Khmer peoples of the far south.
Outcome: Nanzhao's frontier reached the Mekong and its rulers could claim dominion over peoples outside the Sinitic world.
- Shock Huang Chao wrecks the marriage alliance [3]Huang Chao's rebels
Longshun negotiated a Tang marriage alliance, agreed in 880, but the rebel Huang Chao took Luoyang and seized the Tong Pass by the end of that year. The Tang court could not deliver a princess to a kingdom it now needed as an ally, and the arrangement collapsed before a bride was sent.
Outcome: The planned union never happened, and Nanzhao's envoys kept coming back to a court with no power to honour its promises.
- Shock Betrothal gifts stranded in Chengdu [3]Tang court protocol officials
Undeterred, Longshun sent a delegation to Chengdu in 883 to fetch the Princess of Anhua, carrying a hundred rugs and carpets as betrothal gifts. A dispute over ceremony held the envoys for two years. They returned without the princess, a humiliating end to a decade of patient diplomacy.
Outcome: The second marriage bid failed, and the alliance with a weakening Tang quietly lapsed.
Follow Chengdu - Shock Longshun killed by his own minister [3]a Nanzhao minister
In 897 Longshun was murdered by one of his own ministers, a reminder that the Qingping guan council of chief ministers and generals could turn on the king it served. Shunhua succeeded him and asked Tang for friendly relations, but by then the emperor was a puppet of military governors and no answer came.
Outcome: The king's death exposed the fragility of a court where regional councillors held armed power.
Follow Dachanghe
Achievements & reckoning
Achievements
- Qingping guan council and nine ministries [3]
Nanzhao modelled its government on Tang, with nine ministries instead of six and imperial examinations for officials. The king relied on a council of chief ministers and generals called the Qingping guan, whose members also governed regions through a six-way division mirroring Tang's Six Ministries. The result has been described as Sinitic bureaucracy joined to Southeast Asian-style alliances with local leaders.
Follow New Book of Tang - Yanyuan salt monopoly from 754 [3]
When Nanzhao took the salt marshes of Yanyuan County in 754, it gained control over a commodity every household needed. The crown regulated salt to its people, a practice that continued under the later Dali kingdom. Holding the marshes meant holding a reliable revenue stream independent of tribute or conquest, and it helped fund the walled towns and standing troops of the frontier.
Follow Yanyuan County - Luojuzi, the barefoot tiger sons [3]
Nanzhao kept a full-time vanguard called Luojuzi, 'tiger sons,' chosen as the strongest one in every hundred soldiers. They wore red helmets and leather armour, carried rhinoceros-hide bronze shields, and went barefoot. The king's own guards, the Zhunu Quju or 'red crossbow,' were recruited from their ranks. The New Book of Tang says they ran into danger as though flying.
Reckoning
- Forced migration as state policy [3]
Piluoge, Geluofeng and Yimouxun were the most aggressive kings in expelling conquered peoples. Uprooting communities lowered the risk of rebellion and let the crown redistribute its demographic base. Yimouxun moved seven groups — Baiman, Luoluo, Mosuo, Dongmen, Xunding and Echang — from the Kunmi River into northwest Yunnan. Whole populations were transplanted to break local loyalties and to supply labour and soldiers where the state wanted them.
- A two-caste kingdom under a civilised veneer [3]
Nanzhao society split into administrative White Mywa in western Yunnan and militaristic Black Mywa in the east; the ruling Mengshe house came from the Black Mywa. The council and nine ministries looked Tang-like on paper, but governance has been described as essentially feudal. Exams and ministries sat above a hierarchy that assigned one caste to paperwork and another to war, with Baiman leaders given special titles to hold the arrangement together.
- The price of the Tibetan alliance [3]
From 754 to 794 Nanzhao acted inside the Tibetan Empire's orbit. Geluofeng accepted a Tibetan title and behaved as part of that empire; Yimouxun carried the policy forward. The partnership brought military cover against a much larger neighbour, but it also meant fighting Tang's wars and surrendering the independent diplomacy that early kings had built at Chang'an. When the alliance ended, Nanzhao had to negotiate with Tang from a weaker position.
Follow
Deeper cuts
Benzhu lords, bronze drums and a borrowed Buddha
Almost nothing is known of Nanzhao religion before Buddhism, and what survives comes largely from Yuan dynasty accounts of the Bai. They describe Benzhuism, a cult of local lords and deities who are spirits of people that died under unusual circumstances, with no hierarchy linking one to another. Archaeological work in Yunnan points to animal and human sacrifices offered around a metal pillar with the aid of bronze drums, in exchange for wealth and health; the iron-pillar ritual seems to have carried on into the Dali kingdom. The Bai also kept female shamans and revered white stones, a practice they shared with the Qiang. Buddhism reached the kingdom eventually, but the older rites of pillar, drum and local spirit did not simply disappear.
Yuan sources record that female shamans served the Benzhu lords and that white stones were worshipped alongside them, linking Nanzhao's Bai to the Qiang of the north.
Bai scriptures and a chain of father-son names
Nanzhao's ruling elite wrote in Chinese script, yet scriptures unearthed in the 1950s were composed in the Bai language — a script the state never tried to standardise or spread. That gap between official writing and spoken tongue runs through the culture. The kings also used a father-son patronymic system familiar from Yi and Tibeto-Burman tradition: the last character of a father's name became the first character of his son's, and so on down to the grandson. This was not a surname in the modern sense but a shortened genealogy, since a full Yi name could carry a tribe, a clan, a father's name and a personal name, with suffixes marking male and female. In court and scripture alike, identity was recorded as a chain of relations rather than a single fixed name.
The Bai-language scriptures found in the 1950s used Chinese characters to write a language the state never standardised — a script without a school system behind it.
The tuzhuan scroll and a golden Guanyin
Nanzhao officials commissioned the tuzhuan scroll painting to answer Shunhua's question of how Buddhism had entered the kingdom. Its narrative closes with the ruler worshipping a golden statue of Acuoye Guanyin, and the painted caption heaps titles on him: Maharaja, Earth Wheel King, danbi qianjian, 'Who Invites The Four Directions to Become One Family,' the Piaoxin Meng Longhao. 'Maharaja, Earth Wheel King' is Buddhist language for a wheel-turning sovereign; 'Piaoxin' means ruler of the Pyu city-states; the Four Directions gesture at a realm imagined as universal. The scroll is thus a work of political theology as much as devotion — a painted argument that a Yunnan king belonged in the company of Buddhist world-rulers. Its audience was a court that needed to explain its own sacred pedigree.
The scroll names its ruler 'Piaoxin' — ruler of the Pyu city-states — even though the Pyu lay far beyond Nanzhao's effective control, a title claimed rather than exercised.
A trade-route state on the Mekong edge
Historian Yumio Sakurai called Nanzhao a 'trade route controlling state,' and the label fits its geography. The Erhai basin sat where overland routes from China met the paths into India and Southeast Asia, and the kingdom planted walled cities on the Upper Irrawaddy, organising them into five circuits to keep those roads open and the tribes along them manageable. It saw itself as the furthest point of Sinitic control, the place where the civilising work of the Han stopped and other peoples began. A fifth-century Yunnan ballad catches the frontier's mental map: Passing over the Bonan Mountains, We negotiate the Lanjin crossing. After traversing the Mekong, We enter [the lands] of other peoples. Controlling the crossings meant taxing goods, securing salt and turning geography into revenue without holding every valley.
The kingdom's own ballad marks the Mekong as the boundary of the known Sinitic world — a river crossed by merchants and armies heading into other peoples' lands.
Lakeshore farms and mountain households
The kingdom's everyday wealth came from two lakes. Fertile ground around Erhai — an alpine fault lake — and Lake Dian supported the agrarian base that fed walled towns and standing armies. Villages here were not isolated: they supplied the grain that made a full-time vanguard possible and the labour that built the chains of walled towns stretching southwest from the Chinese frontier. The lakeshore was the kingdom's pantry, and the mountains behind it its recruiting ground, so a farmer's surplus and a soldier's pay were parts of the same system. Even when kings campaigned far south, the state they commanded rested on these fields and the families working them.
Erhai is an alpine fault lake; the farms around it, not the conqueror's capital, were the kingdom's true granary.
Structural lenses
Drafted by GPT-6 Luna (lens-v1.1) from the cited sources.
Black–White Mywa Divisions and the Tiger Sons
Nanzhao society divided the White Mywa of western Yunnan, associated with administration, from the Black Mywa of the east, associated with military service; its ruling Mengshe lineage came from the latter. The full-time Luojuzi, or “Tiger Sons,” were selected as the strongest soldier in every hundred. Their strict discipline allowed wounds to the front but made a wound to the back punishable by execution.
Yongchang’s Walled City and Nanzhao’s War Burials
Luoshengyan established a walled city at Yongchang in 712. The region’s later funerary landscape includes Duan Jianwei’s grave, two kilometres west of Xiaguan, and the Tomb of Ten Thousand Soldiers in Tianbao Park.
Erhai Trade Routes and State-Controlled Salt
Erhai’s position let Nanzhao regulate overland commerce connecting China, India, and Southeast Asia. After taking Yanyuan’s salt marshes in 754, Geluofeng’s government controlled salt distribution to its people, turning a local resource into a lever of rule.
Bai Scriptures and Buddhist Kingship
Nanzhao’s rulers used Chinese script, while scriptures unearthed in the 1950s record the Bai language; the kingdom did not standardize or widely promote that writing. The Nanzhao tuzhuan framed authority through Buddhist kingship: its narrative ends with Longshun worshiping a golden statue of Acuoye Guanyin and calls the ruler an “Earth Wheel King.”
Underappreciated & strange truths
At Guangdang, the planned garrison suffered catastrophic malaria: more than half the soldiers died within a year, yet Nanzhao maintained the fortified city facing the Pyu states and Tibetan routes.
- A kingdom handed over under an iron pillar [3]
In 652 Xinuluo absorbed the White Mywa realm of Zhang Lejinqiu, ruler of Erhai Lake and Cang Mountain, without fighting. Zhang made way for him of his own accord, and the transfer was consecrated under an iron pillar at Dali. The conquest that gave Nanzhao its lakeshore heartland was therefore sealed by ritual agreement rather than by a siege, and iron pillars stayed in use for ceremonies into the Dali kingdom that followed.
- The dragon-egg archer who founded Pagan [3]
Nanzhao's invasions of the Pyu city-states carried Bamar people from present-day Qinghai and Gansu into the Irrawaddy valley, where they later founded the Pagan Kingdom. Burmese chronicles name Pyusawhti, a semi-mythical warrior-king said to be a giant and a fine archer who defeated a great bird, a boar, a tiger and a flying squirrel. One account makes him the child of a sun prince and a dragon egg. His descendants used Nanzhao's father-to-son naming chain.
State ledger
- Lifespan
- 741–910 CE
- Peak territory
- 792,615 km²
- Capital
- Dali
- Languages
- Bai
- Government
- monarchy
- Seshat ID
- cn_nanzhao_k
Connected world
Nanzhao linked Tang China with Tibet, the Pyu states, and northern Southeast Asia through tribute missions, warfare, captured artisans, and the salt routes of Yunnan. Its Bai and Nuosu-speaking communities later formed the basis of the Dali Kingdom.
Drafted by HungerG (links-v2.0) from the cited sources.
-
After the Yunnan prefect tried to rob Nanzhao envoys, Geluofeng attacked Tang territory. Nanzhao then defeated Xianyu Zhongtong's 80,000-man army at Xiaguan in 751.
-
Nanzhao allied with the Tibetan Empire against the Tang by the end of 754, an arrangement lasting until 794. Geluofeng accepted a Tibetan title and acted as part of the empire.
-
Nanzhao's southward expansion included military campaigns into the Pyu city-states, bringing the two polities into direct armed conflict.
Drafted by MiniMax M3.1 Flash (polity-v1.5) from five cited sources · almanac by HY4 Flash (almanac-v1.1) · deep lenses by GPT-6 Luna (lens-v1.1), and checked that every citation points to one of them. See the evidence How AI is used
IXCities & tongues
Mapped cities & trade towns
| City | Country | Near peak | Peak pop. | Growth | Globe |
|---|---|---|---|---|---|
| Dali | China | 92k | 100k (860 CE) | Locate → | |
| Chengdu | China | 75k | 1.40M (1975 CE) | Locate → | |
| Nanning | China | — | 790k (1975 CE) | Locate → |
Languages across the footprint
| Language | Family | Macroarea | Horizon |
|---|---|---|---|
| Northern Bai | Sino-Tibetan | Eurasia | Glottolog 5.3 |
| Mang | Austroasiatic | Eurasia | Glottolog 5.3 |
| Bolyu | Austroasiatic | Eurasia | Glottolog 5.3 |
| Longjia | Sino-Tibetan | Eurasia | Glottolog 5.3 |
| Bugan | Austroasiatic | Eurasia | Glottolog 5.3 |
| Caijia | Sino-Tibetan | Eurasia | Glottolog 5.3 |
| Luren | Sino-Tibetan | Eurasia | Glottolog 5.3 |
| Guiqiong | Sino-Tibetan | Eurasia | Glottolog 5.3 |
| Gau | Tai-Kadai | Eurasia | Glottolog 5.3 |
| Gelao Mulao | Tai-Kadai | Eurasia | Glottolog 5.3 |
XArchives & dossiers
Dossiers across this ground
- Tang Chang'an, Dunhuang & Talas: Silk Road Cities & Paper Westward (750 CE) · East Asia, 750 CEOpen dossier →
Sogdian caravan wards, Mogao manuscript vaults, Xuanzang's Sanskrit sutra library, and the 751 CE Talas frontier
XICulture & letters
Primary works, letters & books
No matching primary books indexed for this span yet.
XIISources & provenance
- Cliopatria Historical Polity Borders v0.2.0 (Seshat Databank). CC-BY-4.0.
- Wikidata Historical Entities & Lineage Spine. CC0-1.0.
- Wikipedia — Nanzhao. CC-BY-SA-4.0.
- Reba / Chandler Historical Urban Population Estimates (3700 BCE–1975 CE). CC-BY-4.0.
- Glottolog 5.3 Global Language & Family Classification. CC-BY-4.0.