Kasbah: A kasbah or qassabah is a type of medina, Islamic city, or fortress (citadel).
It was a place for the local leader to live and as a defense when the city was under attack. A kasbah has high walls which usually have no windows. Sometimes, they were built on the top of hill to make them easier to defend. Some of them were also placed near the entrance of harbors.
Having a kasbah built was a sign of wealth of some families in the city. Almost all cities had their kasbah, this building being something necessary for the city to survive. When colonization started in 1830, in northern Algeria, there were a great number of kasbahs that lasted for more than 100 years.