Safi, Morocco The Portuguese fortress built to protect the city is still there today. After 1541, the city played a major role in Morocco as one of the safest and biggest seaports in the country. Many ambassadors to the Saadian and Alaouite kings during the 16th–18th centuries came to Morocco via Asfi; its proximity to Marrakech, then capital of Morocco, helped expand the maritime trade in the city. Louis De Chénier, consul of the French court in Morocco in 1767, reported that the city was the only usable seaport at the time. A French Navy captive, Bidé de Maurville, who wrote the
Morocco to Morocco after the Abbasids' massacre of his tribe in Iraq. He convinced the Awraba Berber tribes to break their allegiance to the distant Abbasid caliphs in Baghdad and he founded the Idrisid dynasty in 788. The Idrisids established Fes as their capital and Morocco became a centre of Muslim learning and a major regional power. The Idrissids were ousted in 927 by the Fatimid Caliphate and their Miknasa allies. After Miknasa broke off relations with the Fatimids in 932, they were removed from power by the Maghrawa of Sijilmasa in 980. From the 11th century onwards, a series of