The Capture of Fez occurred in 1576 at the Moroccan city of Fez, when an Ottoman Empire force from Algiers supported the Moroccan prince Abd al-Malik in gaining the throne of Morocco against his nephew and rival claimant Mulay Muhammed al-Mutawakkil.