The city of Ouarzazate was founded in the 11th century, but the modern city began to be built in the 1930s.