The Fourth Era of Northern Domination () was a period of Vietnamese history, from 1407 to 1428, during which Ming-dynasty China ruled Vietnam as the province of Jiaozhi (Giao Chỉ). The Ming established their rule in Vietnam following their conquest of the Hồ dynasty in 1406–1407. (The previous periods of Chinese rule in the Vietnamese lands, collectively known as Bắc thuộc, lasted much longer and amounted to around 1000 years.) The fourth period of Chinese rule over Vietnam eventually ended with the establishment of the Lê dynasty in April 1428.

History Ming conquest of Đại Ngu

In mid-late 14th century, the kingdom of Đại Việt (north Vietnam) faced a series of troubles resulting in an ecological breakdown. This led to the rising of a radical intellectual and reformer, Hồ Quý Ly (c. 1336 – 1408). In 1400, Hồ Quý Ly deposed and massacred the Trần house before usurping the throne. After taking the throne, Hồ Quý Ly renamed the country from Đại Việt to Đại Ngu. In 1402, he abdicated the throne in favor of his son, Hồ Hán Thương.

In October 1404, Trần Thiêm Bình arrived at then Ming imperial court in Nanjing, claiming to be a Trần prince. He notified the court of the treacherous events that had taken place and appealed to the court for the restoration of his throne.

The Yongle Emperor of the Ming Empire issued an edict reprimanding the usurper and demanding the restoration of the Trần throne. As the party crossed the border into Lạng Sơn, Hồ's forces ambushed them and killed the Trần prince that the Ming convoy were escorting back.

Upon hearing the news, Yongle reportedly said "If we do not destroy them, what are armies for?". Yongle, who inherited some interests in the world empire, sent additional forces to punish Hồ Quý Ly. In November 1406, 215,000 Ming troops under skilled generals Zhang Fu and Mu Sheng departed from Guangxi and Yunnan respectively to launch an invasion of Đại Việt. On 19 November 1406, they captured the two capitals and other important cities in the Red River Delta. They quickly defeated Hồ Quý Ly's army and occupied the country. Hồ Quý Ly and his son were captured on 16 June 1407, and were caged and brought as prisoners to the Yongle Emperor in Nanjing. After his initial campaign in Vietnam, Zhang Fu sent a letter urging the Chinese court to annex Đại Việt and rule it as a province of China:

Furthermore, Zhang Fu wrote that 1,100 members of the Vietnamese elite requested that they be absorbed and assimilated, again into the Chinese state. The Ming's ethnic Vietnamese collaborators included Mac Thuy whose grandfather was Mạc Đĩnh Chi who was a direct ancestor of Mạc Đăng Dung. The Chinese then renamed the Vietnamese land to a Han-era name Jiaozhi and incorporated the former kingdom into their empire.

Revolt of Trần royals

The Chinese army turned into an occupation force. Despite support from some sectors of Vietnamese society, ongoing local resistance forced the Ming to retreat. There were several revolts among the Vietnamese people against the Ming authorities, but they all proved unsuccessful. Among the people who led rebellions were, Trần Ngỗi (revolted 1407–09), a young son of the late king Trần Nghệ Tông and Trần Quý Khoáng, a nephew. These revolts were short-lived and poorly planned but they helped lay some of the groundwork for Lê Lợi's war of independence.

After the defeat of the Trần-led revolts, between 1415 and 1424, leaders of the uprising included Buddhist monks inspired by Vietnamese nationalism emerged in Lạng Giang, Nghệ An, Hanoi, Ninh Kiều, Lạng Sơn and other prefecture capitals where Ming troops were stationed. In the meantime, anti-Chinese activists used the heroic deeds of their martyrs to support Vietnamese patriotism and keep up the struggle against their colonial masters.

Lam Sơn uprising

Lê Lợi, one of Vietnam's most celebrated heroes, is credited with rescuing the country from Ming domination in 1428. Born of a wealthy landowning family, he served as a senior scholar-official until the advent of the Ming, whom he refused to serve.

The Ming dynasty crushed Lê Lợi's rebellion at first but in 1425, the Ming Emperor Zhu Zhanji expressed his opinion that it would be better to restore the Trần dynasty and return to the old tributary relationship as Ming rule in Vietnam was a net financial loss for the Ming and there were more pressing concerns on the northern border. When in 1426, Zhang Fu requested permission to resume command of Ming Jiaozhi army to deal with the worsening situation there, the emperor refused. In 1426, Zhu Zhanji proclaimed a general amnesty and abolished all taxes in Giao Chi except for land taxes to be paid in rice, needed to supply Ming garrisons. In early November 1426, Lê Lợi's 3,000 Vietnamese rebels achieved a surprise victory over the Ming army led by Wang Tong with about 30,000 Chinese soldiers killed or captured in Tốt Động (32 km south of Hanoi). People in the Red River Delta welcomed and supported the Lam Son army where they came.

By 1427, captured northern prisoners also furnished the rebels with siege techniques, primitive tanks, flying horse carts, Muslim trebuchets (hui hui pao, ), and possibly another artillery piece that the Chinese called a "thousand-ball thunder cannon". The Xuande Emperor of the Ming dynasty decided to end the war in Northern Vietnam. After this final victory, the Vietnamese repatriated 86,640 Ming prisoners to China and confiscated all their weapons. China would not again invade its southern neighbor for 360 years. Lê Lợi formally re-established Đại Việt as the Xuande Emperor of the Ming Empire officially recognized Lê Lợi as the king of Annam. In return, Lê Lợi sent diplomatic messages to the Ming imperial court, promising Vietnam's loyalty as a nominate tributary state of China and cooperation. The Ming imperial court accepted this arrangement, much as they accepted the vassal status of Korea under the Joseon dynasty. The case of Vietnamese monarch Lê Lợi showed that it was possible to satisfy Chinese pride while maintaining political independence.

