sentences:  All of which exacerbated by a context of chaos that ensued a plague pandemic which left a third of the country dead, the end of the Anglo-Spanish war (Treaty of London (1604)) —which broke the Anglo-Dutch axis that Morocco was relying upon as a means of protection from Spain, and so caused the Spanish navy to resume devastating raids on the Moroccan coast— and the rebellion of one of his provincial governors who established his own independent republic between Azemmour and Salé.He was the son and appointed heir of Ahmad al-Mansur, and resided mostly in Safi where he became encircled after being driven out of Marrakesh and failed military campaigns against the rebellious brother in the north.During the reign of Zidan, after the death of Sultan Ahmed al-Mansur in 1603, Morocco fell into a state of anarchy, with the Sultan losing much of his authority and leaving  Salé a sort of independent Republic.