Mohammed ash-Sheikh
In 1549, the new ruler of Morocco, Mohammed ash-Sheikh successfully ousted the Wattasid sultan Ali Abu Hassun, the latter ruled only over Fes and its region and had just declared himself a vassal of the Ottomans. ash-Sheikh even captured Tlemcen ending the Abdelwadid dynasty rule over the city. He was now advancing further east in Algeria and attacked the Ottoman Turks. This triggered an Ottoman counterattack, who recaptured Tlemcen in 1552 and advanced to Fes where they reestablished the Wattasid king Ali Abu Hassun in 1554, in turn he rewarded them with the port of "Badis" on the Mediterranean coast, which had been previously captured from the Spanish in 1522. But this lasted only a few months as in September 1554, Mohammed ash-Sheikh recaptured Fes and defeated Abu Hassun and his Ottoman allies, in the battle of Tadla.