In 1307 when Temür Khan died, he returned eastward to Karakorum and watched the situation. Temür's widow Bulugan of the Bayaud tribe had kept away the Khunggirad-mothered brothers of Khayishan and Ayurbarwada and attempted to set up Ananda, a Muslim cousin of Temür, who was the prince of An-hsi. Her alliance was supported by some senior officials of the Secretariat under Aqutai. They made Bulugan regent and intended to put Ananda on the throne. Ananda was a popular prince who successfully protected the province of the Yuan against the Ögedeid and Chaghatayid armies and had a bulk of the imperial army under him in An-hsi. But he lacked of military power in the imperial capital city and was a Muslim opposed to the majority of the Yuan Mongols.