Note: Old walled city; important medieval merchant port; became base for Barbary pirates in 17th century and bombarded by Europeans; site of many mosques and mausoleums; most venerated sanctuary is tomb of Sīdī 'Abd Allāh ibn Hasan, the city's patron saint.