Vietnam History: From Âu Lạc Kingdom to Modern Nation

Vietnam's recorded history begins in the Red River Delta in the third century BCE under the rule of the Âu Lạc kingdom, established by Thục Phán in 257 BCE with its capital at Cổ Loa, whose triple-ringed earthwork fortifications still stand north of modern Hanoi. The kingdom fell to Zhao Tuo in 207 BCE, a Chinese general who established Nam Việt with its capital at Panyu in what is now Guangzhou. This state included northern Vietnam and parts of southern China until Han dynasty forces conquered it in 111 BCE, beginning over one thousand years of direct Chinese administration.

The Han empire organized northern Vietnam into the commanderies of Giao Chỉ, Cửu Chân, and Nhật Nam. Chinese authorities introduced Confucian bureaucracy, Chinese script, wet rice agricultural techniques that transformed the Red River Delta, and Mahayana Buddhism that arrived via maritime routes from India in the second century CE. The Trưng Sisters, Trưng Trắc and Trưng Nhị, led the first major rebellion against Chinese rule in 40 CE, establishing an independent kingdom that controlled sixty-five fortified settlements across the Red River Delta and areas south to modern Hue before Chinese general Ma Yuan suppressed the rebellion in 43 CE. The sisters drowned themselves in the Hát River rather than submit to capture. Despite Chinese cultural overlay, the Vietnamese language remained distinct from Chinese, belonging to the Austroasiatic family related to Khmer and Mon.

Early Lý Bôn drove Tang officials from the Red River Delta in 542 CE and established the Early Lý dynasty with its capital at Long Biên near modern Hanoi, ruling until 602 CE when Sui dynasty forces reasserted control. The Tang dynasty administered Vietnam as the protectorate of Annam beginning in 679 CE, with the administrative center at the Citadel of the Tang Protectorate General to Pacify the South. Tang officials introduced the equal field system that redistributed land among peasant households and established examination systems for selecting local officials. Buddhism became institutionalized during this period through the Vinitaruci school founded by the Indian monk Vinitaruci who arrived in 580 CE, and the Vô Ngôn Thông school established by the Chinese monk Vô Ngôn Thông in 820 CE.

Ngô Quyền achieved lasting independence by defeating the Southern Han fleet at the Battle of Bach Dang River in 938 CE, using iron-tipped stakes concealed below the water surface that impaled enemy vessels when the tide receded. Ngô Quyền proclaimed himself king but died in 944 CE, initiating the period known as the Twelve Warlords from 944 to 968 CE when regional military commanders controlled separate territories. Đinh Bộ Lĩnh reunified these territories in 968 CE, establishing the Đinh dynasty with its capital at Hoa Lư in Ninh Binh province, an area protected by limestone karst formations. Đinh Bộ Lĩnh took the title Đại Thắng Minh Hoàng Đế and renamed the country Đại Cồ Việt.

Lê Hoàn founded the Early Lê dynasty in 980 CE after Đinh Bộ Lĩnh's assassination. When Song dynasty forces invaded in 981 CE with approximately 300,000 troops under the command of general Hầu Nhân Bảo, Lê Hoàn defeated them at the Battle of Chi Lăng, killing the Song commander and forcing a retreat. The victory established Vietnam's independence from its northern neighbor as a permanent condition rather than a temporary interlude. Lê Hoàn maintained Hoa Lư as the capital and sent tribute missions to the Song court, establishing the dual pattern of military resistance against invasion combined with diplomatic accommodation that characterized Vietnam's northern relationship for centuries.

Lý Công Uẩn established the Lý dynasty in 1009 CE and moved the capital from Hoa Lư to Đại La, which he renamed Thăng Long, meaning ascending dragon, in 1010 CE. The site corresponds to central Hanoi where excavations at the Central Sector of Imperial Citadel of Thang Long have revealed construction layers from the eleventh century. The Lý dynasty ruled until 1225 CE and created the administrative structure for a centralized state based on Chinese models adapted to Vietnamese conditions. Lý Thánh Tông established the Temple of Literature in 1070 CE as Vietnam's first university, dedicated to Confucius and used to educate sons of the elite. The first examination for the doctorate degree occurred in 1075 CE with three successful candidates. The dynasty adopted the name Đại Việt in 1054 CE, meaning great Việt, which remained the country's name until the nineteenth century.

The Lý court promoted Buddhism as a state religion while maintaining Confucian administrative practices. Thích Ca Phật Đài, built in 1049 CE and later renamed the One Pillar Pagoda, represented the dynasty's architectural patronage in its design of a wooden structure rising from a single stone pillar in a lotus pond. The dynasty expanded southward into territories controlled by the Champa kingdoms, capturing the Cham capital Vijaya near modern Quy Nhon in 1044 CE. Cham forces counterattacked and burned Thăng Long in 1076 CE before Lý Thường Kiệt drove them south and annexed three Cham provinces. Lý Thường Kiệt also led forces north and occupied Yongzhou and Qinzhou in Guangxi province in 1075 CE before Song forces counterattacked, resulting in a negotiated peace in 1077 CE that established borders lasting centuries.

