who took the title of sultan Muhammad IV. Immediately upon Sidi Muhammad's ascension to throne in August 1859, Spain declared war on Morocco, culminating into the Hispano-Moroccan War in which Spain sent troops to Ceuta in order to capture Tetuan. See also List of Sultans of Morocco History of Morocco 'Alawi dynasty Emir Abdelkader Battle of Isly References Biography External links Morocco Alawi dynasty History of Morocco Travel in Morocco IterancePlus (English/français) Smara, Morocco history (en français) Historical Dictionary of Morocco 1778 births 1859 deaths 18th-century Arabs 19th-century Arabs 18th-century Moroccan people 19th-century Moroccan people 19th-century monarchs in Africa 'Alawi dynasty monarchs 'Alawi dynasty People from Fez, Morocco People from Marrakesh People from Meknes