Muhammad III took the throne after his father's death in 1302; Fatima appeared to maintain a good relation with his brother and her husband remained the governor of Málaga throughout his reign.[19] Muhammad III was deposed in 1309 by a palace revolution in Granada, and replaced by Nasr.[16] Unlike with Muhammad III, Fatima and her husband had poor relations with her half-brother.[19][9] As his rule grew unpopular, she allied herself with factions seeking to overthrow him.[9] Her husband Abu Said led a rebellion in 1311, seeking to enthrone their children Ismail.[20][21] The rebellion was declared in the name of Ismail, because as Fatima's son he was a grandson of Muhammad II and was therefore seen as having better legitimacy than his father.[21] Their forces defeated that of the Sultan in battle, but Nasr managed to retreat to Granada despite the loss of his horse.[20] Abu Said besieged the capital but lacked supplies for a protracted campaign. Upon discovering that Nasr had allied himself with Ferdinand IV of Castile, Abu Said sought peace with the sultan and was able to retain his post as governor of Granada but paid tribute to Nasr.[20]