 During the Ottoman Siege of Oran (1556), Mohammed ash-Sheikh, who was allied with the Spanish, managed to capture Tlemcen from the Ottomans.With the final victory of the Saadi and the death of Ali Abu Hassun in 1554, the war was decided.Mohammed ash-Sheikh was assassinated by the Ottomans in 1557 by order of Hasan Pasha, son of Barbarossa, as he was preparing for an alliance with Spain against the Ottomans.