What is the latest opportunity for a polity having most of the Maghreb under their control, stretching from Marrakesh to Tunis? Both the Marinids and Hafsids attempted to do so, although neither succeeded. Ismail Ibn Sharif also tried to attack Ottoman Algeria, but also failed. Is it even possible for the Maghreb to be unified following the Ottomans establishing a foothold in the region?