quality:correction
Background

From the mid-1300s, Đại Việt faced serious troubles that damaged much of the kingdom. The fourteenth century ecological breakdown led to a social crisis as the ruling Trần dynasty weakened. Even in the capital, Thăng Long, turmoil broke out in 1369–70, provoking a princely coup and a short, bloody civil war. From the south, the Chams under Chế Bồng Nga repeatedly fought against Đại Việt, and even sacked Thăng Long in 1371. In 1377 Champa defeated and killed Đại Việt's king Trần Duệ Tông in a battle near Vijaya, then marched north and against sacked Thăng Long four more times from 1378 to 1383. The repeated destruction of a radical intellectual and reformer, Hồ Quý Ly (c. 1336 – 1408). In 1399 Hồ Quý Ly deposed the Trần royal family and declared himself as ruler of Đại Việt. This provoked a response from the Ming dynasty, who invaded Vietnam under the pretext of restoring the deposed Trần dynasty. In 1406 215,000 Chinese troops crossed the border commanded by generals Zhang Fu and Mu Sheng; they quickly defeated Hồ Quý Ly's army, conquered Vietnam, and renamed the country Jiaozhi.

The Ming Chinese began building up their colonial administration in Jiaozhi Province, encouraging the Ming Confucian ideology, bureaucratic and Classic Chinese study to the local people, forced the Vietnamese to wear Chinese clothes and adopt Chinese culture. 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. Between 1415 and 1424, 31 uprising and revolt leaders against the Ming emerged in Lạng Giang, Nghệ An, Hanoi, Ninh Kiều, Lạng Sơn and other prefecture capitals where the Ming troops were stationed.