sentences:  Morocco was in a state of civil war with warlords such as Ahmed ibn Abi Mahalli in the South and Sidi al-Ayachi in the North taking territory from Zidan.The Spanish also seized the opportunity to capture the cities of Larache in 1610 and then al-Ma'mura.Muley Zidan established friendly relations with the Dutch Republic, with the help of envoys such as Samuel Pallache.