# Lê dynasty

The Lê dynasty, also known in historiography as the Later Lê dynasty (Vietnamese: "Nhà Hậu Lê" or "Triều Hậu Lê", chữ Hán: 朝後黎, chữ Nôm: 茹後黎), officially Đại Việt (Vietnamese: Đại Việt; Chữ Hán: 大越), was the longest-ruling Vietnamese dynasty, having ruled from 1428 to 1789, with an interregnum between 1527 and 1533. The Lê dynasty is divided into two historical periods: the Initial Lê dynasty (Vietnamese: triều Lê sơ, chữ Hán: 朝黎初, or Vietnamese: nhà Lê sơ, chữ Nôm: 茹黎初; 1428–1527) before the usurpation by the Mạc dynasty, in which emperors ruled in their own right, and the Revival Lê dynasty (Vietnamese: triều Lê Trung hưng, chữ Hán: 朝黎中興, or Vietnamese: nhà Lê trung hưng, chữ Nôm: 茹黎中興; 1533–1789), in which emperors were figures reigned under the auspices of the powerful Trịnh family. The Revival Lê dynasty was marked by two lengthy civil wars: the Lê–Mạc War (1533–1592) in which two dynasties battled for legitimacy in northern Vietnam and the Trịnh–Nguyễn Wars (1627–1672, 1774–1777) between the Trịnh lords in North and the Nguyễn lords of the South.
The dynasty officially began in 1428 with the enthronement of Lê Lợi after he drove the Ming Chinese army from Vietnam. The dynasty reached its peak during the reign of Lê Thánh Tông and declined after his death in 1497. In 1527, the Mạc dynasty usurped the throne; when the Lê dynasty was restored in 1533, the Mạc fled to the far north and continued to claim the throne during the period known as Southern and Northern Dynasties. The restored Lê emperors held no real power, and by the time the Mạc dynasty was finally eradicated in 1677, actual power lay in the hands of the Trịnh lords in the North and Nguyễn lords in the South, both ruling in the name of the Lê emperor while fighting each other. The Lê dynasty officially ended in 1789, when the peasant uprising of the Tây Sơn brothers defeated both the Trịnh and the Nguyễn, ironically in order to restore power to the Lê dynasty.
The Lê dynasty continued the Nam tiến expansion of Vietnam's borders southwards through the domination of the Kingdom of Champa and expedition into today Laos and Myanmar, nearly reaching Vietnam's modern borders by the time of the Tây Sơn uprising. It also saw massive changes to Vietnamese society: the previously Buddhist state became Confucian after the preceding 20 years of Ming rule. The Lê emperors instituted many changes modeled after the Chinese system, including the civil service and laws. Their long-lasting rule was attributed to the popularity of the early emperors. Lê Lợi's liberation of the country from 20 years of Ming rule and Lê Thánh Tông's bringing the country into a golden age was well-remembered by the people. Even though the restored Lê emperors' rule was marked by civil strife and constant peasant uprisings, few dared to openly challenge their power for fear of losing popular support. The Lê dynasty also was the period Vietnam saw the coming of Western Europeans and Christianity in early 16th-century.

## History
### Lam Sơn uprising (1418–1427)

During the Fourth Chinese domination of Vietnam, Lê Lợi led an uprising against the rule of the Ming dynasty in 1418, after resistance forces of two Trần dynasty princes Trần Ngỗi and Trần Quý Khoáng were crushed by the Ming army. He joined a secret Taoist swearing commentary in Lũng Nhai, Thanh Hoá in winter 1416, with other 18 men, all swore will fought against the Ming Chinese, restore the Vietnamese independence and sovereignty.
The Lam Sơn ("blue mountain") campaign began on the day after Tết (Lunar New Year) in February 1418. In November 1424, the Lam Sơn captured the Nghệ An citadel in a surprise attack from their base in Laos, leading to the retreat of the ethnic-Vietnamese Ming commander Lương Nhữ Hốt (Liang Juihu) to the north. From their new base in high-density population Nghệ An, Lê Lợi's rebel forces captured the territory in modern-day central Vietnam, from Thanh Hoá to Đà Nẵng. By August 1426, the Lam Sơn rebellion launched an offensive to the north with new forces against a fresh Ming army commanded by Wang Tong in charge of defending northern Vietnam. The new Ming ruler, the Xuande Emperor, wished to end the war with Vietnam, but his advisors urged one more effort to subdue the rebellious province. Consequently, the Ming sent a large army of approximately 100,000 men to Vietnam. After the pivotal Battle of Tốt Động – Chúc Động in October 1426, the Ming dynasty withdrew by 1428. By early 1427, Lê Lợi's forces had controlled most of northern Vietnam, advancing as far as the southern tip of modern-day Guangxi. Following negotiations with the Ming, Lê Lợi selected Trần Cảo as a puppet king of Annam who nominally ruled from 1426 to 1428.

### Early period (1428–1527)
#### Lê Lợi (1428–1433)

In 1428, Lê Lợi established the Lê dynasty and took the reign name Lê Thái Tổ, receiving recognition and formal protection from the Ming dynasty in a tributary relationship.In 1429, he introduced the Thuận Thiên code, largely based on the Tang Code, with severe charges for gambling, bribery and corruption. Lê Lợi granted a land reform in 1429 that took lands from people who collaborated with the Chinese and distributed them among landless peasants and soldiers. He distrusted many of his former generals, resulting in the 1430 execution of the two generals Trần Nguyên Hãn and Phạm Văn Xảo that is considered by Vietnamese historians as a political purge.
Lê Lợi's reign would be short-lived, as he died in 1433.

#### Lê Thái Tông (ruled 1433–1442)

Part of a series on the :
History of Vietnam :
Prehistoric Paleolithic Sơn Vi culture 20,000 BC–12,000 BC Mesolithic Hoabinhian 12,000 BC–10,000 BC Neolithic Bắc Sơn culture 10,000 BC–8,000 BC Quỳnh Văn culture 8,000 BC–6,000 BC Đa Bút culture 4,000 BC–3,000 BC Bronze and Iron Ages Phùng Nguyên culture 2,000 BC–1,500 BC Đồng Đậu culture 1,500 BC–1,000 BC Gò Mun culture 1,000–800 BC Dong Son culture (1,000 BC–100 AD) Sa Huỳnh culture (1,000 BC–200 AD) Óc Eo culture (1–630 AD) :
Ancient Hồng Bàng dynasty 2879 BC–258 BC Thục dynasty 257 BC–179 BC Triệu dynasty 204 BC–111 BC :
Dominated 1st Chinese domination 111 BC–40 AD Trung sisters' rebellion 40–43 2nd Chinese domination 43–544 Early Lý dynasty544–602 3rd Chinese domination602–938 :
Dynastic Ngô dynasty 939–965 Anarchy of the 12 Warlords 965–968 Đinh dynasty 968–980 Early Lê dynasty 980–1009 Later Lý dynasty 1009–1225 Trần dynasty 1225–1400 Hồ dynasty 1400–1407 4th Chinese domination 1407–1428 Later Lê dynasty 1428–1527 Mạc dynasty 1527–1592 Later Lê Restoration 1533–1789 Tây Sơn dynasty 1778–1802 Nguyễn dynasty 1802–1945 :
Colonial French Cochinchina 1862–1949 French Annam 1883–1949 French Tonkin 1883–1949 French Indochina 1887–1954 Empire of Vietnam 1945 :
Republic North Vietnam 1945–1976 Republic of South Vietnam 1975–1976
South Vietnam 1955–1975 State of Vietnam 1949–1955
Socialist Republic of Vietnam 1976-now :
Non-Vietnamese history Funan 68–627 Champa 192–1832 Cát Tiên archaeological site 300–800 Chenla 550–781 Nanzhao 738–902 Khmer Empire 802–1431 Dali Kingdom 937–1253 Nung-Zhuang kingdom 1042–1052 Ngưu Hống 1061–1432 Jarai kingdoms 1100–1904 Sip Song Chau Tai 1600–1954 Principality of Hà Tiên1707–1832 :
By topic
Agriculture
Dynasties
Economy
Historical capitals
Immigration
Military
Monarchs
Names
Naval
Women
Indochina Wars :
Vietnam portal :
vte :
Lê Thái Tông (黎太宗, ruled 1433–1442) was the official heir to Lê Lợi. However, he was just eleven, so a close friend of Lê Lợi, Lê Sát, assumed the regency of the kingdom. Not long after he assumed the official title as Emperor of Vietnam in 1438, Lê Thái Tông accused Lê Sát of abuse of power and had him executed. In December 1435, Thái Tông ordered general Tư Mã Tây to subdue the Tày chief Cầm Quý who having a ten-thousand army of raiders in the northwest region.
In January 1436, the emperor ordered to make roads and canals from northwest region to the capital for showing the superior power of the Imperial court to the local tribes men. From 1437 to 1441, tribe men from Ai-Lao crossed the Annamite Range, raided in Thanh Hóa and southern Hưng Hóa (now Sơn La province) with the help of the local raiders led by Nghiễm Sinh Tượng were suppressed by the Imperial army. The Lê dynasty started treating hostilely to the ethnic minorities in western region. On a stone monument that was carved in 1439 under Thái Tông's reign said "Bồn-Man (Muang Phuan) barbarians were against our assimilation, they need to be exterminated to their roots, and with the Sơn-Man (Mường and Chứt) barbaric raiders, we need to eliminated all of them,..."
According to a Mạc–Trịnh version of Complete Annals of Đại Việt, the new Emperor had a weakness for women. He had many wives, and he discarded one favorite after another. The most prominent scandal was his affair with Nguyễn Thị Lộ, the wife of his father's chief advisor Nguyễn Trãi. The affair started early in 1442 and continued when the Emperor traveled to the home of Nguyễn Trãi, who was venerated as a great Confucian scholar.
Shortly after the Emperor left Trãi's home to continue his tour of the western province, he fell ill and died. At the time the powerful nobles in the court argued that the Emperor had been poisoned to death. Nguyễn Trãi was executed as were his three entire relations, the normal punishment for treason at that time.

#### Lê Nhân Tông (ruled 1442–1459)

