In 1556–1557 troops of Mulay Muhammad al-Shaykh, the sultan of Marrakesh, captured the salt mines of Taghaza but then withdrew.[11] Soon after his accession in 1578 Sultan Ahmad I al-Mansur of Morocco demanded the tax revenues from the salt mines.