At the beginning of the first millennium, the Ibadis created in the M'Zab, with local materials, a vernacular architecture which, with its perfect adaptation to the environment and the simplicity of its forms, is an example and an influence for contemporary architecture and town-planning.