With the Emperor's sudden death at a young age, his infant heir Bang Co was made emperor - although he was the second son of his father, his older brother Nghi Dân had been officially passed over due to his mother's low social status. Bang Co assumed the throne as Lê Nhân Tông (黎仁宗) but the real rulers were Trịnh Khả and the child's mother, the young Empress Nguyễn Thị Anh. The next 17 years were good years for Vietnam – there were no great troubles either internally or externally. Two things of note occurred: first, the Vietnamese sent an army south to attack the Champa kingdom in 1446; second, the Dowager Empress ordered the execution of Trịnh Khả, for reasons lost to history, in 1451. In 1453 at the age of twelve, Lê Nhân Tông was formally given the title of Emperor. This was unusual as according to custom, youths could not ascend the throne till the age of 16. It may have been done to remove Nguyễn Thi Anh from power, but if that was the reason, it failed and the Dowager Empress still controlled the government up until a coup in 1459.
In 1459, Lê Nhân Tông's older brother, Nghi Dân, plotted with a group of followers to kill the Emperor. On October 28, the plotters with some 100 "shiftless men" infiltrated the palace and murdered the Emperor (he was just 18). The next day, facing certain execution the Dowager Empress committed suicide. The rule of Nghi Dân was brief, and he was never officially recognized as a sovereign by later Vietnamese historians. Revolts against his rule started almost immediately and the second revolt, occurring on June 24, 1460, succeeded. The rebels, led by Lê Lợi's surviving former advisors Nguyễn Xí and Dinh Liêt captured and killed Nghi Dân along with his followers. The rebels then selected the youngest son of Lê Thái Tông to be the new Emperor, who they proclaimed to be Lê Thánh Tông.

#### Lê Thánh Tông (ruled 1460–1497)

Quang Thuận Hoàng Đế (光順皇帝), whose reign was named Hồng Đức Thịnh Thế (洪德之盛治, "Prosperous reign of Hồng Đức"), instituted a wide range of government reforms, legal reforms, and land reforms. He restarted the examination system for selecting men for important government positions. He reduced the power of the noble families and reduced the degree of corruption in the government. He built temples to Confucius throughout the provinces of Đại Việt. In nearly all respects, his reforms mirrored those of the Ming dynasty. Thánh Tông was strongly influenced by his Confucian teachers and he resolved to make Việt Nam more like the Ming dynasty with its Neo-Confucianist philosophy and the key idea that the government should be run by men of noble character as opposed to men from noble families. This meant that he needed to take power away from the ruling families (mostly from Thanh Hóa province) and give power to the scholars who did well on the official examinations. The first step on this path was to revive the examination process, which had continued sporadically in the 1450s. The first examination was held in 1463 and, as expected, the top scholars were men from elsewhere- usually from the river delta surrounding the capital, not from Thanh Hóa.In 1467, Lê Thánh Tông changed the name of the state to "Thiên Nam" (Heavenly South) to make the parallel position with their northern neighbor and shared classical culture more explicit.
Thánh Tông encouraged the spread of Confucian values throughout Vietnam by having "temples of literature" built in all the provinces. There, Confucius was venerated and classic works on Confucianism could be found. He also halted the building of any new Buddhist or Taoist temples and ordered that monks were not to be allowed to purchase any new land.
Lê Thánh Tông introduced reforms designed to replace the Thanh Hoá oligarchy of Dai Viet's southern region with a corps of bureaucrats selected through the Confucian civil service examinations. Following the Chinese model, he divided the government into six ministries: Finance, Rites, Justice, Personnel, Army, and Public Works. Nine grades of rank were set up for both the civil administration and the military. A Board of Censors was set up with imperial authority to monitor governmental officials and reported exclusively to the emperor. However, governmental authority did not extend all the way to the village level. The villages were ruled by their own councils in Vietnam.
With the death of Nguyễn Xí in 1465, the noble families from Thanh Hóa province lost their leader. Soon they were mostly relegated to secondary positions in the new Confucian government of Thánh Tông. However, they still retained control over Vietnam's armies as the old general, Đinh Liệt, was still in command of the army. In the same year, Vietnam was attacked by Ryukyuan pirates from the northeast. This was dealt with by sending additional forces to the north to fight the pirates. Thánh Tông also sent a military force to the west to subdue the Ai-lao mountain tribes that was raiding the northwest border.In 1469, all of Vietnam was mapped and a full census was taken, listing all the villages in the Empire. Around this time the country was divided into 13 dao (provinces). Each was administrated by a Governor, Judge, and the local army commander. The emperor Thánh Tông also ordered that a new census should be taken every six years. Other public works that were undertaken included building and repair of granaries, using the army to rebuild and repair irrigation systems after floods, and sending out doctors to areas afflicted by outbreaks of disease. Even though the emperor, at 25, was relatively young, he had already restored Vietnam's stability, which was a marked contrast from the turbulent times marking the reigns of the two emperors before him.
Article 344 of the Nguyen dynasty code and Article 305 of the Le dynasty code both forbade self-castration and castration of Vietnamese men. Self-castration of Vietnamese men was banned by Lê Thánh Tông, the emperor, in 1464.
The Vietnamese under Emperor Le Thanh Tong cracked down on foreign contacts and enforced an isolationist policy. A large amount of trade between Guangdong (Leizhou Peninsula and Hainan) and Vietnam happened during this time. Early accounts recorded that the Vietnamese captured Chinese whose ships had blown off course and detained them. Young Chinese men were selected by the Vietnamese for castration to become eunuch slaves to the Vietnamese. It has been speculated by modern historians that Chinese who were captured and castrated by the Vietnamese were involved in regular trade between China and Vietnam instead of being blown off course, and that they were punished after a Vietnamese crackdown on trade with foreign countries.
A 1499 entry in the Ming Shilu recorded that thirteen Chinese men from Wenchang including a young man named Wu Rui were captured by the Vietnamese after their ship was blown off course while traveling from Hainan to Guangdong's Qin subprefecture (Qinzhou), after which they ended up near the coast of Vietnam, in the 1460s, during the Chenghua Emperor's rule (1464–1487). Twelve of them were enslaved to work as agricultural laborers, while the youngest Chinese man, Wu Rui (吳瑞) was selected by the Vietnamese court for castration since he was the only young man in among the thirteen and he became a eunuch at the Vietnamese imperial palace in Thang Long for nearly one fourth of a century. After years of serving the Vietnamese as a eunuch slave in the palace, he was promoted to a position with real power after the death of the Vietnamese ruler in 1497 to a military position in northern Vietnam as military superintendent since his service in the palace was apparently valued by the Vietnamese. However the Lạng Sơn guard soldier Dương Tam tri (Yang Sanzhi) (楊三知) told him of an escape route back to China and Wu Rui escaped to Longzhou after walking for 9 days through the mountains. The local ethnic minority Tusi chief Wei Chen took him into custody, overruling objections from his family who wanted to send him back to Vietnam. Vietnam found out about his escape and sent an agent to buy Wu Rui back from Wei Chen with 100 Jin in payment since they were scared that Wu Rui would reveal Vietnamese state secrets to China. Wei Chen planned to sell him back to the Vietnamese but told them the amount they were offering was too little and demanded more however before they could agree on a price, Wu was rescued by the Pingxiang magistrate Li Guangning and then was sent to Beijing to work as a eunuch in the Ming palace at the Directorate of Ceremonial (silijian taijian 司禮監太監). The Đại Việt sử ký toàn thư records that in 1467 in An Bang province of Dai Viet (now Quảng Ninh Province) a Chinese ship blew off course onto the shore. The Chinese were detained and not allowed to return to China as ordered by Le Thanh Tong. This incident may be the same one where Wu Rui was captured.
Several Malay envoys from the Malacca sultanate were attacked and captured in 1469 by Vietnamese navy as they were returning to Malacca from China. The Vietnamese enslaved and castrated the young from among the captured.
A 1472 entry in the Ming Shilu reported that some Chinese from Nanhai escaped back to China after their ship had been blown off course into Vietnam, where they had been forced to serve as soldiers in Vietnam's military. The escapees also reported that they found out that more than 100 Chinese men remained captives in Vietnam after they were caught and castrated by the Vietnamese after their ships were blown off course into Vietnam in other incidents. The Chinese Ministry of Revenue responded by ordering Chinese civilians and soldiers to stop going abroad to foreign countries. These 100 men were taken prisoner around the same time as Wu Rui and the historian Leo K. Shin believes all of them may have been involved in illegal trade instead of being blown off course by wind. The over 100 Chinese men who were castrated and made into eunuchs by the Vietnamese remained captives in Vietnam when the incident was reported. Both the incidents of the young Chinese man Wu Rui and the more than 100 Chinese men being castrated and used as eunuchs point to possible involvement in trade according to historians John K. Whitmore and Tana Li which was then suppressed by the Vietnamese government instead of them really being blown off course by the wind. China's relations with Vietnam during this period were marked by the punishment of prisoners by castration.
Under the order of Lê Thánh Tông, the official historical text of the Lê dynasty, Đại Việt sử ký toàn thư (大越史記全書), was compiled and finished in 1479. The 15-volume book covered the entirety of Vietnamese history at that point, from the Hồng Bàng dynasty to the enthronement of Lê Thái Tổ.

##### Hồng Đức's campaigns against Champa and Lan Xang (1471–1480)

In 1471, Lê Thánh Tông conquered Champa and captured the Cham capital Vijaya, ending independent Cham rule in the south. The Kingdom of Champa was reduced to a small enclave near Panduranga (modern day Phan Rang–Tháp Chàm) and Kauthara (now Nha Trang) with many Chams fleeing to Cambodia. Lê Thánh Tông created a new province out of former Cham land and allowed ethnic Vietnamese settlers to settle it. The conquest of the Cham kingdoms started a rapid period of expansion by the Vietnamese southwards into this newly conquered land. The government used a system of land settlement called đồn điền (屯田).
From 1478 to 1480, Lê Thánh Tông led an expedition against the kingdoms of Lan Xang and Lanna in today Laos and Northern Thailand. Laotians were overwhelmed, their capital Luang Prabang was captured. Laotians retreated to the jungles, waged two-years guerrilla warfare against the Vietnamese. King of Lan Xang Chakkaphat Phaen Phaeo seek refugee in Lanna. Some of the Vietnamese army had reached the kingdom of Ava. The expedition ended inconclusively, many Vietnamese soldiers died because of the hostile climate and rampant diseases; The Vietnamese forces were unable to suppressed the Laotian guerrillas, and then the Laotians were able to recaptured their capital. As the Vietnamese withdrew their army through the kingdom of Muang Phuan in December 1479, they annexed and incorporated it into Ninh Protectorate (Trấn Ninh) in 1480.

