longest-lived emperor of Yuan China after Kublai Khan. At the time of his death, the Northern Yuan maintained its influence, stretching the domination from the Sea of Japan to the Altai Mountains. There were also pro-Yuan, anti-Ming forces in Yunnan and Guizhou. Even though its control over China proper had not been stable yet, the Ming considered that the Yuan lost the Mandate of Heaven when it abandoned Khanbaliq, and that the Yuan was overthrown in 1368. The Ming did not treat Toghon Temür after 1368 and his successor Ayushiridara as legitimate emperors. The Ming gave Toghon Temür the posthumous name Emperor Shun (順皇帝), which implied that he followed the Mandate of Heaven ceding his empire to the Ming. But the Northern Yuan dynasty gave him their own posthumous name Emperor Xuanren Puxiao (宣仁普孝皇帝) and temple name Huizong (惠宗). Even after Toghon Temür, there was still Yuan resistance to the Ming in the south. In southwestern China, Basalawarmi, the self-styled "Prince of Liang", established a Yuan resistance movement in Yunnan and Guizhou that was not put down until 1381. Legacy Mongolian chronicles such as the Erdeniin Tobchi include a poem known as the Lament of Toghon Temür. It deals with his grieving after the loss of Khanbaliq (Beijing). Family Consorts and their respective issue(s): First Empress Consort: Empress Danashiri (答纳失里皇后) (1320 – 1335), of the Kipchak tribe (钦察部人), daughter of El Temür Prince Maha (摩訶王) (12 May 1334 – 23 November 1334) Second Empress Consort: Empress Bayan Khutugh (伯颜忽都皇后) (1324 – 1365), of the Hongjila clan (弘吉剌氏) from Onggirat, daughter of Bolod Temür Prince Zhenjin (真金) Prince Xueshan (雪山) Third Empress Consort: Empress Gi (奇皇后) (1315 – 1369) of the Korean Haengju Gi clan (幸州 奇氏) Emperor Zhaozong of Northern Yuan (北元昭宗) (23 January 1340 – 28 April/26 May 1378) Miscarriage at 4 months in 1347. Pure Consort, of the Chinese Long clan (淑妃 龍氏), personal name Ruijjao (瑞嬌) Pure Consort, of the Cheng clan (淑妃 程氏) (1333 – 1368), personal name Yining (一寧) Consort, of the Korean Gyoha No clan (妃交河盧氏) Pure Consort, of the Ge clan (淑妃 戈氏), personal name Xiaoge (小娥) Concubine Li (麗嬪), of the Zhang clan (張氏), personal name Ayuan/Axuan (阿元/阿玄) Talented Lady (才人), of the Ning clan (凝氏), personal name Xiang'er (香兒) Unknwon Emperor Tianyuan of Northern Yuan (兀思哈勒汗, b. 1342) In popular culture Portrayed by Lee Suk-koo in the 2005–2006 MBC TV series