Marrakesh’s name became a kingdom with Atlantic and Mediterranean coasts
Morocco—the Kingdom of Morocco—anchors the Maghreb with Mediterranean and Atlantic shores, bordering Algeria and facing Spanish Ceuta, Melilla, and Peñón de Vélez. Human fossils there reach back more than 300,000 years, and the state traces its origins to Idris I’s Idrisid dynasty in 788, making it one of the world’s oldest continuous states.
About 37 million people live in the kingdom, governed from Rabat, though Casablanca is larger. Africa’s fifth-largest economy and its leading industrial one, it is a semi-constitutional monarchy in which the king commands the military, foreign policy and religion. Rabat claims Western Sahara as its Southern Provinces; after Spain withdrew in 1975 a guerrilla war followed, Mauritania quit in 1979, a 1991 ceasefire froze the fighting, and Morocco now holds about two-thirds of it.
The English name comes through Spanish Marruecos from Marrakesh, capital of the Almoravids, Almohads and Saadians, whose Berber root means land of God. Locally it is al-Maghrib, the land of the sunset, and medieval geographers called it the Farthest West. Turks still say Fas, after the old capital Fes, and Persian and Urdu use Murrakush.
Fossils from Jebel Irhoud near the Atlantic date to about 315,000 years ago, and Casablanca’s Thomas Quarry I, published in 2026, pushes hominin traces back roughly 773,000 years. People buried at Taforalt some 15,000 years ago carried a blended Near Eastern and African ancestry still seen in Northwest Africans. Oued Beht hosted a farming complex of 3400–2900 BCE, Africa’s largest outside the Nile Valley then. Phoenicians traded at Chellah, Lixus and Mogador, and Baga’s Berber realm of Mauretania, the earliest known independent state here, thrived by 225 BC before Claudius annexed it in 44 AD.
Umayyad armies completed their conquest by 709, bringing Islam and Arabic, and the emirate of Nekor in the Rif, founded in 710, was the first Muslim state here. The Almoravids and Almohads raised Morocco to its peak during the 11th and 12th centuries, ruling across Iberia and the Maghreb. Morocco alone in North Africa escaped Ottoman control.
Source: Morocco