#### Decline of the Early period

With the death of Lê Thánh Tông, the Lê dynasty fell into a swift decline (1497–1527).
Prince Lê Tăng, the eldest of Lê Thánh Tông's 14 sons, succeeded his father as Lê Hiến Tông (黎憲宗). He was 38 years old at the time of his father's death. He was an affable, meek and mild-mannered person. Due to his short period of rule and that he didn't pass many significant reforms, his reign is considered to be an extension of Lê Thánh Tông's rule. The new emperor was known to historical annals as Lê Hiến Tông. In early 1499, several high-ranking officials including Lê Vĩnh and Lê Năng Nhượng persuaded Hiến Tông to choose an heir in order to maintain the dynasty's and the nation's security and sustainability. Hiến Tông agreed; and although the emperor had two elder sons: Lê Tuân and Lê Tuấn, Lê Thuần was designed as crown prince due to his deep interest in intellectuality and Neo-Confucianism, which caused Hiến Tông to perceive him as being far superior to his two older brothers. chose his third son, Lê Túc Tông (黎肅宗) to be his successor. In 1504, Lê Hiến Tông died at 44 years old. The 17th years old Lê Thuần inherited the throne. The Confucian annalists portrayed him as a relatively good emperor who released many prisoners, stopping several construction works that posed heavy burden on his subjects, as well as reducing tributes from vassals and holding high-ranking officials in high regard. He was also said to have maintained harmony in the court and the whole country. In the other hand, the annals also recorded a revolt broke in Cao Bằng, led by Đoàn Thế Nùng against the government. Lê Thuần sent troops to Cao Bằng, defeating and killing Đoàn Thế Nùng along with 500 rebels. However, he fell gravely ill and died just six months after assuming the throne.
Lê Uy Mục (黎威穆) was the second son of Emperor Lê Hiến Tông. In 1505, as older brother of Emperor Lê Túc Tông, he succeeded the throne, later known under posthumous name Uy Mục hoàng đế (威穆皇帝). Lê Uy Mục was portrayed by Neo-Confucianist chroniclers as being deeply contrasted to his predecessors Lê Thánh Tông, Lê Hiến Tông and Lê Túc Tông, who closely followed Neo-Confucianist principles in governing the nation. The first thing the new emperor did was to take revenge against those who had barred him from the throne by having them killed. Among his victims were the former emperor's mother – which was considered a shocking display of evil behavior. Lê Uy Mục was described by a Ming ambassador – as a cruel, sadistic, and depraved person, who wasted the court's money and finances to indulge his whims. Well aware that he was detested by his subjects, Lê Uy Mục protected himself by hiring a group of elite bodyguards to surround him at all times. Among them was Mạc Đăng Dung, who became very close to the emperor and eventually rose to the rank of general. Despite his precautions, in 1509 a cousin, whom Lê Uy Mục had put in prison, escaped and plotted with court insiders to assassinate the emperor. The assassination succeeded and the killer proclaimed himself emperor under the name Lê Tương Dực.
Lê Tương Dực (黎襄翼), posthumous name Tương Dực Hoàng đế (襄翼皇帝), proved to be just as bad a ruler as Lê Uy Mục. He reigned from 1510 to 1516, all the while spending down the imperial treasury, and doing nothing to improve the country. He was heedless to the reaction that his taxes caused throughout the country. Later in his reign, he spent extravagantly in building many colossal palaces in the imperial capital, Thăng Long. The most notable of those places was one known to the Vietnamese as Cửu Trùng Đài (九重臺, trans. "Nine-Leveled Tower"), designed by the emperor's favoured architect Vũ Như Tô. He also spent much time enjoying sexual activities with his concubines, many of whom were former concubines of Lê Hiến Tông and Lê Uy Mục. According to court chroniclers, he ordered the build of special boats for his nude concubines to row on large artificial lakes. As the result of the emperor's luxurious lifestyle and ignorance of state affairs, the people suffered considerable hardships. Many soldiers committed to build imperial palaces died due to diseases. As the government became increasingly unpopular, many rebellions broke out. The largest of them was that of Trần Cảo, a northerner who claimed to be an heir of the House of Trần. His rule ended in 1516 when a group officials and generals led by Trịnh Duy Sản stormed the palace and killed him.

#### Crisis and revolts

At 14 years old, nephew of Lê Tương Dực, prince Lê Y, was enthroned as the new emperor Lê Chiêu Tông (ruled 1516–1522). Factions within the court vied with one another for control of the government. One powerful and growing faction was led by Mạc Đăng Dung, a military leader who rose through the ranks. His growing power was resented by the leaders of two noble families in Vietnam: the Nguyễn, under Nguyễn Hoàng Dụ and the Trịnh, under Trịnh Duy Đại and Trịnh Duy Sản. After several years of increasing tension, the Nguyễn and the Trịnh left the capital Hanoi (then called Đông Đô) and fled south, with the Emperor "under their protection".
In 1524, Mạc Đăng Dung forces captured and executed the leaders of the revolt (Nguyễn Hoàng Du, Trịnh Duy Đại, and Trịnh Duy Sản). The revolt by the Trịnh clan and the Nguyễn clan was defeated for the moment. This was the start of a civil war with Mạc Đăng Dung and his supporters on one side and the Trịnh and the Nguyễn on the other side. Thanh Hóa Province, the ancestral home to the Trịnh and the Nguyễn, was the battle ground between the two sides. After several years of warfare, Emperor Lê Chiêu Tông was assassinated in 1522 by Mạc Đăng Dung's supporters. Not long after, the leaders of the Nguyễn and the Trịnh were executed. Mạc Đăng Dung was now the most powerful man in Vietnam.

#### Usurpation of Mạc Đăng Dung

The degenerated Lê dynasty, which endured under six rulers between 1497 and 1527, in the end was no longer able to maintain control over the northern part of the country, much less the new territories to the south. The weakening of the monarchy created a vacuum that the various noble families of the aristocracy were eager to fill. Soon after Lê Chiêu Tông fled south with the Trịnh and the Nguyễn in 1522, Mạc Đăng Dung proclaimed the Emperor's younger brother, Lê Xuân, as the new Emperor under the name Lê Cung Hoàng. In reality, the new Emperor had no power. Three years after Mạc's forces killed his older brother Lê Chiêu Tông, was pressured from Mạc Đăng Dung, in Bắc Sứ garden, Lê Cung Hoàng hanged himself on 18 June 1527. Mạc Đăng Dung, being a scholar-official who had effectively controlled the Lê for a decade, murdered all the Lê imperial family member then proclaimed himself the new Emperor of Vietnam on 15 June 1527, ending (so he thought) the Lê dynasty (see Mạc dynasty for more details).
Mạc Đăng Dung's seizure of the throne prompted other families of the aristocracy, notably the Nguyễn and Trịnh, to rush to the support of the Lê loyalists. With the usurpation of the throne, the civil war broke out anew. Again the Nguyễn and the Trịnh gathered an army and fought against Mạc Đăng Dung, this time under the leadership of Nguyễn Kim and Trịnh Kiểm. The Trịnh and the Nguyễn were nominally fighting on behalf of the Lê emperor but in reality, for their own power.

### Southern and Northern Dynasties (1533–1597)

The Lê loyalists under Lê Ninh, a descendant of the Imperial family, escaped to Muang Phuan (today Laos). Marquis of An Thanh Nguyễn Kim summoned the people who were still loyal to the Lê emperor and formed a new army to begin a revolt against Mạc Đăng Dung. Subsequently, Nguyễn Kim returned to Đại Việt and led the Lê loyalists in a sixty-year-long civil war. In 1536 and 1537, Nguyên Hòa sent two envoys to Beijing to ask the Jiajing Emperor of the Ming dynasty to send an army to fight against the Mạc to restore the Lê dynasty. Many Ming officials like Mao Bowen showed strong supports for the Lê loyalists and urged Jiajing Emperor for prepare a military campaign. The Ming Emperor agreed.
In 1527, the Vũ Văn clan in Hà Giang and northern Hưng Hóa rebelled against Mạc Đăng Dung and set up their own government. Vu Van Uyen and his family rules were called Bầu lords. In 1534, after Nguyễn Kim forces recaptured Thanh Hóa, Vũ Văn Uyên declared allied with Lê loyalists and Ming army to fought against the Mạc dynasty. But Mạc Đăng Dung himself in 1540 went and surrendered the Ming army, wished for peace. Mạc Đăng Dung ceded the northeast Vietnamese coastal to the Ming dynasty for exchanging that the Ming dynasty would never invade Vietnam again. The Chinese now recognized both Mạc and Lê legitimacy over Đại Việt and withdrew their army. Bầu Lords showed strong support for the Lê dynasty and refused to accept Trịnh family at the early stage of Trịnh–Nguyễn War. Later, they cooperated with the Trịnh. Bầu Lords lasted for nearly 200 years from 1527 to 1699.
In 1542, Lê army from Muang Phuan recaptured Nghệ An. Mạc general Dương Chấp Nhất surrendered. After capturing the region of Thanh Hóa and Nghệ An, the Revival Lê dynasty eventually recaptured three-quarters of their former kingdom. Inasmuch as the Mac dynasty ruled the northern portion of Đại Việt while the Lê dynasty ruled the remainder of the country, this time became known as the period of Northern and Southern dynasties.
In 1545, Nguyễn Kim was poisoned by Dương Chấp Nhất, a surrendered general of the Mạc dynasty. The power of imperial court was then passed to Nguyễn Kim's son-in-law Trịnh Kiểm who became the founder of the Trịnh lords. Since then the emperor has only become a figurehead, Trịnh Kiểm and his successors were the de facto rulers of the country and continue the war with the Mạc. The war has three actual fighting periods: 1533–1537, 1551–1564 and 1584–1592. During the early confront period, the Lê dynasty introduced personnel firearm like matchlocks into their army and surprised the Mạc army.
Trịnh Tùng succeed his father in 1570, established the Trịnh lords and launched a large-scale offensive against the Mạc army in January 1592. Unable to resist the forces of the Lê loyalists, in December 1592 the Mạc dynasty retreated to the north and established a new capital at Cao Bằng Province allying with the Ming dynasty of China as a tributary nation against the Lê dynasty.

