Morocco: history in brief
A land at Africa's edge where Roman Volubilis stands near Fez, home of the oldest working university, and the cradle of the Almoravid and Almohad empires.
Test yourself
Which came first?
History in brief
Ancient world Phoenicians founded Lixus, and the Berber king Juba II (25 BC–AD 23), married to Cleopatra's daughter, ruled these lands. Volubilis flourished as a Roman town of the province of Mauretania Tingitana.
Middle Ages In 788 the Idrisid state arose, and Fez was founded around 789–808. In 859 Fatima al-Fihri founded the al-Qarawiyyin mosque and school. In 1070 the Almoravids founded Marrakesh, and Ibn Battuta was born in Tangier in 1304.
Early modern & modern era In 1578 King Sebastian of Portugal died at Ksar el-Kebir, and Morocco kept its independence. The Alaouite dynasty has ruled since 1666, and in 1777 Sultan Mohammed III was the first ruler to recognise US independence.
Contemporary era In 1956 Morocco regained independence. In 1984 Nawal El Moutawakel became the first woman from a Muslim-majority country to win Olympic gold, and in 2022 the football team reached the World Cup semi-final, the first from Africa.
Interesting facts

- The University of al-Qarawiyyin in Fez (859) is recognised as the world's oldest continuously operating educational institution.
- Ibn Battuta left Tangier on the hajj in 1325 and came back almost 30 years later, having covered about 120,000 km.
- In 1777 Morocco's sultan was the first to publicly recognise US independence, and a treaty of friendship was signed in 1786.
- The Koutoubia minaret in Marrakesh, about 77 m tall, was built in the 12th century and became a model for Seville's Giralda.
- Nawal El Moutawakel won the 400 m hurdles at the 1984 Los Angeles Olympics.
Key moments
- 789Fez foundedFounded by Idris I, the city's old medina is now one of the largest car-free urban areas in the world.
- 859Al-Qarawiyyin founded in FezFounded by Fatima al-Fihri, it is often called the oldest university in the world still in operation.
- 1325Ibn Battuta sets outOver almost 30 years the traveller from Tangier covered about 120,000 km, from Africa to China.
5 questions of the day Where was it? Timeline
Eras
- Ancient worldbefore 476 · 178 events
- Middle Ages476–1491 · 206 events
- Early modern & modern era1492–1913 · 251 events
- Contemporary era1914 onwards · 217 events
History of countries
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua and Barbuda
Argentina
Armenia
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Brazil
Brunei
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Central African Republic
Chad
Chile
China
Colombia
Comoros
Costa Rica
Croatia
Cuba
Cyprus
Czechia
Denmark
Djibouti
Dominica
Dominican Republic
DR Congo
East Timor
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Eswatini
Ethiopia
Fiji
Finland
France
Gabon
Gambia
Georgia
Germany
Ghana
Greece
Grenada
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Honduras
Hungary
Iceland
India
Indonesia
Iran
Iraq
Ireland
Israel
Italy
Ivory Coast
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Mauritania
Mauritius
Mexico
Micronesia
Moldova
Monaco
Mongolia
Montenegro
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
New Zealand
Nicaragua
Niger
Nigeria
North Korea
North Macedonia
Norway
Oman
Pakistan
Palau
Palestine
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Poland
Portugal
Qatar
Republic of the Congo
Romania
Russia
Rwanda
Saint Kitts and Nevis
Saint Lucia
Saint Vincent and the Grenadines
Samoa
San Marino
São Tomé and Príncipe
Saudi Arabia
Senegal
Serbia
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Korea
South Sudan
Spain
Sri Lanka
Sudan
Suriname
Sweden
Switzerland
Syria
Tajikistan
Tanzania
Thailand
Togo
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
Uruguay
Uzbekistan
Vanuatu
Vatican City
Venezuela
Vietnam
Yemen
Zambia
Zimbabwe
Spotted a mistake or a disputed fact? Write to us and we will check and fix it: [email protected]