A kasbah is a fortress of Berber origin. It usually consisted of towers and a walled complex, inside which houses were situated. Kasbahs protected against possible enemy attacks, providing refuge to people and domestic animals.