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 16-th 18-th centuries came to Morocco via Asfi; its proximity to Marrakech, then capital of Morocco, helped expand the maritime trade in the city.