Dali
Dali was the Bai homeland around Taihe on Lake Erhai, where the Duan clan had founded a kingdom in 937. In 1337 Duan Guang governed it as a hereditary governor-general under Mongol rule.
Duan Gong married a daughter of the Prince of Liang, but the Mongols killed him after growing suspicious of his power. When the Ming invaded Yunnan in 1381, Duan Shi offered tribute but refused to submit. Lan Yu and Mu Ying took Dali in 1382; Dengchuan fell in 1383 and the Duan were taken to Nanjing.