The Trần dynasty replaced the Lý in 1225 CE when Trần Thủ Độ arranged the abdication of the last Lý emperor and installed eight-year-old Trần Cảnh as Trần Thái Tông. The Trần court organized Vietnam to resist Mongol invasions that threatened all of mainland Southeast Asia. Kublai Khan's Yuan dynasty demanded submission in 1257 CE. When the Trần court refused, Mongol general Uriyangkhadai invaded with forces that captured Thăng Long before disease and overextended supply lines forced a retreat. The Yuan invaded again in 1284 CE with an army commanded by Kublai Khan's son Toghan, supported by a fleet under general Sögetu. Trần forces employed defensive strategies that avoided pitched battles, evacuated the capital, and harassed supply lines. Trần Hưng Đạo commanded Vietnamese forces that destroyed the Yuan fleet at the second Battle of Bạch Đằng River in 1288 CE using the same stake technique Ngô Quyền had employed three centuries earlier. The Yuan withdrew permanently after this defeat.

The Trần dynasty ruled until 1400 CE and implemented land reforms that limited holdings of aristocratic families and redistributed fields to peasants. The court established the category of palace examinations in 1232 CE and expanded the examination system throughout the thirteenth century. Trần scholars composed works in Nôm script, which used modified Chinese characters to write Vietnamese phonetically. The Thiền school of Buddhism dominated religious life with royal patronage going to monk-scholars like Tuệ Trung Thượng Sĩ who advised Trần emperors. The empire expanded further into Cham territory, annexing the province of Ô and Rí in 1306 CE when the Cham king Chế Mân offered it as dowry for a Trần princess.

Hồ Quý Ly seized power in 1400 CE and established the Hồ dynasty after forcing the abdication of the last Trần emperor. Hồ Quý Ly moved the capital to Tây Đô in Thanh Hóa province and constructed a citadel there whose stone walls survive as the Citadel of the Ho Dynasty. The Ming dynasty invaded in 1407 CE under the pretext of restoring the Trần, defeating Hồ forces and establishing direct Chinese rule as the province of Jiaozhi. Ming administrators attempted to assimilate Vietnam culturally by imposing Chinese dress, hairstyles, and customs while extracting resources including gold, silver, pearls, and precious woods. Ming forces conscripted laborers and relocated Vietnamese craftsmen to China.

Lê Lợi organized resistance against Ming occupation from his base in the Lam Sơn region of Thanh Hóa province beginning in 1418 CE. His forces grew from a few hundred to several thousand as Ming economic exploitation alienated the population. Poet-strategist Nguyễn Trãi served as Lê Lợi's chief adviser and composed proclamations justifying the resistance. Vietnamese forces defeated Ming armies in numerous engagements between 1418 and 1427 CE. The decisive Battle of Tốt Động in 1426 CE saw Lê Lợi's forces surround and defeat a Ming army sent to relieve the besieged Chinese garrison at Thăng Long. The Ming agreed to withdraw in 1427 CE and recognize Vietnamese independence. Lê Lợi established the Lê dynasty in 1428 CE and took the reign name Lê Thái Tổ.

The Lê dynasty ruled from Thăng Long and created the most comprehensive legal code in Vietnamese history, the Hồng Đức Code promulgated under Lê Thánh Tông who reigned from 1460 to 1497 CE. The code contained 722 articles covering criminal law, civil law, military organization, and administrative procedures. Lê Thánh Tông reformed the examination system and expanded the bureaucracy, creating a scholar-official class that dominated government. He reorganized the empire into thirteen provinces and established six ministries modeled on Chinese administrative structures. The emperor led campaigns that destroyed the Champa capital Vijaya in 1471 CE, killed the Cham king Trà Toàn, and annexed Cham territories as far south as the Hai Van Pass near modern Da Nang. Approximately 60,000 Cham people were deported north. This conquest opened central Vietnam to Vietnamese settlement and marked the effective end of Champa as an independent power.

The Lê dynasty entered decline after Lê Thánh Tông's death in 1497 CE as regional families gained power. The Mạc family seized the throne in 1527 CE when general Mạc Đăng Dung forced the Lê emperor to abdicate. Loyalist officials fled south and established a restoration government under a Lê figurehead, supported by the Nguyễn and Trịnh families. This initiated civil war that divided Vietnam between 1533 and 1592 CE. The Mạc controlled the Red River Delta from Thăng Long while the Lê restoration government controlled territory south of the Red River. Trịnh Kiểm served as regent for the restored Lê court and his forces gradually pushed north, capturing Thăng Long in 1592 CE and confining the Mạc to Cao Bằng province where they ruled until 1677 CE.

