Select an episode
Not playing

War in the South: Nanzhao and River Kingdoms

In Yunnan’s highlands, Tang columns bog down. Nanzhao shifts from ally to rival, smashing imperial armies near Erhai. Jungle paths, mountain fortresses, and river flotillas define a southern war few in Chang’an fully grasp.

Episode Narrative

In the early seventh century, a new dawn broke in the annals of Chinese history. The Sui dynasty had reunited a fragmented nation, at last stitching together the torn fabric of centuries — an era filled with division and discord. This reunification would lay the groundwork for a powerful successor: the Tang dynasty. Emerging from the shadows of history, the Tang would soon embark on ambitious military campaigns deep into the southwest, where the Yunnan region awaited. Here, amidst lush valleys and majestic mountains, the Nanzhao kingdom would rise to prominence, a force to be reckoned with on the battlefield.

The Tang dynasty, ruling from 618 to 907, stood tall in its aspirations. It relied on a mix of conscripted peasant infantry, veteran frontier soldiers cultivated through the fubing system, and the cavalry of nomadic allies. Yet, as history would repeatedly demonstrate, logistical woes often clouded these grand ambitions. The mountainous, malarial terrain of the southwest presented persistent challenges. Rugged landscapes turned treacherous, obstructing supply lines and undermining the resolve of even the most committed armies.

In the mid-seventh century, under the decisive leadership of Emperor Taizong and his general Li Jing, the Tang achieved resounding victories against the Eastern Türk Qaghanate. Their success showcased a new military doctrine, one emphasizing a sophisticated mix of arms and strategic mobility. This model, however, would later face scrutiny as it was applied to the unpredictable southern campaigns.

The Tang dynasty began to establish an intricate network of military colonies and garrisons in the southwest. They aimed to carve out a foothold in this complex and vibrant region, marked by a tapestry of ethnic diversity. Yet, from the outset, local resistance began to rear its head. The vibrant cultures of Yunnan, intricately woven through centuries, would not yield easily. The difficult terrain and the haunting specter of disease, particularly malaria, became formidable adversaries, foreshadowing the Tang's struggles with the emerging power of the Nanzhao kingdom.

By the late 730s, Nanzhao, once an ally of the Tang, began to consolidate its power. King Geluofeng would rise to prominence, leading his people through both diplomacy and the forging of a strong military identity. In a significant turn of events during the 750s, Nanzhao broke its connection with the Tang and allied with Tibet. This shift marked a pivotal moment in the military history of the southwest. The Tang, feeling the sting of betrayal, withdrew their forces and launched punitive expeditions. Yet it was here that they encountered unforeseen challenges. The rugged landscapes around Erhai Lake would prove a graveyard for Tang ambitions.

In the fateful year of 751, under the command of General Xianyu Zhongtong, a significant Tang army marched toward Xiaguan, near modern-day Dali, only to encounter the full force of Nanzhao’s strategic prowess. The battle was brutal, culminating in a complete annihilation of the Tang forces. This crushing defeat shattered the Tang’s dreams of direct control over Yunnan, forcing them to reconsider their strategies for years to come.

The reverberations of this defeat cascaded through the heartland. Between 755 and 763, the tides of fortune turned even further as the An Lushan Rebellion shook the very foundations of the Tang dynasty. Resources were diverted from the southern frontier, leaving Nanzhao unhindered to expand its influence and assert its power across the mountainous terrain. By the late eighth century, the kingdom would launch ambitious raids into Sichuan, sacking the city of Chengdu in 829, demonstrating an ability to project their influence far beyond their own territories.

As the ninth century dawned, the Tang dynasty made desperate attempts to regain control. They constructed fortified outposts and sought alliances with local tribes. Yet the profound knowledge of the terrain possessed by Nanzhao proved to be a decisive advantage, allowing them to conduct guerrilla warfare with remarkable effectiveness. As they slipped through the mountain passes and thick jungles, Nanzhao’s lighter, more mobile forces danced around the heavier, less adaptable Tang formations.

The daily lives of soldiers on these southern campaigns were marked by more than just battles and glory. They faced tropical diseases that swung like a double-edged sword, inflictions that sapped their strength and resolve. The unfamiliar landscapes loomed large, suffused with alien customs and often a profound psychological stress. Soldiers penned letters home, describing not the victories sung in court, but the strange sights and sounds of Yunnan, their trials bittersweet as they confronted a world far removed from the Central Plains.

Logistical challenges were a constant shadow on the horizon. Tang military columns relied on rivers for transport where possible, but in the highlands of Yunnan, navigable paths were scarce. Supply trains creaked and strained, vulnerable to ambushes that could come at any moment, leading to starvation and desperation. The terrain, unyielding in its beauty, became an unpredictable foe.

