Later Trần dynasty

[3] The Ming emperor ordered Mu Sheng mobilized 40,000 from Yunnan, Guangxi, Guizhou and Sichuan to repress the rebellion, but was utterly defeated by Tran Ngoi's guerrilla bands.

[4] Yongle emperor, being preoccupied with the Mongol wars, appointed Zhang Fu to replace Mu Sheng on February 23, 1409.

Mobilizing 8,600 boats he had captured in 1407, along with 47,000 troops, Zhang Fu overwhelmed Tran Ngoi's 20,000 men and 600 ships in a naval battle in September 1409.

Zhang Fu was ordered to return Jiaozhi to suppress the Vietnamese, and learned that Tran Quy Khoang had high ambitions in that part of the world and would not allow the Ming emperor to dictate the destiny of his people.

[7] On August 6, the Ming army under general Zhang Sheng won fiercely battle in Thanh Hóa, sank 160 vessels, captured 120 boats and killed hundreds of thousands of Vietnamese.