### Restored Lê (1533–1789)

In 1597, the Ming dynasty recognized the legitimacy of the Lê monarch. However, the Ming recorded that the Lê rulers were very dissatisfied to the Ming Empire because the Chinese also concurrently supported the Mạc dynasty. In 1589, Toyotomi Hideyoshi sent envoys to the Lê court in Thanh Hoá, asking the Vietnamese to join Japan's alliance against Ming China and Joseon Korea. Hideyoshi hoped that a three-pronged attack on the Ming dynasty—with Japan from the north, Vietnam to the south, and other Southeast Asian nations to the southwest—would weaken the Ming army and allow the attackers to prevail. Although some officials supported the plan, the Lê emperor Quang Hưng and his ministers recognized the overwhelming strength of the Ming empire; the Lê ministers further viewed Japan and other Southeast Asian nations as "barbarians" and formally refused the Japanese lord's invitation.
The Ming loyalist Chinese pirate Yang Yandi (Dương Ngạn Địch) and his fleet sailed to Vietnam to leave the Qing dynasty in March 1682, first appearing off the coast of Tonkin in north Vietnam. According to the Vietnamese account, Vũ Duy Chí 武惟志, a minister of the Vietnamese Lê dynasty came up with a plan to defeat the Chinese pirates by sending more than 300 Vietnamese girls who were beautiful singing girls and prostitutes with red handkerchiefs to go to the Chinese pirate junks on small boats. The Chinese pirates and northern Vietnamese girls had sex but the Vietnamese women then wet the gun barrels of the Chinese pirates ships with their handkerchiefs which they got wet. They then left in the same boats. The Vietnamese navy then attacked the Chinese pirate fleet which was unable to fire back with their wet guns. The Chinese pirate fleet, originally 206 junks, was reduced to 50-80 junks by the time it reached south Vietnam's Quang Nam and the Mekong delta. The Chinese pirates having sex with north Vietnamese women may also have transmitted a deadly epidemic from China to the Vietnamese which ravaged the Tonkin regime of north Vietnam. French and Chinese sources say a typhoon contributed to the loss of ships along with the disease. The Nguyễn court allowed Yang (Duong) and his surviving followers to resettle in Đồng Nai, which had been newly acquired from the Khmers. Duong's followers named their settlement as "Minh Huong", to recall their allegiance to the Ming dynasty.

#### Trịnh–Nguyễn contention

In 1620, Nguyễn Phúc Nguyên officially refused to send taxes to the court in Hanoi. A formal demand was made to the Nguyễn to submit to the authority of the court, and it was formally refused. In 1623 Trịnh Tùng died and was succeeded by his son Trịnh Tráng. Trịnh Tráng made yet another formal demand for submission, and again Nguyễn Phúc Nguyên refused. Finally in 1627 open warfare broke out between the Trịnh and the Nguyễn. For four months a large Trịnh army campaigned against the Nguyễn army but were unable to defeat them. The result of this war was that Vietnam had effectively been partitioned into northern and southern regions, with the Trịnh controlling most of the north and the Nguyễn controlling most of the south; the dividing line was the Gianh River in Quảng Bình Province. This border was very close to the Seventeenth parallel (in actuality the Bến Hải River located just to the south in Quảng Trị Province), which was imposed as the border between North Vietnam and South Vietnam during the 1954–1975 Partition of Vietnam.
While the Trịnh ruled over a much more populous territory, the Nguyễn had several advantages. First, they were on the defensive and as such were more motivated to fight. Second, the Nguyễn were able to take advantage of their contacts with the Europeans, specifically the Portuguese, to purchase advanced European weapons and hire European military experts in fortifications. Third, the geography was favorable to them, as the flat plains of the North suitable for large organized armies ended at Nguyễn-controlled territory; the mountains of the central highlands reach almost to the sea.
After the first campaign, the Nguyễn built two massive fortified lines which stretched a few miles from the sea to the central highlands. The walls were built north of Huế near the city of Đồng Hới. The Nguyễn defended these lines against numerous Trịnh offensives which lasted till 1672. Tradition holds that the builder of these walls was a Vietnamese general who was hired from the Trịnh court by the Nguyễn. Under his direction the walls held repeatedly against multiple Trịnh assaults, even when they mustered an army of 100,000 men, 500 elephants, and 500 large ships.
In 1633 the Trịnh tried attacking the Nguyễn by sea to avoid costly assaults on the great walls. However, the Trịnh fleet was defeated by the Nguyễn fleet at the battle of Nhat-Le. Around 1635 the Trịnh decided to emulate the Nguyễn and sought military aid from the Europeans. Trịnh Tráng hired the VOC to make European cannons and ships for his army. In 1642–43, the Trịnh army attacked the Nguyễn walls. With the aid of the Dutch cannons, the Trịnh army broke through the first wall but failed to break through the second. At sea, the Trịnh, with their Dutch ships Kievit, Nachtegaels and Woekende Book were defeated at sea by the Nguyễn fleet with their Chinese style galleys. Trịnh Tráng staged yet another offensive in 1648 but at the battle of Truong Duc, the Trịnh army was again badly beaten by the Nguyễn. The new Lê emperor died around this time, perhaps as a result of the defeat. This now left the door open for the Nguyễn to finally go on the offensive.
The Nguyễn launched their own invasion of northern Vietnam in 1653. The Nguyễn army went north and defeated the weakened Trịnh army, capturing Quảng Bình and Hà Tĩnh Province. In the following year, Trịnh Tráng died as Nguyễn forces entered Nghệ An Province. Under the leadership of Trịnh Tráng's successor the capable Trịnh Tạc however, the northern army managed to defeat the Nguyễn army. The Nguyễn were also further weakened by a division between their two top generals who refused to cooperate with each other. In 1656 the Nguyễn army was driven back all the way to their original territories. Trịnh Tạc tried to break the walls of the Nguyễn in 1661 but this attack, like so many before it, failed.
In 1672, the Trịnh army made a last effort to conquer the Nguyễn. The attacking army was under the command of Trịnh Tạc's son, Trịnh Căn, while the defending army was under the command of Nguyễn Phúc Tần's son Prince Nguyễn Phúc Thuận. The attack, like all the previous attacks on the Nguyễn walls, failed. This time the two sides agreed to a peace. With the Qing dynasty under the Kangxi Emperor serving as mediator, the Trịnh and the Nguyễn finally agreed to end the fighting by making the Linh River the border between their lands (1673). Although the Nguyễn nominally accepted the Lê emperor as the legitimate and sole ruler of Vietnam. However, the reality was that the Nguyễn ruled the south, and the Trịnh, the north. This division continued for the next century. The border between the Trịnh and the Nguyễn was strongly fortified yet remained peaceful. Despite the de facto partition of the empire, both the ruling families of the two realms claimed to be loyal subjects under the authority of the singular imperial Lê family, and their territories were de jure all under the same empire, Đại Việt.

#### Tây Sơn rebellion

The stalemate between the Trịnh and the Nguyễn lords that began at the end of the 17th century did not, however, mark the beginning of a period of peace and prosperity. Instead the decades of continual warfare between the two families had left the ruists and peasantry in a weakened state, the victim of taxes levied to support the courts and their military adventures. Having to meet their tax obligations had forced many peasants off the land and facilitated the acquisition of large tracts by a few wealthy landowners, nobles, and scholar—officials. Because scholar—officials were exempted from having to pay a land tax, the more land they acquired, the greater was the burden that fell on those peasants who had been able to retain their land. In addition, the peasantry faced new taxes on staple items such as charcoal, salt, silk, and cinnamon, and on commercial activities such as fishing and mining. The disparate condition of the economy led to neglect of the extensive network of irrigation systems as well.
As they fell into disrepair, disastrous flooding and famine resulted, unleashing great numbers of starving and landless people to wander aimlessly about the countryside. The widespread suffering in North Vietnam led to numerous peasant revolts between 1730 and 1770, notable the peasant rebellion of Nguyễn Hữu Cầu from 1748 to 1751. Although the uprisings took place throughout the country, they were essentially local phenomena, breaking out spontaneously from similar local causes. The occasional coordination between and among local movements did not result in any national organization or leadership. Moreover, most of the uprisings were conservative, in that the leaders supported the restoration of the Lê dynasty. They did, however, put forward demands for land reform, more equitable taxes, and rice for all.
Landless peasants accounted for most of the initial support for the various rebellions, but they were often joined later by craftsmen, fishermen, miners, and traders, who had been taxed out of their occupations. Some of these movements enjoyed limited success for a short time, but it was not until 1771 that any of the peasant revolts had a lasting national impact.
Dissatisfaction against two ruling families Trịnh and Nguyễn spread throughout the country. In 1771, three brothers Nguyễn Nhạc, Nguyễn Lữ and Nguyễn Huệ in An Khê, Bình Định with local peasants' support, revolted against the Nguyễn lord. In 1773, the Tây Sơn captured Quy Nhơn fort in 1773, gave them financial and manpower support, thus made the rebellion and became widespread. In 1774, Trịnh army from the north launched an offensive against the Nguyễn. Unable to fight two-front war, Lord Nguyễn Phúc Thuần lost the control of Cochinchina, fled by ship to the Mekong delta. Nguyễn's capital Phú Xuân was captured by Trịnh lord. Nguyễn Phúc Thuần later was taken and executed by the Tây Sơn in 1777. The remnant Nguyen led by Nguyễn Ánh with help from the French priest Pigneau de Behaine (Bá Đa Lộc), he soon recruited his army by enlisted French, Cambodian troops and weapons, but mostly were defeated by the superior and more numerous Tây Sơn rebels four times, and Ánh went into exile in Siam. The Tây Sơn rebellion were not content to simply conquer the southern provinces of the country.

#### End of the dynasty

