In 1208 he was the last of the various governing Almohad Valis of Majorca who were appointed from Marrakech. In Majorca Abu-Yahya created a semi-independent princedom, with only a formal submission to the Almohad emir. He ruled the island and the entire Balearic archipelago in the name of the Almohad Empire until James I of Aragon conquered it in 1229 during the conquest of Majorca.
