Moroccan city, its not a muslim city, muslims live there but were not in the medieval period.
Its not a great city tbh, I felt unsafe in alot of areas and a target like many tourists are there, getting constantly hassled and all the usual stuff you expect when you are in a muslim majority country, haggling, ogling, staring. Essaouira was nice but that was it, I managed to take about 20 photos my whole time there, I normally take that many of my dog if hes on a beach, I have never heard anyone say its a great city, just the usual complaints about haggling, being hastled into buying objects and people getting food poisoning.