In 1782, Trịnh Sâm died and passed the throne to his 5-year-old son Trịnh Cán instead of his 19-year-old son Trịnh Tông, who was demoted after his failed coup d'état attempt in 1780. Trịnh Sâm assigned Hoàng Tố Lý (also known as Hoàng Đình Bảo) as Cán's regent. Trịnh Tông allied with the Three Prefectures Army (Vietnamese: Tam phủ quân, chữ Hán: 三府軍) to overthrow Trịnh Cán and kill Hoàng Tố Lý. The army then released the emperor's grandson Lê Duy Kỳ (also known as Lê Duy Khiêm) from imprisonment and forced the emperor to appoint him as the next successor. Trịnh Tông feared that the army's power would grow stronger. He secretly ordered governors of the Four Provinces (Kinh Bắc, Sơn Nam, Hải Dương, Sơn Tây) to march into the capital and dismiss the Three Prefectures Army. However the plan was discovered by the army and Trịnh Tông had to cancel it.
Hoàng Tố Lý's subordinate Nguyễn Hữu Chỉnh, after hearing about Tố Lý's death, took refuge in Tây Sơn.
In 1786, king of Tây Sơn Nguyễn Nhạc wanted to recover the old territory of Nguyễn lords captured by the Trịnh. He ordered Nguyễn Huệ and Nguyễn Hữu Chỉnh to undertake the task. Nhạc warned Huệ not to attack Bắc Hà. However, Chỉnh convinced Huệ to do so, under the slogan "Destroy the Trịnh and aid the Lê" (Vietnamese: Diệt Trịnh phù Lê, chữ Hán: 滅鄭扶黎) that would help them gain support from Bắc Hà people. Trịnh army and the Three Prefectures Army were quickly defeated. Trịnh Tông committed suicide. Emperor Cảnh Hưng died of old age shortly after and passed the throne to Lê Duy Kỳ (emperor Chiêu Thống).
Nguyễn Nhạc, after having heard of Nguyễn Huệ's insubordination, hastily marched to Thăng Long and ordered all Tây Sơn troops to withdraw. However they intentionally left Nguyễn Hữu Chỉnh behind. Chỉnh chased after them and then stayed in his hometown in Nghệ An.
After Tây Sơn's withdrawal, members of Trịnh clan, namely Trịnh Lệ and Trịnh Bồng, along with their supporters marched into Thăng Long and demanded Chiêu Thống to reinstall Trịnh lord. Chiêu Thống, whose father was killed by Trịnh Sâm, reluctantly agreed and assigned Trịnh Bồng as Prince of Yến Đô (Vietnamese: Yến Đô vương, chữ Hán: 晏都王). Emperor Chiêu Thống then sent a secret order to Nguyễn Hữu Chỉnh to come and save him. In 1787, Nguyễn Hữu Chỉnh marched North, defeated Trịnh Bồng and his supporters, ended the 242 years rule of Trịnh clan.
In late 1787, Nguyễn Huệ, no longer served under Nguyễn Nhạc, sent Vũ Văn Nhậm to invade Bắc Hà under the pretense of punishing Nguyễn Hữu Chỉnh for insubordination. Nhậm captured and executed Chỉnh in January 1788, emperor Chiêu Thống fled to the east of Hong River. Vũ Văn Nhậm installed Lê Duy Cận as Country Supervisor (Vietnamese: Giám quốc, chữ Hán: 監國) without Huệ's approval. Nguyễn Huệ accused Nhậm of treason and executed him, took over Bắc Hà.

##### Lê Chiêu Thống fled to China

Lê Chiêu Thống sent envoy to the Imperial court of the Qing Empire to ask for aid against the Tây Sơn. The Qianlong Emperor of the Qing Empire under the pretense of restoring Lê dynasty dispatched a large force of 200,000 soldiers, to invade Northern Vietnam, captured the capital Thăng Long.
At the beginning of the war, Nguyễn Huệ's troops retreated to the South and refused to engage the Qing army. He raised a large army of his own and defeated the invader in the Lunar New year Eve of 1789. Chiêu Thống and the imperial family fled north into China, never to return. The Lê dynasty finally ended after ruling Vietnam for 356 years. He went to Beijing where he was appointed a Chinese mandarin of the fourth rank in the Han Yellow Bordered Banner, while lower ranking loyalists were sent to cultivate government land and join the Green Standard Army in Sichuan and Zhejiang. They adopted Qing clothing and adopt the queue hairstyle, effectively becoming naturalized subjects of the Qing dynasty affording them protection against Vietnamese demands for extradition. From this point on, Lê Chiêu Thống failed to receive support from the Qing Empire of China any more. He spent the rest of his life in China, and died in 1793. In 1802, when envoys of the Nguyễn dynasty visited China, Lê dynasty loyalists requested that the Jiaqing Emperor let them bring Lê Chiêu Thống's remains back to Vietnam and the emperor agreed. The Jiaqing Emperor also freed all the followers of Lê Chiêu Thống who were imprisoned in China to go back to Vietnam. Lê Chiêu Thống's remains are buried in Bàn Thạch village, Thanh Hóa, Vietnam. He was posthumously given the title Mẫn Đế (愍帝). Modern descendants of the Lê dynasty live in southern Vietnam.

## Culture, society, and science
### Clothing and customs

After ending the Fourth Chinese domination of Vietnam, people of Đại Việt started to rebuild the country. The dress regulation for emperor and the bureaucracy was learned from the previous dynasties of Vietnam and Ming dynasty of China. In later Lê dynasty, cross-collared robe called áo giao lĩnh was popular among civilians. An imperial edict was issued by Vietnam in 1474 forbidding Vietnamese from adopting foreign languages, hairstyles and clothes like that of the Laos, Chams or the Ming "Northerners".
Before 1744, people of both Đàng Ngoài (the north) and Đàng Trong (the south) wore giao lãnh y with thường (a kind of long skirt). Both male and female had loose long hair. In 1744, Lord Nguyễn Phúc Khoát of Đàng Trong (Phú Xuân) decreed that both men and women at his court wear trousers and a gown with buttons down the front. That the Nguyễn Lords introduced áo ngũ thân. The members of the Đàng Trong court (southern court) were thus distinguished from the courtiers of the Trịnh Lords in Đàng Ngoài (Đông Kinh), who wore áo giao lĩnh with long skirts. The partition between two families over the country too long so caused the some major differences in Vietnamese dialect and culture between Northern and Southern Vietnamese.
* Vietnamese people in 1645 through a Japanese painting.
* A Vietnamese lady in Northern Vietnam, 1600s painting.
* Southern Vietnamese
* The Vietnamese hunters (Hmong ethnic) in Lê dynasty
* Đại Việt delegates under Lê dynasty to Qing China in 1750s (source:Ten Thousand Nations Coming to Pay Tribute).
* North Vietnamese (left) and South Vietnamese (right) under Lê dynasty in 17th century.
* Confucian class and chess playing house in Tonkin, c. 18th century.
* Two women and a child in Hanoi, c. 18th century.
* Nguyen Quy Kinh (1693–1766), imperial tutor to the crown prince.
* Commoners and mandarins of the Revival Lê dynasty.
* Paintings of activities of Vietnamese people in the Revival Lê dynasty.
* Court dress during the late Lê dynasty

### Introduction of Christianity

European missionaries had occasionally visited Vietnam for short periods of time, with little impact, beginning in the early sixteenth century. Khâm định Việt sử Thông giám cương mục recorded the first Christian missionary's name Inácio in the first year of Nguyên Hoà Emperor (1533) in Nam Định. From 1580 to 1586, two Portuguese and French missionaries Luis de Fonseca and Grégoire de la Motte worked in Quảng Nam and Quy Nhơn region under lord Nguyễn Hoàng. After the Lê–Mạc War ended and peace was restored in 1593, more missionaries from Spain, Portugal France, Italy and Poland came to Vietnam to spread Christianity. The best known of the early missionaries was Alexandre de Rhodes, a French Jesuit who was sent to Hanoi in 1627, where he quickly learned the language and began preaching in Vietnamese. Initially, Rhodes was well received by the Trinh court, and he reportedly baptized more than 6,000 converts; however, his success probably led to his expulsion in 1630. He is credited with perfecting a romanized system of writing the Vietnamese language (chữ Quốc ngữ) first developed by Francisco de Pina, which was probably developed as the joint effort of several missionaries, including Rhodes. He wrote the first catechism in Vietnamese and published a Vietnamese-Latin-Portuguese dictionary; these works were the first books printed in chữ Quốc ngữ. Chữ Quốc ngữ was used initially only by missionaries; chữ Hán or chữ Nôm continued to be used by the court and the bureaucracy.
The French later supported the use of chữ Quốc ngữ, which, because of its simplicity, led to a high degree of literacy and a flourishing of Vietnamese literature. After being expelled from Vietnam, Rhodes spent the next thirty years seeking support for his missionary work from the Vatican and the French Roman Catholic hierarchy as well as making several more trips to Vietnam. However, since 1910, Latinized chữ Quốc ngữ was adopted by the French governor as the main writing system of Vietnam, while chữ Hán and chữ Nôm fell into decline. Vietnamese Christianity developed and became stronger before it was cracked down on by Emperor Minh Mạng of the Nguyễn dynasty in the 1820s.

### Science and Philosophy

The Lê period was the continuously flourishing era of Vietnamese scientific thought and Confucianism scholarship. Nguyễn Trãi was a 15th-century Lê official, author of geography book Dư địa chí, also was a Neo-Confucianist scholar. Lê Quý Đôn was a poet, encyclopedist, and government official, author of the geography book Phủ biên tạp lục. Hải Thượng Lãn Ông was a famous Vietnamese doctor and pharmacist with his full collection 28-volumes Hải Thượng y tông tâm lĩnh about traditional Vietnamese medicine. Matchlock firearms technology also spread from Mughal Empire to Đại Việt in 1516, and was adopted by the Lê army by the 1530s.

### Literature and arts

