After the primary empress Danashiri was executed on 22 July 1335 in a purge because of the rebellion of her brother Tang Ki-se.[12] When Toghon Temür tried to promote Lady Gi to secondary wife, which was contrary to the standard practice of only taking secondary wives from the Mongol clans, it created such opposition at court to this unheard of promotion for a Goryeo woman that he was forced to back down.[1] Toghon Temür tried to install Lady Gi as the empress. However Bayan, who held real power, opposed it and also Empress Dowager who thought she was incredibly smart and dangerous and that scared which led her poisoned the mind of Bayan. In 1339, when Lady Gi gave birth to a son, whom Toghon Temür decided would be his successor, he was finally able to have Lady Gi named as his secondary wife in 1340.[1] As the favorite wife of the emperor, Lady Gi was a very powerful woman in Yuan.