The Prince of Liang, Basalawarmi established a separate pocket of resistance to the Ming in Yunnan and Guizhou, but his forces were decisively defeated by the Ming in 1381. By 1387 the remaining Yuan forces in Manchuria under Naghachu had also surrendered to the Ming dynasty. The Yuan remnants retreated to Mongolia after the fall of Yingchang to the Ming in 1370, where the name Great Yuan (大元) was formally carried on, and is known as the Northern Yuan dynasty.