Written Chinese was the predominant writing language in Vietnam throughout the Lê dynasty, although written vernacular Vietnamese using chữ Nôm became increasingly popular in the 17th century.$^{:207}$ To adapt Chinese writings to fit the Vietnamese language, Chinese ideograms were modified to chữ Nôm. During the Lê dynasty, various forms of Vietnamese literature and art flourished, including poetry, painting, novels, hát tuồng, chèo, cải lương, and ca trù. Many writers wrote in chữ Hán or chữ Nôm; for example, Nguyễn Du's The Tale of Kiều, Đoàn Thị Điểm's Chinh phụ ngâm, and Nguyễn Gia Thiều's Cung oán ngâm khúc. Even Lê Thánh Tông wrote in both chữ Hán and chữ Nôm.
The art forms of that time prospered and produced items of great artistic value, despite the upheavals and wars. Woodcarving was especially highly developed and produced items that were used for daily use or worship. Many of these items can be seen in the National Museum in Hanoi.
* Woodcut paintings "Thánh Cung vạn tuế" ("Long live his Imperial Majesty") from the 18th-century Nghệ An.
* Ceramic stoneware vase, fifteenth century
* Statue of Avalokiteshvara Bodhisattva, crimson and gilded wood, Revival Lê dynasty, autumn of Bính Thân year (1656), from Bút Tháp Temple in Bắc Ninh Province.
* Wooden art pieces of the seventeenth century.
* Nghê (mythological beast) figurines, crimson and gilded wood, eighteenth century.
* Nghê decorate in seventeenth century.
* Dragon of the Later Lê dynasty.
* Buddhanandi statue of the Lê dynasty.
* Ceramic Lion bush, sixteenth century.
* Imperial dish of the Lê dynasty.
* Horse figure, 1720.
* The Lacquer wood painting at Vua Rộc temple, dedicated to general Đoàn Thượng Công of Lý dynasty in Kien Xuong district, Thái Bình Province, 18th century AD.
* 17th-century Đông Hồ woodcut painting depicts Cá chép (Carp) displays in National Museum of Fine Arts
* 17th-century Đông Hồ woodcut painting depicts "Social commentary: Đánh ghen (Jealousy fighting)" in National Museum of Fine Arts
* 17th-century Hàng Trống woodcut painting depicts Five Tigers "Ngũ Hổ" displays in National Museum of Fine Arts

## Education and imperial examination system

* portrait of Tiến sĩ(進士) parade when successfully passing the examination.
* Parade of Tiến sĩ and soldiers in Lê dynasty, 18th century painting.
In late 1426, Lê Lợi held a small Confucian examination in Đông Kinh, graduated 30 tiến sĩ. From 1431, the court annually held Provincial and metropolitan exams were organized in three sessions. The first session took place in every province, consisted of three questions on the examinee's interpretation of the Four Books, and four on the Classics corpus. Everyone who passed the first session were called Sinh đồ and Hương cống. The second session took place in the capital one year later, and consisted of a discursive essay, a based Tang poetry, five critical judgments, and one in the style of an edict, an announcement and a memorial. Three days after that, the third session was held by the emperor, consisting of five essays on the Classics, historiography, and contemporary affairs.
From 1486, every mandarin candidates must participated both first and second session to approve the chain. The Le's examination system reflected the Ming's imperial examination.
During the period from 1426 to 1527, the Lê dynasty held 26 Imperial examinations in the capital, graduated 989 tiến sĩ and 20 trạng nguyên. By the 1750s, Neo-Confucianism were declining, the imperial examinations began having surplus graduates, downgrading quality of jinshi and mandarin, corruptions, the court prefer children of noble families to be mandarins that take check, thus made the downfall of Confucian examination system in Vietnam in the late 18th century until the established of Nguyễn dynasty.
Scholars and administrators who graduated from the imperial examination system during the Lê dynasty include Nguyễn Bỉnh Khiêm, Nguyễn Thị Duệ, Phùng Khắc Khoan, Lê Quý Đôn, Lương Thế Vinh, and Nguyễn Đăng Đạo [zh].

## Foreign relations
### China

In 1428, Lê Lợi established a tributary relationship with the Ming dynasty in exchange for the recognition and formal protection of his kingdom. Xuande Emperor gave Lê Lợi the title "An Nam Quốc Vương" (King of Annam) and recognized internal Vietnamese independence and sovereignty (which would last until 1526). Also part of the tributary relationship was the responsibility of the Ming to provide external military support to the Lê state. Ming support for the Lê against the Mạc uprising arrived in 1537. After the 1540 surrender of the Mạc to the Ming, the Ming court ceremonially revoked the Mạc dynasty's status as an independent kingdom and reclassified it as a dutongshisi: a category only slightly higher than a chieftaincy. After 1540, the Ming received tribute from both the Lê dynasty and the Mạc, a state of affairs that continued through the Qing dynasty. From 1647, the Southern Ming reclassified Annam as an independent kingdom, giving Lê Duy Kỳ the title "An Nam Quốc Vương" (安南国王) again. In 1667, the Kangxi Emperor of the Qing empire gave the title An Nam Quốc Vương to Lê Duy Vũ through a successful Vietnamese diplomatic mission.
* Vietnamese delegation in Beijing street (Source: "平定西域献俘礼图卷".)
* Lương Thế Vinh, Vietnamese scholar and mathematician served in Lê Thánh Tông's government from 1463 to 1478.
* Nguyễn Quán Nho (1638–1708), Vietnamese ambassador to Qing China (1674–1681), served as prime minister (1691–1707) under lord Trịnh Căn.
* Portrait of Phùng Khắc Khoan, the mandarin who led the diplomatic visit to Ming China in 1597.

### Europe

Vietnamese historiography notes that contact between Vietnam and the Holy See or Vatican was established during the reign of emperor Lê Thế Tông (1572–1599) through a diplomacy letter in Classical Chinese that is held in a Vatican library in the modern day.
The seventeenth century was also a period in which European missionaries and merchants became a serious factor in Vietnamese court life and politics. Although both had arrived by the early sixteenth century, neither foreign merchants nor missionaries had much impact on Vietnam before the seventeenth century. The Portuguese, Dutch, English, and French had all established trading posts in Phổ Hiền by 1680. Fighting among the Europeans and opposition by the Vietnamese made the enterprises unprofitable, however, and all of the foreign trading posts were closed by 1800.

## Economic development

Before 1527, the Imperial court restricted people from foreign trade, mainly focused on agriculture and the local market trade. The period from 1505 to 1527 was politically unstable which disrupted the economy. There were a series of severe famines in Hải Dương prefecture and Kinh Bắc prefecture (Bắc Ninh, Bắc Giang) that occurred in 1517 to 1521 during the reign of Lê Tương Dực. The 16th century political crisis caused severe damage to Vietnam's agriculture and conscription was required by incessant military campaigns; this was compounded by natural disasters, largely contributed to regular crop failures. The number of landless peasants grew quickly, causing a disproportionate surplus of unemployed labourers in Northern Vietnam. After Mạc Đăng Dung gained power in 1527, he sought to restore the economy by encouraging these unemployed peasants into the city and factories, pursuing massive handicraft and industrial manufacture as well as sea trading. This caused a shift in the economy from one mainly on farming to sea trading from the Red River Delta on the Eastern coast.
Vietnamese merchants and sailors formed together and built medium-size ships in Hai Mon port (now Hai Phong) and quickly gained dominance in the South China sea trade route, which mostly sailed from Japan to Malacca to sell silk and ceramics. Some of them eventually reached Egypt and Greece under the Ottoman's rule around the 1570s. After the recapture of Đông Kinh in 1592, the Lê-Trịnh court acknowledged the benefits of oversea trading, and continued to encourage handicraft and industrial manufacture and opened several ports such as Hoi An and Đông Kinh to foreign merchants. About 80% of the population were farmers and peasants; they worked on lands mostly held by địa chủ (landlords). The economy was devastated in some regions of the country due to two long civil wars, however, in most parts of the country which were unaffected, peace were maintained for a long time, which saw a rise of urbanization and a pre-capitalism society in Vietnam around the late 16th to 18th century.
In contrast to the overpopulation of the Red River Delta, the Thuan Hoa and Quang Nam region were not as dense. Vietnamese people had begun settling in the conquered Cham region at least since the 15th century. After Nguyễn Hoàng was appointed as governor of the southern provinces in 1572, millions migrated south, resulting in new cities and harbors along the coastline. For centuries the Nguyễn dynasty's economy mostly depended on handicraft and industrial manufacture but also international trade. Until the later 18th century, due to an epidemic, severe flooding in the Red River Delta, the immense corruption of the government and the rise of the Tây Sơn rebellion in Southern Vietnam that later spread to the entire country, devastated most of the economy and international trading, it played an important role in the collapse of the dynasty.

### Đông Kinh and urban life

Đông Kinh (present-day Hanoi) has been the capital of Vietnam since the 11th century. During the Later Lê dynasty it was divided into 13 districts and 239 wards (with 36 main business-trading wards) and communes. Since the mid-16th century, Đông Kinh became the silk and ceramic manufacturing center of Southeast Asia. Vietnamese merchants exported to the Ottoman Empire and Safavid Empire, these exports include Tonkinese octagonal bottles with underglaze-cobalt decoration or dishes with peony sprays painted in underglaze-cobalt were considered as good as Chinese products. Vietnamese ceramics from Bát Tràng villages produced famous high-quality pottery and dishes. With Tomé Pires noting in 1515 "They [The Vietnamese] have porcelain and pottery-some of them great value-and these go from there to China to be sold.Chinese and Japanese traders came to Đông Kinh to buy both high quality silk and raw silk. Besides silk textiles that were made in villages, the majority of them were produced in state-owned factories in Đông Kinh, this was produced for the imperial family, noblemen and foreigners.
In 1594, the Imperial court allowed a Western presence in the capital, and encouraged Dutch, Spanish and the British to open trading ports. In 1616, the British established a factory in Đông Kinh, but their business ended in failure due to the pressures from the Lê court, and finally withdrew in 1720. During the 17th and 18th century, Westerners commonly used the name Tonkin (from Đông Kinh) to refer to northern Vietnam, then ruled by the Trịnh lords (while Cochinchina was used to refer to Southern Vietnam, then ruled by the Nguyễn lords, and Annam, from the name of the former Chinese province was used to refer to Vietnam as a whole). Tonkin had been a major industrial and trading center in Asia until the 1730s.
The prosperity during the Le dynasty was described through the urbanization in Tonkin through Western narratives: "...Cachao (Đông Kinh) probably had 200,000 houses. The city size was some larger than some of the largest cities in Europe but similar in size to other major Asian cities. It lies along the Red river...there are 36 stone-paved major streets, many foreigners such as Chinese, Japanese, English held their business companies, factories and stores here...the Emperor has three small but magnificent palaces, mostly built by red wood and terracotta bricks, surrounded by 15-feet height wall, and its main gate never opens expect when the Emperor wants to go outside. The Trinh lord and his families live in the 30-meter high Ngũ Long castle, near Tạ Vọng lake, which can be seen at its highest from the Red river..."
In 1637, the Dutch successfully established commercial and diplomatic relations with Tonkin and maintained their trading station in Đông Kinh until 1700. The lucrative Dutch ‘Vietnamese-silk-for-Japanese-silver trade‘ later also attracted the English and the French to Tonkin in 1672 and early 1682 respectively. The British imported Vietnamese silk around the 1670s, but not regularly. The city had a Chinatown, as well as factories owned by the Dutch and English companies along the Red river.
However, by the last quarter of the 17th century, Tonkin was no longer a profitable trading place. Vietnamese silk no longer reaped a handsome profit in Japan and Vietnamese ceramics proved unmarketable in the insular Southeast Asian markets. In Tonkin, trading conditions also deteriorated rapidly. Subsequently, natural disasters ravaged the economy of the country and a wave of successive famines discouraged local craftsmen from producing goods for export. Worse still, after the protracted civil war with the southern Vietnamese kingdom of Quinam (or Đàng Trong) that ended in 1672, the Tonkinese rulers seemed to be more indifferent towards foreign trade as they were no longer in urgent need of a supply of weapons from the Westerners. Bearing in mind their long-term strategy, especially the prospect of opening up trading relations with China, the Dutch still wanted to maintain their Tonkinese trade despite its current unprofitable state, perceiving that it would be extremely difficult to re-establish the relationship with Tonkin once they left the country. Despite Dutch persistence, the relationship between the VOC and Tonkin deteriorated rapidly during the last two decades of the 17th century, especially after Chúa (Lord) Trịnh Căn (r. 1682–1709) succeeded to the throne.

