A kasbah is a fortified citadel or Islamic city found in North Africa and the Middle East, built by Berbers and Arabs from the 7th century AD onward. In Morocco, kasbahs serve as central structures within fortified towns and strongholds. They were residences, centers of commerce, and sometimes solely used for defense. Kasbahs vary in size and appearance, inspiring artists with their graceful architecture. Some kasbahs have been converted into hotels or museums, while others remain well-preserved as national monuments and tourist attractions. The renowned Ksar of Ait-Ben-Haddou, located in Morocco, has appeared in famous films like Lawrence of Arabia and Gladiator.