明宣宗
The Xuande Emperor wanted to withdraw his troops from Việt Nam, but some of his advisors disagreed. After Ming garrisons suffered heavy casualties, the emperor sent Liu Sheng with an army. These were badly defeated by the Vietnamese. The Ming forces withdrew and the Xuande Emperor eventually recognized the independence of Việt Nam. In the north, the Xuande Emperor was inspecting the border with 3,000 cavalry troops in 1428 and was able to retaliate against a raid by the Mongols of the Northern Yuan dynasty. The Ming government let Arughtai's Eastern Mongols battle with Toghon's Oirat tribes of the west. The Ming imperial court received horses annually from Arughtai, but he was defeated by the Oirats in 1431 and was killed in 1434 when Toghon took over eastern Mongolia. The Ming government then maintained friendly relations with the Oirats. China's diplomatic relations with Japan improved in 1432. Relations with Korea were generally good with the exception of the Koreans resenting having to send virgins occasionally to the Xuande Emperor's imperial harem.