The Trịnh family ruled northern Vietnam as military lords while maintaining Lê emperors as ceremonial figureheads from 1592 to 1788 CE. The Nguyễn family established parallel control over southern Vietnam from their base at Phú Xuân near modern Hue beginning in 1558 CE. Nguyễn Hoàng governed southern territories nominally under Lê authority but effectively independent. The Trịnh launched seven major campaigns against the Nguyễn between 1627 and 1672 CE, all failing to break through defensive walls the Nguyễn constructed near Đồng Hới in Quảng Bình province. A de facto border stabilized near the 18th parallel dividing Vietnam between Trịnh and Nguyễn domains for over a century.

The Nguyễn pushed south through territories inhabited by Cham, Khmer, and highland peoples in the seventeenth and eighteenth centuries. Nguyễn forces took control of the Mekong Delta from the weakening Khmer empire between 1623 and 1757 CE, establishing fortified settlements at Saigon in 1698 CE and expanding into the Cà Mau peninsula. By 1757 CE the Nguyễn controlled all of southern Vietnam to the Gulf of Thailand. The Nguyễn lords promoted settlement by Vietnamese peasants, established administrative structures, and organized the delta's canal systems for rice cultivation. Chinese merchants fled Ming collapse and Qing conquest settled in southern port cities like Hoi An and Saigon, creating commercial networks.

The Tây Sơn rebellion erupted in 1771 CE when three brothers from Tây Sơn village in Bình Định province led an uprising against Nguyễn authority. Nguyễn Nhạc, Nguyễn Lữ, and Nguyễn Huệ commanded peasant armies that captured Quy Nhon in 1773 CE and expanded north and south. Tây Sơn forces captured Phú Xuân in 1775 CE and Saigon in 1776 CE, destroying Nguyễn power. Only Nguyễn Ánh, a teenage prince, escaped with French missionary Pigneau de Béhaine's assistance. The Tây Sơn then turned north and captured Thăng Long in 1786 CE, ending Trịnh rule. Nguyễn Huệ proclaimed himself Emperor Quang Trung and defeated a Qing invasion force of 200,000 troops at the Battle of Ngọc Hồi-Đống Đa outside Thăng Long during the Tết holiday of 1789 CE. The victory remains celebrated as one of Vietnam's greatest military achievements.

Nguyễn Ánh rebuilt power from southern bases with French weapons and advisers beginning in the 1780s. After Quang Trung died in 1792 CE at age forty, Nguyễn Ánh's forces gradually conquered Vietnam, taking Quy Nhon in 1799 CE, Phú Xuân in 1801 CE, and Thăng Long in 1802 CE. Nguyễn Ánh proclaimed himself Emperor Gia Long in 1802 CE, establishing the Nguyễn dynasty that ruled until 1945 CE. He renamed the country Việt Nam, the first official use of the name combining Việt people with Nam meaning south. Gia Long established his capital at Phú Xuân, renamed Huế, and constructed the Imperial City of Hue beginning in 1804 CE based on the Forbidden City in Beijing. The complex covered 520 hectares and included palaces, temples, walls, gates, and moats completed over decades.

The Nguyễn emperors centralized administration and imposed orthodox Confucianism as state ideology. Emperor Minh Mạng who ruled from 1820 to 1841 CE reorganized the country into thirty provinces and standardized legal codes, weights, measures, and currency. He promoted Vietnamese script written in Chinese characters for official documents and restricted Christian missionary activity. Minh Mạng constructed his tomb complex five kilometers south of Hue between 1840 and 1843 CE around an artificial lake. Emperor Thiệu Trị who ruled from 1841 to 1847 CE and Emperor Tự Đức who ruled from 1847 to 1883 CE continued anti-Christian policies, executing French missionaries and Vietnamese converts.

France used protection of Catholic missionaries as pretext for military intervention. French naval forces attacked Da Nang in 1858 CE and captured Saigon in 1859 CE. The Treaty of Saigon signed in 1862 CE ceded three southern provinces to France and opened three ports to French trade. France organized these provinces as the colony of Cochinchina in 1867 CE after seizing three additional southern provinces. French forces invaded northern Vietnam in 1873 CE and again in 1882 CE. The Treaty of Huế signed in 1883 CE established French protectorates over Tonkin in the north and Annam in central Vietnam while maintaining the Nguyễn emperor as ceremonial ruler. French forces defeated Chinese Qing troops supporting Vietnamese resistance at the Battle of Bang Bo in 1885 CE and the Battle of Zhennan Pass in 1885 CE, leading to the Treaty of Tientsin that recognized French control.

Information reflects conditions at time of writing. Verify all critical details through official sources before travel.