Both Tang and Nanzhao armies utilized crossbows and siege engines, blending technology with the brutal realities of warfare. While the Tang brought heavy artillery to bear on the battlefield, Nanzhao thrived on mobility and speed. They employed hit-and-run tactics with strategic finesse, adapting to the landscape's rhythm as if it were an extension of their own bodies.

Culturally, the clashes between the two kingdoms were informed by deep-set perceptions. The Tang court often regarded the southwest as a “barbarian” frontier, a place where their own affluence had little meaning. This narrative led to misleading assumptions about the sophistication of Nanzhao and the loyalty of local allies — an oversight that would become a significant strategic miscalculation.

The ongoing military campaigns and their immense costs did not only take a toll on the battlefield; they also strained the Tang’s finances. The empire, once a symbol of abundance, found itself grappling with fiscal crises that would only deepen as military resources drained into the southern conflicts.

In the late ninth century, though Nanzhao would eventually face its own internal strife, the legacy of its resistance against Tang expansion would leave a permanent mark on Yunnan’s political landscape. The intricate mosaic of cultures and politics would pave the way for the later Kingdom of Dali, a testament to the enduring impact of those conflicts.

As we reflect on this saga of power struggles and human resilience, we uncover more than just a story of warfare. The Tang-Nanzhao conflict illustrates not only the limits of imperial might but also the relentless forces of geography and culture. These ancient battles serve as a mirror for contemporary struggles, where local knowledge and the will to resist can often outmatch overwhelming power.

The echoes of these military campaigns still resonate today within the contours of Yunnan. The rivers that once bore Tang supplies now carry memories of soldiers lost and a kingdom shaped by defiance. The question remains: What lessons can we draw from this tapestry of history, where the ambitions of one empire were met with the unwavering spirit of another? In the theater of war, strategy and strength are essential, yet it is often the will of the people and their intimate knowledge of the land that tip the balance toward triumph or defeat. As we ponder these questions, the ghostly whispers of ancient battles linger in the mountain air, a gentle reminder of the enduring interplay between power and resilience.

Highlights

  • Early 7th century: The Sui dynasty (589–618) reunified China after centuries of division, setting the stage for the Tang dynasty’s (618–907) military campaigns into the southwest, including Yunnan, where the Nanzhao kingdom would emerge as a major power.
  • 618–907: The Tang dynasty’s military relied on a mix of conscripted peasant infantry, professional frontier armies (the fubing system), and allied nomadic cavalry, but logistical challenges — especially in the mountainous, malarial southwest — often undermined campaigns far from the Central Plains.
  • Mid-7th century: Tang Emperor Taizong (r. 626–649) and his general Li Jing achieved decisive victories over the Eastern Türk Qaghanate in 630, demonstrating the effectiveness of combined arms and strategic mobility — a model later applied, with mixed results, in southern campaigns.
  • 7th–8th centuries: The Tang established a network of military colonies (tuntian) and garrisons in the southwest, but local resistance, difficult terrain, and disease (especially malaria) limited permanent control, foreshadowing later struggles with Nanzhao.
  • By the 730s: Nanzhao, originally a Tang ally, began consolidating power in Yunnan, exploiting the region’s complex ethnic mosaic and leveraging both diplomacy and force to resist Tang overreach.
  • 750s: Nanzhao, under King Geluofeng, broke with the Tang and allied with Tibet, marking a turning point in the southwest’s military history. The Tang responded with punitive expeditions, but their armies were repeatedly defeated in the rugged terrain around Erhai Lake.
  • 751: A major Tang army, led by Xianyu Zhongtong, was annihilated by Nanzhao forces at Xiaguan, near modern Dali. The defeat was so complete that it forced the Tang to abandon hopes of direct control over Yunnan for decades.
  • 755–763: The An Lushan Rebellion devastated the Tang heartland, diverting resources from the southern frontier and allowing Nanzhao to expand its influence unchecked.
  • Late 8th century: Nanzhao launched raids into Sichuan, sacking Chengdu in 829 and demonstrating the kingdom’s ability to project power far beyond its mountainous core.
  • 9th century: The Tang attempted to reassert control through alliances with local tribes and the construction of fortified outposts, but Nanzhao’s mountain fortresses and knowledge of local terrain consistently gave them the upper hand in guerrilla warfare.

Sources

  1. https://pnas.org/doi/10.1073/pnas.2305564121
  2. https://linkinghub.elsevier.com/retrieve/pii/S0039914025010471
  3. https://linkinghub.elsevier.com/retrieve/pii/S2352409X23001177
  4. https://www.ssrn.com/abstract=4386724
  5. https://link.springer.com/10.1007/s42803-022-00054-7
  6. https://link.springer.com/10.1007/s12520-022-01634-y
  7. https://www.cambridge.org/core/product/identifier/9781009397278/type/element
  8. http://archiv.ub.uni-heidelberg.de/volltextserver/id/eprint/30386
  9. https://onlinelibrary.wiley.com/doi/10.1002/oa.3369
  10. https://www.nature.com/articles/s40494-025-02030-0