Founded in the 11th century, it is one of the royal cities of the Kingdom of Morocco, and is now the fifth largest city in Morocco. Located on the northern slope of the Central Atlas Mountains, it was the capital from the 17th to the 18th century. It is the industrial and commercial center of Morocco and an important distribution center for olives, citrus, and grapes. The secular buildings in the city are rich in neoclassical or romantic styles. The ancient city has numerous religious buildings, luxurious and magnificent decorations, exquisite paintings, and a classical art style, which is a concrete manifestation of European Christian art in South America.