Liáng
Liang was the Yuan appanage in Yunnan governed by Mongol princes of the Borjigin house, descendants of Kublai's son Khökhechi. Its princes governed native chieftains, including the Duan of Dali.
After the Ming expelled the Yuan from China proper in 1368, Prince Basalawarmi remained loyal to the Northern Yuan and executed Ming envoy Wang Wei in 1374. In 1381 the Hongwu Emperor sent Fu Youde, Mu Ying and Lan Yu against him. Defeated, Basalawarmi drowned his wife and killed himself in 1382; the Ming subdued the Duan at Dali by 1383.