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
History of Morocco Abbasid successors managed to re-impose their rule on the areas west of Ifriqiya. Morocco passed out of Umayyad and Abbasid control, and fragmented into a collection of small, independent Berber states such as Berghwata, Sijilmassa and Nekor, in addition to Tlemcen and Tahert in what is now western Algeria. The Berbers went on to shape their own version of Islam. Some, like the Banu Ifran, retained their connection with radical puritan Islamic sects, while others, like the Berghwata, constructed a new syncretic faith. The Barghawatas were a confederation of Berber groups inhabiting the Atlantic coast of Morocco, who belonged to