A kasbah or Qasbah or qassabah is a type of medina, Islamic city, or fortress (citadel).
It was a place for the local leader to live and a defense when a city was under attack. A kasbah has high walls, usually without windows. Sometimes, they were built on hilltops so that they could be more easily defended. Some were placed near the entrance to harbors.