Middle Ages938
Battle of Bach Dang (938): Ngo Quyen Ends Chinese Rule
The Battle of Bach Dang in 938 saw Ngo Quyen trap a Southern Han fleet on hidden river stakes, ending about a thousand years of Chinese rule in Vietnam.

Contents
The Battle of Bach Dang was fought in late 938 at the mouth of the Bach Dang River in northern Vietnam. The Vietnamese commander Ngo Quyen trapped an invading fleet of the Southern Han, a southern Chinese kingdom, on stakes hidden beneath the tide, killing its commander. The victory is remembered as the end of about a thousand years of Chinese rule and the starting point of lasting Vietnamese independence.
Background: a millennium of Chinese rule
The Red River delta, the heartland of northern Vietnam, came under Chinese control in 111 BC, when the Han dynasty conquered the kingdom of Nanyue. For the next ten centuries it was governed, with interruptions, as a Chinese province. Local revolts broke out repeatedly, most famously the Trung Sisters’ rebellion in AD 40, but none won permanent independence.
Under the Tang dynasty the region was the Protectorate of Annam (“the pacified south”), governed from a citadel at Dai La, on the site of modern Hanoi. When Tang power collapsed in the late ninth century, local strongmen filled the gap. In 905 Khuc Thua Du, from a leading local family, took the title of military governor, and his heirs ruled with little real Chinese control.
China itself broke apart after 907 in the period of the Five Dynasties and Ten Kingdoms. One of the new southern states, the Southern Han, based at Guangzhou, claimed the old protectorate. Its forces occupied the delta in 930, but in 931 a Vietnamese general, Duong Dinh Nghe, drove them out and governed the country himself.
The road to war
In 937 Duong Dinh Nghe was murdered by one of his own officers, Kieu Cong Tien, who seized power. Kieu faced immediate opposition from Ngo Quyen, a commander from a powerful family who was also Duong Dinh Nghe’s son-in-law. Ngo Quyen gathered troops to avenge his father-in-law.
Kieu Cong Tien turned to the Southern Han for help. The Southern Han ruler, Liu Yan (known by his temple name as Emperor Gaozu), saw a chance to recover the province. He appointed his son, Liu Hongcao, to lead a fleet by sea to the Red River delta, while he himself moved with reserve forces to a coastal base near the frontier.
Before the fleet arrived, Ngo Quyen captured the capital and killed Kieu Cong Tien in 938. The Southern Han expedition, meant to support an ally, now faced a hostile and united opponent.
The battle on the river
The Bach Dang River is a tidal channel that reaches the sea in the Gulf of Tonkin, near today’s Hai Phong and Quang Ninh. Its water level rises and falls sharply with the tide, and an invading fleet heading inland toward the delta was likely to use it. Ngo Quyen planned his defence around that fact.
According to the Vietnamese annals, he ordered large wooden stakes, their points sheathed in iron, to be driven into the riverbed near the estuary. At high tide the stakes were hidden under the water. As the Southern Han fleet approached on the rising tide, small Vietnamese boats engaged it and then fell back upstream, drawing the larger ships after them over the stakes.
Once the tide turned and began to fall, the Vietnamese attacked in force. The heavy Han ships, trying to withdraw, were caught and holed on the exposed stakes. Many sank or were captured, and the annals state that more than half of the Han soldiers drowned. Liu Hongcao himself was killed.
When news of the disaster reached Liu Yan, he called off the campaign and withdrew. Chinese histories, including the eleventh-century Zizhi Tongjian, confirm the defeat and the death of the prince, although the detailed account of the stakes comes mainly from later Vietnamese chronicles.
Key people
- Ngo Quyen (898–944): Vietnamese commander who planned the stake trap and became the first king of an independent Vietnamese state.
- Duong Dinh Nghe: general who expelled the Southern Han in 931; his murder in 937 set the crisis in motion.
- Kieu Cong Tien: Duong’s assassin, who invited Southern Han intervention and was killed by Ngo Quyen before the battle.
- Liu Yan (889–942): founder and emperor of the Southern Han, who launched the invasion.
- Liu Hongcao: Liu Yan’s son and commander of the fleet, killed in the battle.
Consequences
In 939 Ngo Quyen proclaimed himself king and set up his capital at Co Loa, an ancient fortified site north of the Red River that had been the seat of earlier Vietnamese rulers. He organised a court and administration on his own authority rather than as a Chinese official.
His rule was short. After his death in 944, his brother-in-law seized power and the Ngo family lost control, and the country split among rival local lords, a period known as the Twelve Warlords. In 968 Dinh Bo Linh reunited the territory as the kingdom of Dai Co Viet, with its capital at Hoa Lu. Later dynasties, including the Ly, who moved the capital to Thang Long in 1010, built on this foundation.
Chinese claims did not disappear. A Song dynasty army invaded in 981 and was defeated, again near the Bach Dang River, by Le Hoan, a former general who had taken the throne in 980. Vietnamese rulers often accepted a formal tributary relationship with Chinese emperors, but they governed independently.
Legacy and memory
Bach Dang became one of the most celebrated sites in Vietnamese history. In 1288 the general Tran Hung Dao used the same stake tactic on the same river to destroy a Yuan fleet during the Mongol invasions of Dai Viet. Wooden stakes uncovered by archaeologists in the area since the 1950s are generally linked to that later battle rather than to 938.
Ngo Quyen is honoured with temples, including one at his traditional birthplace in Duong Lam, near Hanoi, and his tomb site is preserved there. Streets in almost every Vietnamese city carry his name, and the victory of 938 is taught as the founding moment of national independence.
Myths and facts
Popular accounts sometimes say that Vietnam was fully independent from the moment of the battle. In practice, independence was consolidated over several decades, through the turmoil after 944 and the reunification of 968.
Another common claim is that the iron-tipped stakes on display in museums come from Ngo Quyen’s battle. Most surviving stakes found at Bach Dang are associated with the 1288 battle, and dating individual stakes to 938 has not been firmly established.
Timeline
- 905: Khuc Thua Du becomes military governor, beginning local self-rule.
- 930: Southern Han forces occupy the Red River delta.
- 931: Duong Dinh Nghe expels the Southern Han and governs the country.
- 937: Duong Dinh Nghe is murdered by Kieu Cong Tien, who seeks Southern Han support.
- 938: Ngo Quyen kills Kieu Cong Tien, then defeats the Southern Han fleet at the Bach Dang River; Liu Hongcao is killed.
- 939: Ngo Quyen proclaims himself king, with his capital at Co Loa.
- 944: Death of Ngo Quyen; his dynasty soon loses control.
- 968: Dinh Bo Linh reunifies the country as Dai Co Viet.
Why it matters
The Battle of Bach Dang turned a local power struggle into a lasting break with China. It showed how a smaller force could use terrain and tides against a stronger fleet, a lesson Vietnamese commanders repeated three centuries later. For Vietnamese people today it remains the symbolic beginning of their independent history.
Frequently asked questions
Who won the Battle of Bach Dang in 938?
The Vietnamese leader Ngo Quyen won. His forces destroyed the fleet of the Southern Han, a southern Chinese kingdom, and killed its commander, the prince Liu Hongcao.
How did Ngo Quyen use stakes in the Bach Dang River?
He had large wooden stakes, reportedly tipped with iron, driven into the riverbed near the estuary so that they were hidden at high tide. Small boats lured the Han ships upriver, and when the tide fell the heavy ships were caught and holed on the stakes.
Why is the Battle of Bach Dang important?
It is traditionally seen as ending roughly a thousand years of Chinese rule over northern Vietnam, which had begun in 111 BC. Ngo Quyen declared himself king in 939, and later Vietnamese states kept their independence from China for most of the following centuries.
Were there other battles at Bach Dang?
Yes. The river saw two more famous Vietnamese victories, against a Song Chinese invasion in 981 and against the Mongol-led Yuan fleet in 1288. The 1288 battle under Tran Hung Dao repeated the stake tactic.
Who was the Southern Han?
Southern Han was one of the Ten Kingdoms that arose in southern China after the fall of the Tang dynasty, with its capital at Guangzhou. It claimed the former Tang protectorate of Annam, the region of northern Vietnam around the Red River.
What happened after Ngo Quyen's victory?
Ngo Quyen ruled as king from Co Loa until his death in 944. His dynasty soon fragmented in a period of rival warlords, until Dinh Bo Linh reunified the country in 968.
Sources and further reading
- Keith Weller Taylor, The Birth of Vietnam (University of California Press, 1983)
- K. W. Taylor, A History of the Vietnamese (Cambridge University Press, 2013)
- Dai Viet su ky toan thu (Complete Annals of Dai Viet), Ngo Quyen section
- Encyclopaedia Britannica, "Vietnam: History"
Cite this article
“Battle of Bach Dang (938): Ngo Quyen Ends Chinese Rule.” Chronicle, https://chronicle.bigworldlist.com/articles/battle-of-bach-dang-938/.