, 11th to 19th century Using
Chinese characters and references to Chinese sources,
Đại Việt monarchs reinforced royal legitimacy, representing themselves as
Han rulers of their own kingdoms and 'sons of heaven', on par with Chinese culture, statecraft, and antiquity. From the tenth to the thirteenth centuries, the
Lý dynasty consolidated authority while maintaining a tributary yet autonomous relationship with the
Song dynasty. The succeeding
Trần dynasty strengthened dynastic cohesion and repelled
invasions from the Mongol. In the fifteenth century, after a
brief occupation by the
Ming dynasty, independence was restored under the
Lê dynasty, which promoted Confucian governance and
territorial expansion. Political fragmentation followed in the seventeenth and eighteenth centuries as rival regimes ruled the North (
Đàng Ngoài) and South (
Đàng Trong), until the
Nguyễn dynasty unified the country in the nineteenth century before colonial incorporation into
French Indochina and the eventual end of the monarchy. Literacy largely remained the preserve of the upper classes. Initially, writing was conducted exclusively in
chữ Hán, but by the 13th century a derivative script known as
chữ Nôm had emerged, enabling the writing of native Vietnamese words. However, it remained limited to poetry, literature, and practical texts like medicine while all state and official documents were written in
Classical Chinese. Aside from some mining and fishing, agriculture was the primary activity of most Vietnamese, and economic development and trade were not promoted or encouraged by the state.
Ngô, Đinh, and Anterior Lê dynasties (939–1009) '' lands in yellow,
Champa polities in green and the
Khmer Empire in purple. Ngô Quyền in 939 declared himself king, but died after only 6 years. His untimely death after a short reign resulted in a power struggle for the throne, resulting in the country's first major civil war, the
upheaval of the Twelve Warlords (
Loạn Thập Nhị Sứ Quân). The war lasted from 944 to 968, until the clan led by
Đinh Bộ Lĩnh defeated the other warlords, unifying the country. Đinh Bộ Lĩnh founded the
Đinh dynasty in 968 and proclaimed himself Đinh Tiên Hoàng (Đinh the Majestic Emperor) and renamed the country from
Tĩnh Hải quân to
Đại Cồ Việt (literally "Great Viet"), with its capital in the city of
Hoa Lư (
Ninh Bình Province). In relations with China since Đinh Bộ Lĩnh, Vietnamese dynasties had
considered their leaders "kings" although they had still implicitly considered their leaders emperors. In 979, Emperor Đinh Tiên Hoàng and his crown prince
Đinh Liễn were assassinated by Đỗ Thích, a government official, leaving his lone surviving son, the 6-year-old
Đinh Toàn, to assume the throne. Taking advantage of the situation,
the Song dynasty invaded Đại Cồ Việt. Facing such a grave threat to national independence, the commander of the armed forces, (Thập Đạo Tướng Quân)
Lê Hoàn took the throne, replaced the house of Đinh and established the
Anterior Lê dynasty. A capable military tactician, Lê Hoan realized the risks of engaging the mighty Song troops head on; thus, he tricked the invading army into Chi Lăng Pass, then ambushed and killed their commander, quickly ending the threat to his young nation in 981. The Song dynasty withdrew their troops and Lê Hoàn was referred to in his realm as Emperor Đại Hành (Đại Hành Hoàng Đế). Emperor Lê Đại Hành was also the first Vietnamese monarch who began the southward expansion process against the kingdom of
Champa. Emperor Lê Đại Hành's death in 1005 resulted in infighting for the throne amongst his sons. The eventual winner,
Lê Long Đĩnh, became the most notorious tyrant in Vietnamese history. He devised sadistic punishments of prisoners for his own entertainment and indulged in deviant sexual activities. Toward the end of his short lifehe died at the age of 24 – Lê Long Đĩnh had become so ill, that he had to lie down when meeting with his officials in court.
Lý dynasty, Trần dynasty and Hồ dynasty (1009–1407) built by emperor
Lý Thái Tông in 1049 When the emperor Lê Long Đĩnh died in 1009, a palace guard commander named
Lý Công Uẩn was nominated by the court to take over the throne, and founded the
Lý dynasty. This event is regarded as the beginning of another golden era in Vietnamese history, with the following dynasties inheriting the Lý dynasty's prosperity and doing much to maintain and expand it. The way Lý Công Uẩn ascended to the throne was rather uncommon in Vietnamese history. As a high-ranking military commander residing in the capital, he had all opportunities to seize power during the tumultuous years after Emperor Lê Hoàn's death, yet preferring not to do so out of his sense of duty. He was in a way being "elected" by the court after some debate before a consensus was reached. , written by emperor
Lý Công Uẩn The Lý monarchs are credited for laying down a concrete foundation for the nation of Vietnam. In 1010, Lý Công Uẩn issued the
Edict on the Transfer of the Capital, moving the capital Đại Cồ Việt from Hoa Lư, a natural fortification surrounded by mountains and rivers, to the new capital, Đại La (
Hanoi), which was later renamed
Thăng Long (Ascending Dragon) by Lý Công Uẩn, after allegedly seeing a dragon flying upwards when he arrived at the capital. Moving the capital, Lý Công Uẩn thus departed from the militarily defensive mentality of his predecessors and envisioned a strong economy as the key to national survival. The third emperor of the dynasty, Lý Thánh Tông renamed the country "Đại Việt" (大越, Great Viet). Successive Lý emperors continued to accomplish far-reaching feats: building a dike system to protect rice farms; founding the
Quốc Tử Giám the first noble university; and establishing
court examination system to select capable commoners for government positions once every three years; organizing a new system of taxation; establishing humane treatment of prisoners. Women were holding important roles in Lý society as the court ladies were in charge of tax collection. Neighboring
Dali kingdom's
Vajrayana Buddhism traditions also had influences on Vietnamese beliefs at the time. Lý kings adopted both
Buddhism and
Taoism as state religions. The Vietnamese during Lý dynasty had one major war with
Song China, and a few invasive campaigns against neighboring
Champa in the south. The most notable conflict took place on Chinese territory
Guangxi in late 1075. Upon learning that a Song invasion was imminent, the Vietnamese army under the command of
Lý Thường Kiệt, and Tông Đản used
amphibious operations to preemptively destroy three Song military installations at
Yongzhou, Qinzhou, and Lianzhou in
Guangdong and
Guangxi, and killed 100,000 Chinese. The Song dynasty took revenge and invaded Đại Việt in 1076, but the Song troops were held back at the
Battle of Như Nguyệt River commonly known as the Cầu river (
Bắc Ninh) about 40 km from the current capital, Hanoi. Neither side was able to force a victory, so the Vietnamese court proposed a truce, which the Song emperor accepted. Champa and the powerful Khmer Empire took advantage of Đại Việt's distraction with the Song to pillage Đại Việt's southern provinces. Together they invaded Đại Việt in 1128 and 1132. Further invasions followed in the subsequent decades. in 1393|100px|thumb|left Toward the declining Lý monarch's power in the late 12th century, the Trần clan from
Nam Định eventually rise to power. In 1224, powerful court minister
Trần Thủ Độ forced the emperor Lý Huệ Tông to become a Buddhist monk and
Lý Chiêu Hoàng, Huệ Tông's 8-year-old young daughter, to become ruler of the country. Trần Thủ Độ then arranged the marriage of Chiêu Hoàng to his nephew
Trần Cảnh and eventually had the throne transferred to Trần Cảnh, thus begun the
Trần dynasty. Trần Thủ Độ viciously purged members of the Lý nobility; some Lý princes escaped to Korea, including
Lý Long Tường. After the purge, the Trần emperors ruled the country in similar manner to the Lý kings. Noted Trần monarch accomplishments include the creation of a system of population records based at the village level, the compilation of a formal 30-volume history of Đại Việt (Đại Việt Sử Ký) by
Lê Văn Hưu, and the rising in status of the
Nôm script, a system of writing for Vietnamese language. The Trần dynasty also adopted a unique way to train new emperors: when a crown prince reached the age of 18, his predecessor would abdicate and turn the throne over to him, yet holding the title of Retired Emperor (Thái Thượng Hoàng), acting as a mentor to the new Emperor. During the Trần dynasty, the armies of the
Mongol Empire and the Mongol
Yuan dynasty of China under
Möngke Khan and
Kublai Khan invaded Đại Việt in 1258, 1285, and 1287–88. Đại Việt repelled all attacks of the Yuan Mongols during the reign of
Kublai Khan. Three Mongol armies said to have numbered from 300,000 to 500,000 men were defeated. The key to Annam's successes was to avoid the Mongols' strength in open field battles and city sieges—the Trần court
abandoned the capital and the cities. The Mongols were then countered decisively at their weak points, which were battles in swampy areas such as Chương Dương, Hàm Tử, Vạn Kiếp and on rivers such as Vân Đồn and Bạch Đằng. The Mongols also suffered from tropical diseases and loss of supplies to Trần army's raids. The Yuan-Trần war reached its climax when the retreating Yuan fleet was decimated at the
Battle of Bạch Đằng (1288). The military architect behind Annam's victories was Commander Trần Quốc Tuấn, more popularly known as
Trần Hưng Đạo. To avoid further disastrous campaigns, the Tran and Champa acknowledged Mongol supremacy. In 1288,
Venetian explorer
Marco Polo visited Champa and Đại Việt. It was also during this period that the Vietnamese waged war against the southern kingdom of
Champa, continuing the Vietnamese long history of southern expansion (known as
Nam tiến) that had begun shortly after gaining independence in the 10th century. Often, they encountered strong resistance from the Chams. After the successful alliance with Champa during the Mongol invasion, king Trần Nhân Tông of Đại Việt gained two Champa provinces, located around present-day
Huế, through the peaceful means of the political marriage of Princess
Huyền Trân to Cham king
Jaya Simhavarman III. Not long after the nuptials, the king died, and the princess returned to her northern home to avoid a Cham custom that would have required her to join her husband in death. Champa was made a tributary state of Vietnam in 1312, but ten years later they regained independence and eventually waged a 30-years long war against the Vietnamese, to regain these lands and encouraged by the decline of Đại Việt in the course of the 14th century. Cham troops led by king
Chế Bồng Nga (Cham: Po Binasuor or Che Bonguar, r. 1360–1390) killed king
Trần Duệ Tông through a battle in
Vijaya (1377). Multiple Cham northward invasions from 1371 to 1390 put Vietnamese capital Thăng Long and Vietnamese economy in destruction. However, in 1390 the Cham naval offensive against Hanoi was halted by the Vietnamese general
Trần Khát Chân, whose soldiers made use of cannons. The wars with Champa and the Mongols left Đại Việt exhausted and bankrupt. The Trần family was in turn overthrown by one of its own court officials,
Hồ Quý Ly. Hồ Quý Ly forced the last Trần emperor to abdicate and assumed the throne in 1400. He changed the country name to
Đại Ngu and moved the capital to
Tây Đô, Western Capital (Thanh Hóa). Thăng Long was renamed Đông Đô, Eastern Capital. Although widely blamed for causing national disunity and losing the country later to the
Ming Empire, Hồ Quý Ly's reign actually introduced a lot of progressive, ambitious reforms, including the addition of mathematics to the national examinations, the open critique of
Confucian philosophy, the use of paper currency in place of coins, investment in building large warships and cannons, and land reform. He ceded the throne to his son, Hồ Hán Thương, in 1401 and assumed the title Thái Thượng Hoàng, in similar manner to the Trần kings.
Champa from 1220 to 1471 After having been restored from Khmer domination in 1220, Champa continued to face another counter-power from the north. After their invasion of 982, the Vietnamese had been pushing war against Champa in 1020, 1044, and 1069, plundered Cham capital. In 1252 king
Tran Thai Tong of the new dynasty of Dai Viet led an incursion into Cham territories, captured many Cham concubines and women. This might be the reason for the death of Jaya Paramesvaravarman II as he died in the same year. His younger brother, Prince Harideva of Sakanvijaya, was crowned as
Jaya Indravarman VI (r. 1252–1257). The new king was however assassinated by his nephew in 1257, who became
Indravarman V (r. 1257–1288). The new Mongol Yuan threat soon dragged two hostile kingdoms Champa and Dai Viet close together. The Yuan emperor Kublai demanded Cham submission in 1278 and 1280, both refused. In early 1283 Kublai sent a sea expedition led by Sogetu to invade Champa. The Cham retreated to the mountains, successfully waged a guerrilla resistance that bogged down the Mongols. Sogetu was driven to the north, and later killed by joint Cham–Vietnamese forces in June 1285. Although having repulsed the Mongol yokes, the Cham king sent an ambassador to the great Khan in October 1285. His successor,
Jaya Simhavarman III (r. 1288–1307), married with a Vietnamese Queen (daughter of the ruling Vietnamese king) in 1306, and Dai Viet acquired two northern provinces. In 1307 the new Cham king
Simhavarman IV (r. 1307–1312), set out to retake the two provinces to protest against the Vietnamese agreement but was defeated and taken as a prisoner. Champa thus became a Vietnamese vassal state. The Cham revolted in 1318. In 1326 they managed to defeat the Vietnamese and reasserted independence. Royal upheaval within the Cham court resumed until 1360, when a strong Cham king was enthroned, known as
Po Binasuor (r. 1360–90). During his thirty-year reign, Champa gained its
momentum peak. Po Binasuor annihilated the Vietnamese invaders in 1377, ransacked Hanoi in 1371, 1378, 1379, and 1383, nearly had united all Vietnam for the first time by the 1380s. During a naval battle in early 1390, the Cham conqueror however was killed by Vietnamese firearm units, thus ending the short-lived rising period of the Cham kingdom. During the next decades, Champa returned to its status quo of peace. After much warfare and dismal conflicts, king
Indravarman VI (r. 1400–41) reestablished relations with the second kingdom of Dai Viet's ruler
Le Loi in 1428. The Islamization of Champa began in the 8th century to 11th century, being faster proselytized during the 14th and 15th centuries.
Ibn Battuta during his visit to Champa in 1340, described a princess who met him, spoke in Turkish, was literate in Arabic, and wrote out the bismillah in the presence of the visitor. Islam further got more popular in Cham society after the fall of Champa in 1471. After the death of Indravarman VI, succession disputes escalated into civil war between Cham princes, weakening the kingdom. The Vietnamese took advantage, raided Vijaya in 1446. In 1471 Dai Viet king
Le Thanh Tong conquered Champa, killed 60,000 people, and took away 30,000 prisoners included the Cham king and the royal family. Champa was reduced to the rump state of
Panduranga, which persisted to exist until being fully absorbed in 1832 by the
Vietnamese Empire.
Fourth Chinese Domination (1407–1427) In 1407, under the pretext of helping to restore the Trần monarchs, Chinese
Ming troops
invaded Đại Ngu and captured
Hồ Quý Ly and
Hồ Hán Thương. The
Hồ family came to an end after only 7 years in power. The Ming occupying force annexed Đại Ngu into the Ming Empire after claiming that there was no heir to the Trần throne. Vietnam, weakened by dynastic feuds and the wars with Champa, quickly succumbed. The Ming conquest was harsh. Vietnam was annexed directly as
a province of China, the old policy of cultural assimilation again imposed forcibly, and the country was ruthlessly exploited. However, by this time, Vietnamese nationalism had reached a point where attempts to sinicize them could only strengthen further resistance. Almost immediately,
Trần loyalists started a resistance war. The resistance, under the leadership of
Trần Quý Khoáng at first gained some advances, yet as Trần Quý Khoáng executed two top commanders out of suspicion, a rift widened within his ranks and resulted in his defeat in 1413.
Restored Dai Viet period (1428–1527) Later Lê dynasty – initial period (1428–1527) In 1418,
Lê Lợi was the son of a wealthy aristocrat in
Thanh Hóa, led the
Lam Sơn uprising against the Ming from his base of Lam Sơn (Thanh Hóa). Overcoming many early setbacks and with strategic advice from
Nguyễn Trãi, Lê Lợi's movement finally gathered momentum. In September 1426, the Lam Sơn rebellion marched northward, ultimately defeated the Ming army in the
Battle of Tốt Động – Chúc Động in south of Hanoi by using cannons. Then Lê Lợi's forces launched a siege at Đông Quan (Hanoi), the capital of the Ming occupation. The
Xuande Emperor of Ming China responded by sent two reinforcement forces of 122,000 men, but Lê Lợi staged an ambush and killed the Ming commander Liu Shan in
Chi Lăng. In April 1428, Lê Lợi reestablished the independent of Vietnam under his
Lê dynasty. Lê Lợi renamed the country back to
Đại Việt and moved the capital back to
Thăng Long, renamed it
Đông Kinh. during the reign of
Lê Thánh Tông (1460–1497), including conquests in
Muang Phuan and
Champa. The Lê kings carried out land reforms to revitalize the economy after the war. Unlike the Lý and Trần kings, who were more influenced by Buddhism, the Lê kings leaned toward
Confucianism. A comprehensive set of laws, the
Hồng Đức code was introduced in 1483 with some strong Confucian elements, yet also included some progressive rules, such as the rights of women. Art and architecture during the Lê dynasty also became more influenced by
Chinese styles than during previous Lý and Trần dynasties. The Lê dynasty commissioned the drawing of national maps and had
Ngô Sĩ Liên continue the task of writing Đại Việt's history up to the time of Lê Lợi. Overpopulation and land shortages stimulated a Vietnamese expansion south. In 1471, Đại Việt troops led by king Lê Thánh Tông invaded
Champa and
captured its capital
Vijaya. This event effectively ended Champa as a powerful kingdom, although some smaller surviving Cham states lasted for a few centuries more. It initiated the dispersal of the
Cham people across Southeast Asia. With the kingdom of Champa mostly destroyed and the Cham people exiled or suppressed, Vietnamese colonization of what is now central Vietnam proceeded without substantial resistance. However, despite becoming greatly outnumbered by Vietnamese settlers and the integration of formerly Cham territory into the Vietnamese nation, the majority of Cham people nevertheless remained in Vietnam and they are now considered one of the key minorities in modern Vietnam. Vietnamese armies also raided the Mekong Delta, which the decaying Khmer Empire could no longer defend. The city of
Huế, founded in 1600 lies close to where the Champa capital of Indrapura once stood. In 1479, Lê Thánh Tông also campaigned against
Laos in the
Vietnamese–Lao War and captured its capital
Luang Prabang, in which later the city was totally ransacked and destroyed by the Vietnamese. He made further incursions westwards into the
Irrawaddy River region in modern-day Burma before withdrawing. After the death of Lê Thánh Tông, Đại Việt fell into a swift decline (1497–1527), with 6 rulers in within 30 years of failing economy, natural disasters and rebellions raged through the country. European traders and missionaries, reaching Vietnam in the midst of the
Age of Discovery, were at first
Portuguese, and started spreading Christianity since 1533.
Decentralized period (1527–1802) Mạc and Later Lê dynasties – restoration period (1527–1789) and the southern
Le dynasty. The Lê dynasty was overthrown by its general named
Mạc Đăng Dung in 1527. He killed the Lê emperor and proclaimed himself emperor, starting the
Mạc dynasty. After defeating many revolutions for two years, Mạc Đăng Dung adopted the Trần dynasty's practice and ceded the throne to his son, Mạc Đăng Doanh, and he became Thái Thượng Hoàng. Meanwhile,
Nguyễn Kim, a former official in the Lê court, revolted against the Mạc and helped king Lê Trang Tông restore the Lê court in the
Thanh Hóa area. Thus a civil war began between the Northern Court (Mạc) and the Southern Court (Restored Lê). Nguyễn Kim's side controlled the southern part of Annam (from Thanhhoa to the south), leaving the north (including Đông Kinh-Hanoi) under Mạc control. When Nguyễn Kim was assassinated in 1545, military power fell into the hands of his son-in-law,
Trịnh Kiểm. In 1558, Nguyễn Kim's son,
Nguyễn Hoàng, suspecting that Trịnh Kiểm might kill him as he had done to his brother to secure power, asked to be governor of the far south provinces around present-day
Quảng Bình to
Bình Định. Hoàng pretended to be insane, so Kiểm was fooled into thinking that sending Hoàng south was a good move as Hoàng would be quickly killed in the lawless border regions. However, Hoàng governed the south effectively while Trịnh Kiểm, and then his son Trịnh Tùng, carried on the war against the Mạc. Nguyễn Hoàng sent money and soldiers north to help the war but gradually he became more and more independent, transforming their realm's economic fortunes by turning it into an international trading post. The civil war between the Lê-Trịnh and Mạc dynasties ended in 1592, when the army of
Trịnh Tùng conquered
Hanoi and executed king Mạc Mậu Hợp. Survivors of the Mạc royal family fled to the northern mountains in the province of
Cao Bằng and continued to rule there until 1677 when
Trịnh Tạc conquered this last Mạc territory. The Lê monarchs, ever since Nguyễn Kim's restoration, only acted as figureheads. After the fall of the Mạc dynasty, all real power in the north belonged to the
Trịnh lords. Meanwhile, the Ming court reluctantly decided on a military intervention into the Vietnamese civil war, but Mạc Đăng Dung offered ritual submission to the Ming Empire, which was accepted. Since the late 16th century, trades and contacts between Japan and Vietnam increased as they established relationship in 1591.
Trịnh and Nguyễn lords (1600–1777) In the year 1600, Nguyễn Hoàng also declared himself Lord (officially "Vương", popularly "Chúa") and refused to send more money or soldiers to help the Trịnh. He also moved his capital to Phú Xuân, modern-day
Huế. Nguyễn Hoàng died in 1613 after having ruled the south for 55 years. He was succeeded by his 6th son,
Nguyễn Phúc Nguyên, who likewise refused to acknowledge the power of the Trịnh, yet still pledged allegiance to the Lê monarch.
Trịnh Tráng succeeded Trịnh Tùng, his father, upon his death in 1623. Tráng ordered Nguyễn Phúc Nguyên to submit to his authority. The order was refused twice. In 1627, Trịnh Tráng sent 150,000 troops southward in an unsuccessful military campaign. The Trịnh were much stronger, with a larger population, economy and army, but they were unable to vanquish the Nguyễn, who had built two defensive stone walls and invested in Portuguese artillery. The
Trịnh–Nguyễn War lasted from 1627 until 1672. The Trịnh army staged at least seven offensives, all of which failed to capture Phú Xuân. For a time, starting in 1651, the Nguyễn themselves went on the offensive and attacked parts of Trịnh territory. However, the Trịnh, under a new leader,
Trịnh Tạc, forced the Nguyễn back by 1655. After one last offensive in 1672, Trịnh Tạc agreed to a truce with the Nguyễn Lord
Nguyễn Phúc Tần. As such, between 1600 and 1775, the two powerful families partitioned the country: the Nguyễn lords ruled
Đàng Trong (the South), while the Trịnh lords controlled
Đàng Ngoài (the North).
Advent of Europeans and southward expansion The West's exposure to Annam and Annamese exposure to Westerners dated back to 166 AD with the arrival of merchants from the
Roman Empire, to 1292 with the visit of
Marco Polo, and the early 16th century with the arrival of Portuguese in 1516 and other European traders and missionaries.
Alexandre de Rhodes, a missionary from the Papal States, improved on earlier work by Portuguese missionaries and developed the Vietnamese Romanized alphabet
chữ Quốc ngữ in
Dictionarium Annamiticum Lusitanum et Latinum in 1651. The Nôm works of
Girolamo Maiorica are considered a milestone in the history of Vietnamese literature. For over two hundred years, the majority of Christian works in Vietnam were produced in
chữ Nôm. The missionaries, primarily from Portugal, Italy, and Japan, played a key role in spreading the new faith. After four decades, the Jesuits were joined by the
Paris Foreign Missions Society (MEP),
Dominicans,
Discalced Augustinians, and
Franciscans from various
Romance-speaking countries. By the end of the 18th century,
Catholicism had become a firmly rooted part of Vietnam's spiritual and social landscape, particularly in Đàng Ngoài. In the Đàng Trong court, many missionaries held official roles as royal physicians, mathematicians, and astronomers, valued for their scientific knowledge. Various European efforts to establish trading posts in Vietnam failed, but missionaries were allowed to operate for some time until the mandarins began concluding that Christianity (which had succeeded in converting up to a tenth of the population by 1700) was a threat to the Confucian social order since it condemned ancestor worship, among other practices. Vietnamese authorities' attitudes to Europeans and Christianity hardened as they began to increasingly see it as a way of undermining society while Catholics claimed that the authorities misunderstood their loyalism and patriotism. The
Trịnh–Nguyễn War gave European traders the opportunities to support each side with weapons and technology: the Portuguese assisted the Nguyễn in the South while the Dutch helped the Trịnh in the North. The Trịnh and the Nguyễn maintained a relative peace for the next hundred years, during which both sides made significant accomplishments. The Trịnh created centralized government offices in charge of state budget and producing currency, unified the weight units into a decimal system, established printing shops to reduce the need to import printed materials from China, opened a military academy, and compiled history books. Meanwhile, the Nguyễn lords continued the southward expansion by the conquest of the remaining
Cham land. Việt settlers also arrived in the sparsely populated area known as "Water Chenla", which was the lower
Mekong Delta portion of the former
Khmer Empire. Between the mid-17th century to the mid-18th century, as the former Khmer Empire was weakened by internal strife and Siamese invasions, the Nguyễn Lords used various means, political marriage, diplomatic pressure, political and military favors, to gain the area around present-day
Saigon and the Mekong Delta. The Nguyễn army at times also clashed with the
Siamese army to establish influence over the former Khmer Empire.
Tây Sơn dynasty (1778–1802) in December 1788 In 1771, the
Tây Sơn revolution broke out in
Quy Nhon, which was under the control of the Nguyễn lord. The leaders of this revolution were three brothers named
Nguyễn Nhạc,
Nguyễn Lữ, and
Nguyễn Huệ, not related to the Nguyễn lord's family. In 1773, Tây Sơn rebels took Quy Nhon as the capital of the revolution. Tây Sơn brothers' forces attracted many poor peasants, workers, Christians, ethnic minorities in the
Central Highlands and
Cham people who had been oppressed by the Nguyễn Lord for a long time, and also attracted to
ethnic Chinese merchant class, who hope the Tây Sơn revolt will spare down the heavy tax policy of the Nguyễn Lord, however their contributions later were limited due to Tây Sơn's nationalist
anti-Chinese sentiment. By 1776, the Tây Sơn had occupied all of the Nguyễn Lord's land and killed almost the entire royal family. The surviving prince
Nguyễn Phúc Ánh (often called Nguyễn Ánh) fled to
Siam, and obtained military support from the Siamese king. Nguyễn Ánh came back with 50,000 Siamese troops to regain power, but was defeated at the
Battle of Rạch Gầm–Xoài Mút and almost killed. Nguyễn Ánh fled Vietnam, but he did not give up. The Tây Sơn army commanded by Nguyễn Huệ marched north in 1786 to fight the Trịnh Lord,
Trịnh Khải. The Trịnh army failed and Trịnh Khải committed suicide. The Tây Sơn army captured the capital in less than two months. The last Lê emperor,
Lê Chiêu Thống, fled to
Qing China and
petitioned the
Qianlong Emperor in 1788 for help. The Qianlong Emperor supplied Lê Chiêu Thống with a massive army of around 200,000 troops to regain his throne from the usurper. In December 1788, Nguyễn Huệ–the third Tây Sơn brother–proclaimed himself Emperor
Quang Trung and defeated the Qing troops with 100,000 men in a surprise 7-day campaign during the lunar new year (
Tết). There was even a rumor saying that Quang Trung had also planned to conquer China, although it was unclear. During his reign, Quang Trung envisioned many reforms but died by unknown reason on the way march south in 1792, at the age of 40. During the reign of Emperor Quang Trung, Đại Việt was in fact divided into three political entities. The Tây Sơn leader,
Nguyễn Nhạc, ruled the centre of the country from his capital
Qui Nhơn. Emperor Quang Trung ruled the north from the capital Phú Xuân
Huế. In the South, he officially funded and trained the
Pirates of the South China Coast – one of the most strongest and feared pirate army in the world late 18th century – early 19th century. Nguyễn Ánh, assisted by many talented recruits from the South, captured
Gia Định (Saigon) in 1788 and established a strong base for his force. (believers and priests) were slain in
Tonkin and
Cochinchina during persecutions. 64 Martyrs were declared blessed in 1900 of whom 54 were natives; 26 of the martyrs were members of the
Dominican Order. In 1784, during the conflict between
Nguyễn Ánh, the surviving heir of the Nguyễn lords, and the
Tây Sơn dynasty, a French Roman Catholic prelate,
Pigneaux de Behaine, sailed to France to seek military backing for Nguyễn Ánh. At
Louis XVI's court, Pigneaux brokered the Little Treaty of Versailles which promised French military aid in exchange for Vietnamese concessions. However, because of the
French Revolution, Pigneaux's plan failed to materialize. He went to the French territory of
Pondichéry (India), and secured two ships, a regiment of Indian troops, and a handful of volunteers and returned to Vietnam in 1788. One of Pigneaux's volunteers,
Jean-Marie Dayot, reorganized Nguyễn Ánh's navy along European lines and defeated the Tây Sơn at
Quy Nhon in 1792. A few years later, Nguyễn Ánh's forces captured
Saigon, where Pigneaux died in 1799. Another volunteer,
Victor Olivier de Puymanel would later build the
Gia Định fort in central Saigon. After Quang Trung's death in September 1792, the Tây Sơn court became unstable as the remaining brothers fought against each other and against the people who were loyal to
Nguyễn Huệ's young son. Quang Trung's 10-years-old son
Nguyễn Quang Toản succeeded the throne, became
Cảnh Thịnh Emperor, the third ruler of the Tây Sơn dynasty. In the South, lord
Nguyễn Ánh and the Nguyễn royalists were assisted with French, Chinese, Siamese and Christian supports, sailed north in 1799, capturing Tây Sơn's stronghold Quy Nhon. In 1801, his force took
Phú Xuân, the Tây Sơn capital. Nguyễn Ánh finally won the war in 1802, when he sieged Thăng Long (Hanoi) and executed
Nguyễn Quang Toản, along with many Tây Sơn royals, generals and officials. Nguyễn Ánh ascended the throne and called himself Emperor
Gia Long. Gia is for
Gia Định, the old name of Saigon; Long is for Thăng Long, the old name of
Hanoi. Hence Gia Long implied the unification of the country. The
Nguyễn dynasty lasted until
Bảo Đại's abdication in 1945. As China for centuries had referred to Đại Việt as
Annam, Gia Long asked the Manchu Qing emperor to rename the country, from Annam to Nam Việt. To prevent any confusion of Gia Long's kingdom with
Triệu Đà's ancient kingdom, the Manchu emperor reversed the order of the two words to Việt Nam. The name Vietnam is thus known to be used since Emperor Gia Long's reign. Recently historians have found that this name had existed in older books in which Vietnamese referred to their country as Vietnam. The Period of Division with its many tragedies and dramatic historical developments inspired many poets and gave rise to some Vietnamese masterpieces in verse, including the epic poem
The Tale of Kiều (
Truyện Kiều) by
Nguyễn Du, ''Song of a Soldier's Wife
(Chinh Phụ Ngâm'') by Đặng Trần Côn and Đoàn Thị Điểm, and a collection of satirical, erotically charged poems by a female poet,
Hồ Xuân Hương.
Nguyễn dynasty (1802–1945) Unified Vietnam period (1802–1862) After defeating the Tây Sơn,
Gia Long unified Vietnam under the
Nguyễn dynasty in 1802. The early Nguyễn emperors had engaged in many of the constructive activities of its predecessors, building roads, digging canals, issuing a legal code, holding examinations, sponsoring care facilities for the sick, compiling maps and history books, and exerting influence over Cambodia and Laos. Gia Long tolerated Catholicism and employed some Europeans in his court as advisors. His successors were more conservative Confucians and resisted Westernization.
Minh Mạng began centralizing his authority according to neo-Confucian principles and sought to neutralize Catholic influence. Minh Mạng, as well as the succeeding Nguyễn emperors
Thiệu Trị and
Tự Đức, brutally suppressed Catholicism and pursued a 'closed-door' policy, perceiving the Westerners as a threat, following events such as the
Lê Văn Khôi revolt when a French missionary,
Joseph Marchand, was accused of encouraging local Catholics to revolt in an attempt to install a Catholic emperor. Catholics, both Vietnamese and foreign-born, were persecuted in retaliation. There were frequent uprisings against the Nguyễns, with hundreds of such events being recorded in the annals. Trade with the West slowed during this period. The persecution of Catholics and the imposition of trade embargoes were soon used as excuses for France to invade Vietnam.
Relations with China According to a 2018 study in the
Journal of Conflict Resolution covering Vietnam-China relations from 1365 to 1841, the relations could be characterized as a "hierarchic tributary system". The study found that "the Vietnamese court explicitly recognized its unequal status in its relations with China through a number of institutions and norms. Vietnamese rulers also displayed very little military attention to their relations with China. Rather, Vietnamese leaders were clearly more concerned with quelling chronic domestic instability and managing relations with kingdoms to their south and west." == French colonial period (1862–1945) ==