### Hội An

The area of the Quảng Nam river was originally part of Champa but was annexed by Đại Việt by Emperor Thánh Tông. It was opened for foreign merchants for trade and settlement. In 1535 Portuguese explorer and sea captain António de Faria, coming from Da Nang, tried to establish a major trading centre at the port village of Faifo. Hội An was founded as a trading port by the Nguyễn Lord Nguyễn Hoàng in 1570. The Nguyễn lords were far more interested in commercial activity than the Trịnh lords who ruled the north. As a result, Hội An flourished as a trading port and became the most important trade port on the South China Sea. Captain William Adams, the English sailor and confidant of Tokugawa Ieyasu, is known to have made one trading mission to Hội An in 1617 on a Red Seal Ship. The early Portuguese Jesuits also had one of their two residences at Hội An. In 1640, Nguyễn lord Nguyễn Phúc Lan ordered to close all Dutch stores and factories in Hội An, ban the Dutch in trading within Cochinchina as he suspected the VOC was allying with the Trịnh lords to the north. In the 17th century, Polish Jesuit missionary Wojciech Męciński was believed to visited Hội An.
In the 18th century, Hội An was considered by Chinese and Japanese merchants to be the best destination for trading in all of Southeast Asia, even Asia. Trading activities and handicraft manufacturing had been shifted from Tonkin to Hội An. The city also rose to prominence as a powerful and exclusive trade conduit between Europe, China, India, and Japan, especially for the ceramic industry. Shipwreck discoveries have shown that Vietnamese and Asian ceramics were transported from Hội An to as far as Sinai, Egypt.
Hội An's importance waned sharply at the end of the 18th century because of the collapse of Nguyễn rule (due to the Tây Sơn Rebellion). Then, with the triumph of Emperor Gia Long, he repaid the French for their aid by giving them exclusive trade rights to the nearby port town of Đà Nẵng. Đà Nẵng became the new centre of trade (and later French influence) in central Vietnam while Hội An became a forgotten backwater. Local historians also say that Hội An lost its status as a desirable trade port due to silting up of the river mouth. The result was that Hội An remained almost untouched by the changes to Vietnam over the next 200 years.

### Gia Định

Beginning in the early 17th century, colonization of the area by Vietnamese settlers gradually isolated the Khmer of the Mekong Delta from their brethren in Cambodia proper and resulted in their becoming a minority in the delta. In 1623, King Chey Chettha II of Cambodia (1618–28) allowed Vietnamese refugees fleeing the Trịnh–Nguyễn civil war in Vietnam to settle in the area of Prey Nokor and to set up a customs house there. Increasing waves of Vietnamese settlers, which the Cambodian kingdom could not impede because it was weakened by war with Thailand, slowly Vietnamized the area. In time, Prey Nokor became known as Saigon. Prey Nokor was the most important commercial seaport to the Khmers. The loss of the city and the rest of the Mekong Delta cut off Cambodia's access to the South China Sea. Subsequently, the only remaining Khmers' sea access was the south-westerly Gulf of Thailand (that is Kampong Saom and Kep).
In 1698, Nguyễn Hữu Cảnh, a Vietnamese noble and explorer, was sent by the Nguyễn rulers of Huế by ship to establish Vietnamese administrative institutions in the area, thus detaching the area from Cambodia, which was not strong enough to intervene. He is often credited with the expansion of Saigon into a significant settlement of Kinh and Hoa people. A large Vauban citadel called Gia Định was built by Victor Olivier de Puymanel, one of the Nguyễn Ánh's French mercenaries. The citadel was later destroyed by the French following the Battle of Kỳ Hòa (see Citadel of Saigon). Initially called Gia Dinh, the Vietnamese city became Saigon in the 18th century. At the time, the population of Gia Định was around 200,000 people with 35,000 households.

## List of emperors

