Marrakesh, the 'red pearl' of Morocco was founded by Yusuf ibn Tashfin in 1062. It is one of the country's four Royal Cities. Up to the beginning of the 20th century, the city was a trading centre for both the north of Morocco and the Sahara and the monarchs of various dynasties made Marrakesh their capital city.