A "kasbah" in the context of Maghrebi region is the traditional military structure for fortification, military preparation, command and control. Some of them were occupied as well by citizens, certain tribal groups, and merchants.