Morocco is one of the oldest states in the Islamic world. A series of dynasties has ruled it since the eighth century, and the present royal family, the Alaouites, has been on the throne since the 1660s. Unlike the rest of North Africa, it was never part of the Ottoman Empire. Its position on the Strait of Gibraltar, facing both the Mediterranean and the Atlantic and backed by the Sahara, has made it a bridge between Africa, Europe and the Arab world.
Berbers, Phoenicians and Romans
The Amazigh, or Berber, peoples have lived in Morocco since prehistoric times. Phoenician and Carthaginian traders founded ports on the coast, and the Berber kingdom of Mauretania, known from about 225 BCE, became a Roman client. Rome annexed it in 40 CE as Mauretania Tingitana, with cities such as Volubilis, whose ruins survive. Christianity reached the province in Roman times. After the Arab conquest at the end of the seventh century, many Berbers converted to Islam while keeping their customary law and paying taxes and tribute to the new rulers, until in 739 they rose against Umayyad rule in the Great Berber Revolt.
The Idrisids and Fez
In 788 Idris ibn Abdallah, a descendant of the Prophet Muhammad through Hasan ibn Ali who had fled the Abbasids after a massacre of his family in Arabia, persuaded the Awraba Berbers to reject the caliph's authority and founded the Idrisid dynasty, the first Moroccan Islamic state. His son Idris II developed Fez, which became a great religious and intellectual centre; the Qarawiyyin mosque and university, founded in 859 by Fatima al-Fihri, is often called the oldest continuously operating university in the world.
The Berber empires
From the eleventh to the fifteenth century, Berber dynasties built empires. The Almoravids, from the Sahara, founded Marrakesh around 1070 and ruled Morocco and al-Andalus. The Almohads, from the Atlas, replaced them in 1147 and ruled from Morocco to Tunisia. The Marinids, a Zanata Berber dynasty, took Marrakesh in 1269, made Fez their capital and built beautiful madrasas, such as the Bou Inania. Ibn Battuta, born in Tangier in 1304, travelled the world in the Marinid era. The Wattasids followed the Marinids.
The Saadis
The Saadis, an Arab dynasty of sharifs from the Draa valley who claimed descent from the Prophet, took power from the Wattasids in the first half of the sixteenth century. In 1578 at the Battle of the Three Kings, or Alcácer Quibir, they defeated a Portuguese invasion, killing King Sebastian of Portugal and ending his royal line. Sultan Ahmad al-Mansur, "the victorious", grew rich from ransoms and sugar, built the El Badi palace in Marrakesh and, in 1591, sent an army across the Sahara that defeated the Songhai Empire at Tondibi and took Timbuktu and Gao, though holding lands across the desert proved too hard. He corresponded with Elizabeth I of England. After his death the country fell into quarrels among local rulers.
The Alaouites
The Alaouites, another family of sharifs, from Tafilalt, took power in the 1660s: Mawlay al-Rashid took Fez in 1666 and Marrakesh in 1668 and reunited the country. Moulay Ismail, who ruled from 1672 to 1727, built a strong state, with a centralised administration, a working tax system and a large army of enslaved Black soldiers, the Abid al-Bukhari, loyal to the sultan rather than to any tribe, and a vast palace complex at Meknes. He expelled the English from Tangier in 1684 and the Spanish from several ports. Muhammad III, who died in 1790, stressed the dynasty's sharifian status and its role as defender of Muslims against European encroachment. In 1777 he declared American ships under his protection, often counted as the first recognition of the United States, and a treaty of peace and friendship followed at Marrakesh in 1786; in 1821 Sultan Mawlay Suleiman gave the Americans a building in Tangier, the first property the United States owned abroad.
Colonial rule
In the nineteenth century, France, Spain and Britain competed for influence, and a war with Spain in 1859 and 1860 left the treasury bankrupt. France and Spain agreed zones of influence in 1904; German objections led to crises in 1905 and 1911, the first settled at the Algeciras Conference of 1906. The Treaty of Fez in 1912 made Morocco a French protectorate, with Spain controlling the north and the far south. The French resident-general, Hubert Lyautey, kept the sultan as a figurehead and built new European cities beside the old medinas, while tens of thousands of settlers bought farmland and developed mines and ports. In the Rif War of 1921–1926, the Berber leader Abd el-Krim defeated a Spanish army at Annual in 1921, killing more than 13,000 soldiers in the rout, and declared a Rif Republic with its own administration, roads and telegraph, before 1925 brought a joint French and Spanish campaign that crushed him; he surrendered in May 1926.
Independence and the modern kingdom
The nationalist movement, led by the Istiqlal party, grew around Sultan Mohammed V. In 1953 France exiled him to Madagascar, causing widespread protests and violence. He returned in 1955, and Morocco became independent in 1956; the United States recognised it that March, and Tangier, which had been an international city, was fully reintegrated in October. Mohammed V took the title of king. His son Hassan II, from 1961 to 1999, survived two coup attempts, in 1971 and 1972, and repressed opposition in the "years of lead". In 1975 he organised the Green March of 350,000 Moroccans into Spanish Sahara, and Spain agreed in the Madrid Accords to hand the territory to Morocco and Mauritania; Morocco has since controlled most of Western Sahara, whose status remains disputed with the Polisario Front. Political reforms in the 1990s brought the first opposition-led government. King Mohammed VI, from 1999, introduced reforms of family law in 2004 and, after protests during the Arab Spring, a new constitution in 2011 that enlarged the powers of the prime minister.
On our maps
Our maps show Morocco on most maps from 1300 to 2010. Its largest outline, about 1.3 million square kilometres on the 1650 map, reaches deep into the Sahara, and today's Mali and Algeria together make up most of it, because the Saadi conquest of the Songhai Empire put Timbuktu under Moroccan control on our 1650 and 1700 maps. Casablanca and Marrakesh lie inside it for most of the period.
Sources
- Wikipedia: Morocco
- Wikidata: Morocco (Q1028)
- Encyclopedia.com (Encyclopedia of the Modern Middle East and North Africa): Alawite Dynasty
- Encyclopedia.com (Encyclopedia of the Modern Middle East and North Africa): Rif War
- Encyclopedia.com (Encyclopedia of the Modern Middle East and North Africa): Green March
- US Department of State, Office of the Historian: Morocco
- Borders of Time maps, built on historical-basemaps
Key dates
- 40 CERome annexes the kingdom of Mauretania, which becomes the province of Mauretania Tingitana.
- 739 CEThe Great Berber Revolt breaks out against Umayyad rule.
- 788 CEIdris ibn Abdallah founds the Idrisid dynasty with the backing of the Awraba Berbers.
- 859 CEFatima al-Fihri founds the Qarawiyyin mosque in Fez.
- c. 1070The Almoravids found Marrakesh.
- 1147The Almohads take Marrakesh and replace the Almoravids.
- 1578The Saadis defeat a Portuguese invasion at Alcácer Quibir, where King Sebastian is killed.
- 1666The Alaouite al-Rashid takes Fez, founding the dynasty that still reigns.
- 1786Morocco and the United States sign a treaty of peace and friendship at Marrakesh.
- 1912The Treaty of Fez makes Morocco a French protectorate, with Spanish zones in the north and south.
- 1921Abd el-Krim's Rif forces rout a Spanish army at Annual.
- 1956Morocco becomes independent.
From the atlas
Morocco on our maps
Borders of Time draws Morocco on 20 of its 54 world maps, from 1300 CE to 2010 CE, with gaps where it doesn’t appear. Its largest extent is on the 1650 CE map, covering about 1,340,000 km² (517,000 sq mi), roughly the size of Iran today.
On that map it borders the Algiers, the Dendi Kingdom, the Ottoman Sultanate and Spain.
On the map before it appears (1279 CE), the same area belongs to the Merinides.
- 1300 CE251,000 km²
- 1400 CE251,000 km²
- 1650 CE1,340,000 km²
- 1700 CE1,340,000 km²
- 1715 CE495,000 km²
- 1783 CE495,000 km²
- 1800 CE495,000 km²
- 1815 CE495,000 km²
- 1878 CE412,000 km²
- 1880 CE412,000 km²
- 1900 CE412,000 km²
- 1914 CE375,000 km²
- 1920 CE412,000 km²
- 1930 CE412,000 km²
- 1945 CE412,000 km²
- 1960 CE412,000 km²
- 1985 CE412,000 km²
- 1994 CE412,000 km²
- 2000 CE412,000 km²
- 2010 CE412,000 km²
Measured from the historical-basemaps snapshots this atlas uses. Borders in those maps are approximate, especially for early periods.
Quick answers
- When did Morocco exist?
- It appears on the atlas’s maps from 1300 to 2010.
- Where was Morocco?
- At its largest, on the 1650 map, its land lies in today’s Mali (36%), Algeria (34%) and Morocco (28%), with smaller parts in Mauritania. On that map it borders the Algiers, the Dendi Kingdom, the Ottoman Sultanate and Spain.
- What was the capital of Morocco?
- Rabat.
- How big was Morocco?
- Morocco was largest on the 1650 map, at about 1,340,000 km² (517,000 sq mi).
- Why was Morocco never part of the Ottoman Empire?
- From the sixteenth century Morocco was ruled by the Saadis and then the Alaouites, sharifian dynasties claiming descent from the Prophet Muhammad, who presented themselves as defenders of the Muslim community in their own right. The Saadi victory over Portugal in 1578 and the strong army of Moulay Ismail kept the country independent, and when it finally lost its sovereignty in 1912 it was to France and Spain, not to the Ottomans.
- Why did Moulay Ismail build an army of enslaved soldiers?
- Moulay Ismail, sultan from 1672 to 1727, built an army of enslaved Black soldiers, the Abid al-Bukhari, loyal to him personally rather than to any tribe. With it he set up a centralised administration and tax system, drove the English from Tangier in 1684 and built a vast palace city at Meknes.
- How did the Rif War go so badly for Spain?
- In July 1921 Abd el-Krim's fighters attacked Spanish outposts in the Rif, and the retreat from the forward base at Annual turned into a rout: by 9 August every Spanish position outside Melilla had fallen and more than 13,000 soldiers were dead. Abd el-Krim set up a Rif state in 1923, but a joint French and Spanish offensive from 1925 forced him to surrender in May 1926 (sources give the 15th, 26th or 27th).
- How did the Green March bring Spanish Sahara under Moroccan control?
- In November 1975 King Hassan II sent about 350,000 unarmed volunteers across the border at Tarfaya into Spanish Sahara to press Morocco's claim. Hassan declared the march's aim achieved on 9 November and the marchers withdrew, and on 14 November Spain signed the Madrid Accords, handing the territory to Morocco and Mauritania; the Polisario Front fought on for Sahrawi independence.