Military and administration The Ming Chinese built up their colonial administration in Jiaozhi Province. In July 1407, Yongle changed the name of Annam to Jiaozhi – an old Han dynasty designation – and made it a province of China. The provincial government included an administrative office, a surveillance office and a regional military commissioner was established, with Lu Yi (d. 1409) as its military commissioner and Huang Zhong as vice-commissioner. Huang Fu was appointed as both provincial administrator and surveillance commissioner. The Ming seized the kingdom's grain reserves of 13.6 million piculs of rice. The province was further divided into fifteen prefectures, 41 subprefectures and 210 counties. By 1408, 472 military and civil offices had been established to govern over three million people and in excess of two million man (barbarians), and the number of offices peaked at about 1,000 in 1419. In major towns and cities throughout the occupied regions had moats and walls added, and troops alternated between defence and farming duties to provide their own food needs. The Ming occupying army of Jiaozhi consisted of 87,000 regulars, scattered in 39 citadels and towns in Northern Vietnam, but clustered in the Red River Delta area.

Chinese armies had employed firearms before the fifteenth century, but they came to possess superior weapons from Annam during the Vietnamese campaigns of the early fifteenth century. They also captured one of the leading Vietnamese firearms experts, Hồ Nguyên Trừng (1374–1446), the eldest son of Hồ Quý Ly, who was charged with manufacturing their superior muskets and explosive weapons. The Artillery Camp was thus built around these Vietnamese firearm specialists, who instructed Ming soldiers under the supervision of palace eunuchs. The first record of firearm usage in Đại Việt was in 1390 when Vietnamese soldiers used cannons and killed the Cham king Chế Bồng Nga.

The Ming government enjoyed some support from the Vietnamese, at least in the capital of Thăng Long, but their efforts to assert control in the surrounding countryside were met with stiff resistance. A general popular dissatisfaction with the colonial arrangement seems clear.

Ming governors Provincial administrator (, ) Huang Fu (, ) 1407–1424 Chen Qia (, ) 1424–1426 Surveillance and prosecution commissioner (, ) Huang Fu 1407–1424 Chen Qia 1424–1426 Military commissioner (, ) Lü Yi (, ) 1407–1409 Commanding officer (, ) Zhu Neng (, ) Sep–Dec 1406 Zhang Fu (, ) 1407–1417 Mu Sheng (, ) 1408–1415 Li Bin (, ) 1417–1422 Wang Tong (, ) May 1426–June 1428 Liu Sheng (, ) 1427

Sinicization An entry in the Ming Shilu () dated 15 August 1406 recorded an imperial order from Emperor Yongle that instructed for Vietnamese records such as maps and registers to be saved and preserved by the Chinese army:In addition, according to Yueqiaoshu (, ), a source written nearly 2 centuries after the events described, on August 21, 1406, the Yongle Emperor issued an order to Ming soldiers in Annam:"Once our army enters Annam, except Buddhist and Taoist text; all books and notes, including folklore and children book, should be burnt. The stelae erected by China should be protected carefully, while those erected by Annam, should be completely annihilated. Do not spare even one character."On the 21st day of the 5th lunar month of the following year, Emperor Yongle issued another order to Ming soldiers in Annam:"I have repeatedly told you all to burnt all Annamese books, including folklore and children books and the local stelae should be destroyed immediately upon sight. Recently I heard our soldiers hesitated and read those books before burning them. Most soldiers do not know how to read, so it will be a waste of our time. Now you have to strictly obey my previous command, and burn all local books upon sight without hesitation.

The Chinese colonists promoted Ming Confucian ideology, bureaucratic practices, and Classical Chinese study among the local Vietnamese people, forcing them to wear Chinese-style clothes. The Ming forbade local customs such as tattooing, unmarried boys and girls wearing short hair, and women wearing short skirts, in "order to change customs in conformity with the north." Cultural incorporation was pursued with the new Jiaozhi administration advising the Ming court:

The yi people of Annam venerate the law of the Buddha, but do not know to worship or sacrifice the spirits. We should establish altars for sacrifice to the spirits of the wind, clouds, thunder and rain... so that the people become familiar with the way to express gratitude to the spirits through sacrifice.

In 1416, a large number of Confucian school, Yin-yang schools and medical schools were established within the province. Examinations for local bureaucracy were formalised in 1411. Chinese mourning rites and mourning leave were instituted among the official of Jiaozhi in 1419. For the first time, Đại Việt experienced the sustained influence of Neo-Confucian ideology, which not only included the traditional doctrines of filial piety but also demanded an "activist, state-oriented service" based on officials' absolute loyalty to the dynasty and on the moral superiority of the "civilized" over the "barbarian" as the Ming viewed the Vietnamese as barbarians. Yongle brought Vietnamese students to the National Institution at the Ming capital and appointed more natives to the minor local offices in Jiaozhi. The Ming also destroyed or brought to the north many Vietnamese vernacular writing, historical and classic texts.