Emperors of the Initial Period (Lê Sơ) from 1428 to 1527
| Temple name | Posthumous name | Personal name | Lineage | Reign | Era name | Tomb | Events |
| Thái Tổ (太祖) | Thống Thiên Khải Vận Thánh Đức Thần Công Duệ Văn Anh Vũ Khoan Minh Dũng Trí Hoàng Nghĩa Chí Minh Đại Hiếu Cao Hoàng đế (統天啟運聖德神功睿文英武寬明勇智弘義至明大孝高皇帝) | Lê Lợi (黎利) | Son of Lê Khoáng, Head of Lam Sơn [vi] Circuit. | 1429–1433 | Thuận Thiên (順天) | Vĩnh Lăng Mausoleum, Lam Kinh | Founder of the Later Lê dynasty. Rebelled against Ming rule in 1418. Enthroned as Emperor of Đại Việt in 1428. Re-conquered Cao Bằng, Thái Nguyên and Lai Châu from local chieftains. |
| Thái Tông (太宗) | Kế Thiên Thể Đạo Hiển Đức Thánh Công Khâm Minh Văn Tư Anh Duệ Triết Chiêu Hiến Kiến Trung Văn Hoàng đế (繼天體道顯德功欽明文思英睿仁哲昭憲建中文皇帝) | Lê Nguyên Long (黎元龍) | Son of Emperor Thái Tổ | 1433–42 (2) | Thiệu Bình (紹平 1434 – 1439), Đại Bảo (大寶 1440 – 1442) | Hựu Lăng, Lam Kinh | Campaigns against Lan Xang (1437-1441). Died mysteriously while visiting the Lychee garden (Lệ Chi Viên) of Nguyễn Trãi with Trãi's mistress Nguyễn Thị Lộ, resulting in Nguyễn Trãi's accusation and death (Mystery of Lệ Chi Viên). |
| Nhân Tông (仁宗) | Khâm Văn Nhân Hiếu Tuyên Minh Thông Duệ Tuyên Hoàng đế (欽文仁孝宣明聰睿宣皇帝) | Lê Bang Cơ (黎邦基) | Son of Emperor Thái Tông | 1442–1459 (3) | Thái Hòa (太和 1443 – 1453), Diên Ninh (延寧 1454 – 1459) | Mục Lăng | Empress Tuyên Từ ruled as regent and was de facto ruler from 1444 to 1454. War with Champa in 1446. Both the Empress Regent and Nhân Tông were murdered by Duke Lê Nghi Dân. |
| Lê Nghi Dân (黎宜民) | Thiên Hưng Đế (天興帝) | | Son of Emperor Thái Tông | 1459-1460 | Thiên Hưng (天興 1459-1460) | | Deposed and killed by the ministers. |
| Thánh Tông (聖宗) | Sùng Thiên Quảng Vận Cao Minh Quang Chính Chí Đức Đại Công Thánh Văn Thần Vũ Đạt Hiếu Thuần Hoàng đế (崇天廣運高明光正至德大功聖文神武達孝淳皇帝) | Lê Tư Thành (黎思誠) | Son of Emperor Thái Tông | 1460–97 (4) | Quang Thuận (光順 1460–1469), Hồng Đức (洪德 1470–1497) | Chiêu Lăng | Conquered Champa and captured its capital Vijaya (Champa) in 1471. Victorious wars with Muang Phuan and Lan Xang (1478-1480) . Major administrative, education, economic and legal reforms. Hồng Đức era was viewed as the apex of the House of Lê. |
| Hiến Tông (憲宗) | Thể Thiên Ngưng Đạo Mậu Đức Chí Nhân Chiêu Văn Thiệu Vũ Tuyên Triết Khâm Thành Chương Hiếu Duệ Hoàng Đế (體天凝道懋德至仁昭文紹武宣哲欽聖彰孝睿皇帝) | Lê Tranh | Son of Emperor Thánh Tông | 1497–1504 (5) | Cảnh Thống (景統) | Dụ Lăng | Maintained the works of the Hồng Đức era |
| Túc Tông (肅宗) | Chiêu Nghĩa Hiển Nhân Ôn Cung Uyên Mặc Hiếu Doãn Cung Khâm Hoàng đế (昭義顯仁溫恭淵默惇孝允恭欽皇帝) | Lê Thuần (黎㵮) | Son of Emperor Hiến Tông | 1504–1505 (6) | Tự Hoàng (嗣皇) | Kính Lăng | Reigned for six months (July 1504 - January 1505) before dying of illness |
| Lê Uy Mục | Mẫn Lệ công (愍厲公) | Lê Tuấn (黎濬) | Son of Emperor Hiến Tông | 1504–1509 (7) | Đoan Khánh (端慶) | An Lăng | Rule is deeply unpopular. Labelled by the Ming dynasty as the Evil king/Quỷ vương (鬼王) |
| Lê Tương Dực | Linh Ẩn vương (靈隱王) | Lê Oanh (黎瀠) | Son of Prince Lê Tân of Emperor Thánh Tông | 1509–1516 (8) | Hồng Thuận (洪順) | Nguyên Lăng | Political and education reforms. Late rule marred by various rebellions (Trần Tuân, 1511; Trần Cảo, 1516) and political crises. Assassinated by general Trịnh Duy Sản. |
| Lê Quang Trị Lê Bảng Lê Do | | | Descendants of Lê Thái Tông | 1516 1518-1519 | | | Lê Quang Trị was installed amidst a political dispute, he kept the throne for only three days in May 1516 and was killed by general Trịnh Duy Đại. From September 1518 to March 1519, Lê Bảng was installed and killed by the warlord Trịnh Tuy. Lê Do was installed by Trịnh Tuy, he was killed by Chiêu Tông-Mặc Đăng Dung forces in July 1519. |
| Chiêu Tông (昭宗) | Thần Hoàng đế (神皇帝) | Lê Y (黎椅) | Son of Lê Sùng, brother of Emperor Tương Dực | 1517–1522 (9) | Quang Thiệu (光紹) | Vĩnh Hưng Lăng | Rule plagued by civil war. Murdered by Mạc Đăng Dung in 1525 |
| Cung Hoàng (恭皇) | Cung Hoàng đế (恭皇帝) | Lê Xuân (黎椿) | Son of Lê Sùng, brother of Emperor Tương Dực | 1522–1527 (10) | Thống Nguyên (統元) | Hoa Dương lăng | Propped up by Mạc Đăng Dung, forced to hang himself. |
Emperors of the Restored Period (Lê Trung Hưng) from 1533 to 1789
| Temple name | Posthumous name | Personal name | Lineage | Reign | Era name | Tomb | Events |
| Trang Tông (莊宗) | Dụ Hoàng đế (裕皇帝) | Lê Ninh (黎寧) | Son of Emperor Chiêu Tông | 1533–1548 (11) | Nguyên Hòa (元和) | Cảnh lăng | Escaped from house arrest to Laos in 1527. In 1533, Lê loyalists led by Nguyễn Kim installed Lê Ninh as Emperor in-exile. Jiajing Emperor of Ming dynasty sent 110,000 soldiers to help the Lê family restore the throne in 1536 but Mạc Đăng Dung made a pact with the Ming in 1540, beginning the Lê-Mạc war. Chiêu Tông ruled from his court in Vạn Lại, Thanh Hóa. |
| Trung Tông (中宗) | Vũ Hoàng đế (武皇帝) | Lê Huyên (黎暄) | Son of Emperor Trang Tông | 1548–1556 (12) | Thuận Bình (顺平) | Diên lăng | Vạn Lại court with Trịnh Kiểm as de facto ruler. Lê army recaptured Thuận Hóa and Quảng Nam from Mạc in 1553. Trung Tông died without an heir. |
| Anh Tông (英宗) | Tuấn Hoàng đế (峻皇帝) | Lê Duy Bang (黎維邦) | Descendant of Lê Trừ, the second brother of Lê Lợi | 1556–1573 (13) | Thiên Hựu (天祐 1557), Chính Trị (正治 1558 – 1571), Hồng Phúc (洪福 1572) | Bố Vệ lăng | Vạn Lại court. Nguyễn clan led by Nguyễn Hoàng granted their fiefs in Thuận Hóa and Quảng Nam. War of succession between Trịnh Kiểm's son Trịnh Tùng and Trịnh Cối. Anh Tông plotted against the Trịnh and was killed by Trịnh Tùng. |
| Thế Tông (世宗) | Tích Thuần Cương Chính Dũng Quả Nghị Hoàng đế (積純剛正勇果毅皇帝) | Lê Duy Đàm (黎維潭) | Son Emperor Anh Tông | 1573–99 (14) | Gia Thái (嘉泰 1573 – 1577), Quang Hưng (光興 1578 – 1599) | Hoa Nhạc lăng | Installed by Trịnh Tùng when he was 5 years old. Recaptured Đông Kinh from the Mạc dynasty in 1592. Trịnh Tùng was de facto ruler. |
| Kính Tông (敬宗) | Hiển Nhân Dụ Khánh Tuy Phúc Huệ Hoàng đế (显仁裕庆绥福惠皇帝), Giản Huy Hoàng đế (簡輝皇帝) | Lê Duy Tân (黎維新) | Son of Emperor Thế Tông | 1599–1619 (15) | Thận Đức (慎德 1600 – 1601), Hoằng Định (弘定 1601 – 1619) | | Deposed and forced to commit suicide by Trịnh Tùng following a court plot. |
| Thần Tông (神宗) | Uyên Hoàng đế (淵皇帝) | Lê Duy Kỳ (黎維祺) | Son of Emperor Kính Tông and Empress Ngọc Trinh, Trịnh Tùng's daughter. | 1619–1643, 1649–1662 (16) | Vĩnh Tộ (永祚 9/1619 – 1628), Đức Long (德隆 1629 – 1634), Dương Hòa (陽和 1635 – 9/1643), Khánh Đức (慶德 10/1649 – 1652), Thịnh Đức (盛德 1653 – 1657), Vĩnh Thọ (永壽 1658 – 8/1662), Vạn Khánh (萬慶 9/1662) | Quần Ngọc lăng | First Trịnh-Nguyễn War broke out in 1627. Became Emperor regent in 1643 when his son Lê Duy Hựu was enthroned. Second rule from 1649 after his son's death. Trịnh Lords were de facto rulers. |
| Chân Tông (真宗) | Thuận Hoàng đế (順皇帝) | Lê Duy Hựu (黎維祐) | Son of Emperor Thần Tông | 1643–1649 (17) | Phúc Thái (福泰) | Hoa Phố lăng | Trịnh Tráng was de facto ruler. |
| Huyền Tông (玄宗) | Mục Hoàng đế (穆皇帝) | Lê Duy Vũ (黎維禑) | Son of Emperor Thần Tông | 1662–1671 (18) | Cảnh Trị (景治) | An Lăng | Married to Empress Ngọc Áng, Trịnh Tạc's daughter. Died at age 17 without an heir. Trịnh Tạc was de facto ruler. |
| Gia Tông (嘉宗) | Khoan Minh Mẫn Đạt Anh Quả Huy Nhu Khắc Nhân Đốc Nghĩa Mỹ Hoàng đế (寬明敏達英果徽柔克仁篤義美皇帝) | Lê Duy Cối (黎維禬) | Son of Emperor Thần Tông | 1671–1675 (19) | Dương Đức (陽德 1672 – 1674), Đức Nguyên (德元 1674 – 1675) | Phúc An lăng | Adopted by Trịnh Tạc at early age. Enthroned when he was 10 and died of cholera 5 years later. Trịnh Tạc was de facto ruler. |
| Hy Tông (熙宗) | Chương Hoàng đế (章皇帝) | Lê Duy Cáp (黎維祫) | Son of Emperor Thần Tông | 1675–1705 (20) | Vĩnh Trị (永治 1676 – 1680), Chính Hoà (正和 1680 – 1705) | Phú lăng | War with the Nguyễn Lords in Cochinchina over, the last remnants of Mạc dynasty and Bầu lords were conquered. Trịnh Tạc and Trịnh Căn were de facto rulers. |
| Dụ Tông (裕宗) | Thuần Chính Huy Nhu Ôn Giản Từ Tường Khoan Huệ Tôn Mẫu Hòa Hoàng đế (純正徽柔溫簡慈祥寬惠遜敏和皇帝) | Lê Duy Đường (黎維禟) | Son of Emperor Hy Tông | 1705–1729 (21) | Vĩnh Thịnh (永盛 1706 – 1719), Bảo Thái (保泰 1720 – 1729) | Kim Thạch | The Lê court recognized the Manchu Qing legitimates over China, Kangxi Emperor sent envoy and gave the title An Nam quốc vương 安南国王 (King of Annam) for Dụ Tông in 1718. Trịnh Lords were de facto rulers. Deposed by Trịnh Cương. |
| | | Lê Duy Phường (黎維祊) | Son of Emperor Dụ Tông and Empress Ngọc Trang, aunt of Trịnh Cương. | 1732–1735 (22) | Vĩnh Khánh (永慶) | Kim Lũ | Deposed by and killed by Trịnh Giang. Posthumously named by the condescending title Hôn Đức công (Duke of Ambiguous Virtues) |
| Thuần Tông (純宗) | Giản Hoàng đế (簡皇帝) | Lê Duy Tường (黎維祥) | Son of Emperor Dụ Tông | 1732–1735 (23) | Long Đức (龍德) | Bình Ngô Lăng | Trịnh Giang was de facto ruler |
| Ý Tông (懿宗) | Ôn Gia Trang Túc Khải Túy Minh Mẫn Khoan Hồng Uyên Duệ Huy Hoàng đế (溫嘉莊肅愷悌通敏寬洪淵睿徽皇帝) | Lê Duy Thận (黎維祳) | Son of Emperor Thuần Tông | 1735–1740 (24) | Vĩnh Hựu (永佑) | Phù Lê lăng | Forced to abdicate by Lord Trịnh Doanh. The last Thái thượng hoàng (retired emperor) of Vietnam. |
| Hiển Tông (顯宗) | Vĩnh Hoàng đế (永皇帝) | Lê Duy Diêu (黎維祧) | Son of Emperor Thuần Tông | 1740–1786 (25) | Cảnh Hưng (景興) | Bàn Thạch lăng | Rebellions by Prince Lê Duy Mật (1740-1770) and Phạm Công Chất (1767-1769). Relationship with the Trịnh Lordship deteriorated after Trịnh Doanh's death in 1767. Crown prince Lê Duy Vĩ killed by Trịnh Sâm who planned to abolish the Lê Throne. Tây Sơn Rebellion broke out in Cochinchina in 1771, weakening the Nguyễn Lords. Trịnh Sâm attacked the Đàng Trong realm and captured Thuận Hóa in 1774. Royal Guards rebellion (1782-1784) after Trịnh Sâm's death led to unrest. Tây Sơn troops under Nguyễn Huệ began northern campaign, captured Thăng Long in 1786. |
| | Mẫn Hoàng đế (愍皇帝) | Lê Duy Kỳ (黎維祁) | Son of Crown Prince Lê Duy Vĩ of Emperor Hiển Tông | 1786–1789 (26) | Chiêu Thống (昭統) | Hoa Dương lăng | Enthroned under Nguyễn Huệ's supervision. Defeated pro-Trịnh forces with help of warlord Nguyễn Hữu Chỉnh. A second Tây Sơn northern campaign captured Thăng Long in 1787. Chiêu Thống sought help from the Qing dynasty but was defeated in the Battle of Ngọc Hồi-Đống Đa in 1789. Went to asylum and died in Beijing in 1793. |