During the Ming conquest of Yunnan, Muslim Generals Mu Ying and Lan Yu, led Muslim troops loyal to the Ming dynasty against Mongol and Muslim troops loyal to the Yuan dynasty.