Realm West Asia & N. Africa 1670–2024 CE

Morocco

Alawi kingdom on the Strait of Gibraltar that outlasted Ottoman rivals, French and Spanish protectorates, and coups to rule Western Sahara's contested sands.

Built from 4 cited sources, 4 rulers, 4 turning points and 8 cities.

Open on the globe
MoroccoRabat
1670–2024 CE · peak 2000 CE

The Alawi dynasty seized power in 1631 and ranks among the world's oldest reigning royal houses, binding Morocco's Atlantic and Mediterranean coasts, the Rif and Atlas mountains, and the Saharan south into one sultanate governed from Fez, Meknes, and eventually Rabat. Over two centuries its sultans expanded diplomatic and commercial relations with the Western world while Morocco remained the only North African state to escape Ottoman dominion, resisting Portuguese seizures and Ottoman encroachment from the east.

Today the Kingdom of Morocco is a unitary semi-constitutional monarchy in which King Mohammed VI holds vast executive and legislative power over the military, foreign policy, and religious affairs, issuing dahirs—decrees with the force of law—and able to dissolve parliament after consulting the prime minister and the Constitutional Court. An elected House of Representatives and House of Councillors share legislation, the Moroccan dirham circulates as currency, and Casablanca anchors an economy ranked fifth-largest in Africa, with membership in the Arab League, the Arab Maghreb Union, and the African Union.

Moroccan Darija Arabic serves as the lingua franca alongside official Standard Arabic and Amazigh, with Tashelhit, Tamazight, and Tarifit spoken across the mountain ranges, and 99.68 percent of the population identifying as Muslim under an official state religion. Protectorate-era rule left deep social scars: tens of thousands of French and Spanish colonists bought up fertile farmland and organized the exploitation of mines and harbors, and a 2005 truth commission confirmed nearly 10,000 cases of human rights abuse under Hassan II—from deaths in detention to forced exile—with 592 people recorded killed during his reign.

Strains repeatedly tested the throne: Spain won territory in an 1860 war over Ceuta, the 1912 Treaty of Fez split the country into French and Spanish protectorates and triggered the Fez riots, and independence in 1956 under Mohammed V brought the 1963 Sand War with Algeria, Hassan II's 1965 state of emergency, and failed republican coups in 1971 and 1972. Since the 1975 Green March into Spanish Sahara, Morocco has occupied most of that disputed territory against the Polisario movement, and observers classify the kingdom as a hybrid regime.

The Moroccan state is usually traced to the Idrisid dynasty, founded in 788 by Idris I, a great-grandson of Hasan ibn Ali who fled the Abbasid massacre of his family in the Hejaz and persuaded the Awraba Berber tribes to break with the distant Abbasid caliphs. The Idrisids established Fes as their seat. The claim that Morocco is among the world's oldest continuously existing states rests on this lineage, although the early Idrisid territory did not match the borders of present-day Morocco. Later independent dynasties followed, and the Almoravid and Almohad Berber kingdoms carried Moroccan power across the southern and eastern Iberian Peninsula in the 11th and 12th centuries.

The Alawi dynasty seized power in 1631 and still reigns, making it among the world's oldest royal houses. Morocco's Atlantic and Mediterranean coasts drew European attention from the 1830s onward. After the 1912 Treaty of Fez, France and Spain divided the country into protectorates, with the Sultan kept as formal sovereign under colonial control, and Tangier was designated an international zone. Independence and reunification came in 1956 under Mohammed V, and the Spanish enclave of Ifni was returned in 1969.

Rulers

Wars & turning points

Rulers & characters

  • Idris I founder, 788 CE [3][1]
    Founder of the Idrisid dynasty · Idrisid dynasty

    A great-grandson of Hasan ibn Ali who fled to Morocco after the Abbasid massacre of his family in the Hejaz. He persuaded the Awraba Berber tribes to break with the distant Abbasid caliphs and founded the Idrisid dynasty in 788, establishing Fes as its seat. The dynasty is the starting point for the Moroccan state's claim to continuous existence.

    He fled the Abbasid massacre of his own family and reached Morocco as a refugee, then built a state from that exile.

    Follow Idris I
  • Mohammed V r. 1957–1961 CE [3]
    Sultan and King who led independence · Alawi dynasty

    Under him Morocco regained independence and reunified in 1956 after the protectorate years. He became King in 1957, and his death in 1961 passed the throne to his son Hassan II.

  • Hassan II r. 1961–1999 CE [3]
    King of Morocco after Mohammed V · Alawi dynasty

    He succeeded his father on 3 March 1961. He held the first general elections in 1963, then declared a state of emergency and suspended parliament in 1965. He faced failed attempts to depose him in 1971 and 1972, and the Green March of 1975 pushed Spain to transfer Western Sahara toward joint Moroccan-Mauritanian control. A 2005 truth commission confirmed nearly 10,000 human rights cases from his reign.

    In 1975 he asked for volunteers to cross into the Spanish Sahara, and some 350,000 civilians were reported as taking part in the Green March.

  • Mohammed VI reigning, Alawi dynasty [3]
    Current King of Morocco · Alawi dynasty

    The current king holds honorific and religious authority as Amir al-Mu'minin, the Commander of the Faithful, under the constitutional reforms of 2011. Those reforms reduced the king's executive powers while enlarging those of the prime minister.

Wars, rebellions & turning points

  1. Treaty Treaty of Fez makes Morocco a French protectorate [3][1]
    France and Spain

    France and Spain had carved out zones of influence in 1904, and the Algeciras Conference of 1906 settled a crisis with Germany. The Agadir Crisis of 1911 raised tensions further. The treaty made Morocco a French protectorate, while Spain kept its coastal protectorate and took the northern and southern Saharan zones. The 1912 Fez riots followed the treaty.

    Outcome: Morocco became a protectorate, with the Sultan retaining formal sovereignty under colonial control, and tens of thousands of European colonists arrived.

  2. Shock End of the protectorate and independence [3]

    After intermittent riots and revolts against colonial rule, Morocco regained independence and reunified under Sultan Mohammed V.

    Outcome: The protectorate ended and the country reunified as an independent state.

  3. War Sand War with Algeria [3]
    Algeria

    Algerian and Moroccan troops fought over Moroccan claims to parts of Algerian territory. A formal peace agreement was signed in February 1964.

    Outcome: Relations stayed strained after the peace agreement, and the border remained a source of tension.

  4. Shock Green March into the Spanish Sahara [3][1]
    Spain, Mauritania, Polisario Front

    King Hassan asked for volunteers to cross into the Spanish Sahara, and some 350,000 civilians were reported as taking part. A month later Spain agreed to leave and transfer the territory to joint Moroccan-Mauritanian control. The Polisario movement, formed in 1973, fought Morocco and Mauritania.

    Outcome: Morocco came to occupy about two-thirds of Western Sahara, and the dispute remained unresolved after a 1991 ceasefire.

Achievements & reckoning

Achievements

  • The Idrisid founding and Fes as a capital [3]

    Idris I founded the Idrisid dynasty in 788 and established Fes as its seat. That founding underpins the claim that Morocco is one of the world's oldest continuously existing states, though the early territory did not match present-day borders.

    Follow
  • Regional power under the Almoravids and Almohads [3]

    In the 11th and 12th centuries the Almoravid and Almohad Berber kingdoms controlled the southern and eastern Iberian Peninsula and the Maghreb. This made Morocco a regional power at its height.

  • Industrial economy and high human development [3]

    Morocco has the fifth-largest economy in Africa and is Africa's leading industrial economy. It is one of the few African countries ranking high on the Human Development Index.

Reckoning

  • Protectorate and loss of sovereign control [3][1]

    The 1912 Treaty of Fez reduced the Sultan to a formal sovereign with limited authority under French and Spanish control. Colonists bought up large amounts of rich agricultural land and organised the exploitation of mines and harbours.

  • Repression under Hassan II [3]

    Hassan II suspended parliament in 1965 and faced attempts to depose him in 1971 and 1972. A truth commission set up in 2005 confirmed nearly 10,000 cases of abuse, from death in detention to forced exile, and recorded 592 killed during his rule.

  • Unresolved Western Sahara occupation [3][1]

    Morocco occupies about two-thirds of Western Sahara after the 1975 Green March and the war that followed with the Polisario Front. The 1991 ceasefire did not resolve sovereignty, and no UN member state had recognised Moroccan sovereignty as of 2006.

Deeper cuts

Daily life [3]

Darija, Amazigh, and the layered language of the streets

Arabic and Berber (Amazigh) are the official languages of Morocco, but the Moroccan dialect of Arabic, known locally as Darija, is the widely spoken lingua franca. Around 92.7 percent of the population speaks Arabic, and about a quarter speaks a Berber language, with Tashelhit, Tamazight, and Tarifit the most common. French and Spanish remain widely used in business and administration, a legacy of the protectorates. A single conversation can move between dialects and scripts, reflecting Arab, Berber, Andalusian, and African roots at once.

Berber languages are spoken by around 24.8 percent of the population according to the 2024 figures.

Religion [3]

The king as Commander of the Faithful

Islam is the official religion, and nearly all Moroccans are Sunni Muslims. The king serves as Amir al-Mu'minin, the Commander of the Faithful, and as a claimed direct descendant of the Prophet Muhammad. This religious role sits alongside his secular authority as head of state. Under the 2011 constitution the king kept honorific and religious powers while the prime minister gained executive authority. Religious affairs remain among the areas where royal authority is strongest, so faith and monarchy are tied together in public life.

Trade [3][1]

Trade partners and the European investment tie

France and Spain remain Morocco's primary trade partners, as well as its primary creditors and foreign investors. The European Union accounts for about 73.5 percent of total foreign investment, while the Arab world accounts for 19.3 percent. Morocco's position near the Strait of Gibraltar, with coasts on both the Atlantic and the Mediterranean, has long made it a point of commercial and strategic interest. Persian Gulf and neighbouring Maghreb countries have become more involved in large-scale projects in recent years.

Structural lenses

Drafted by GPT-6 Luna (lens-v1.1) from the cited sources.

Society & coercion [3]

Detention, Disappearance, and Hassan II’s Repression

A truth commission established in 2005 investigated abuses under Hassan II, recording cases that ranged from deaths in detention to forced exile. Its findings put individual lives behind the record of repression: nearly 10,000 cases were confirmed, and 592 people were recorded killed during his rule.

The commission’s count of 592 killed covers Hassan II’s reign, including the years of emergency rule after parliament was suspended in 1965.

Material & archaeology [3]

Jebel Irhoud Fossils and Morocco’s Deep Human Past

Fossils uncovered near Jebel Irhoud, inland from Morocco’s Atlantic coast, were dated to roughly 315,000 years ago and identified as Homo sapiens. Finds at Thomas Quarry I in Casablanca, published in 2026, push evidence of hominin presence in the region much further back.

Thomas Quarry I fossils were dated to approximately 773,000 years ago, near the root of the Homo sapiens lineage.

Thought & mind [3]

Customary Law Beside Islam and Arabic Rule

After the Muslim conquest, Berber communities adopted Islam and Arabic while retaining customary laws. That persistence of local legal practice alongside rule by Muslim administrations shaped a plural legal landscape rather than an immediate replacement of older norms.

Underappreciated & strange truths

In November 1975 King Hassan II called for volunteers to cross into the Spanish Sahara; some 350,000 civilians joined the Green March, and within a month Spain agreed to leave and transfer the territory to joint Moroccan-Mauritanian control despite Polisario objections and threats.

  • Morocco and the Barbary lion [3]

    The Barbary lion, a subspecies native to Morocco, was hunted to extinction in the wild. The last one was shot in the Atlas Mountains in 1922. It remains a national emblem, so the country's symbol outlives the animal it depicts.

  • Two coasts, three countries [3]

    Morocco is one of only three countries, along with Spain and France, to have both Atlantic and Mediterranean coastlines. Its position just outside the Strait of Gibraltar has shaped its strategic value for centuries.

  • Morocco's name comes from the west [3]

    The local name stems from the Arabic al-Maghrib, meaning the land of the sunset or the west. The English name Morocco is an anglicisation of the Spanish Marruecos, which derives from Marrakesh, the Almoravid capital.

State ledger

Lifespan
1670–2024 CE
Peak territory
406,464 km²
Capital
Rabat
Languages
Arabic, Standard Moroccan Tamazight
Government
constitutional monarchy
Currency
Moroccan dirham

Lineage & succession

Before
Spanish protectorate in Morocco
French protectorate in Morocco
Spanish Sahara
Morocco1670–2024 CE

Connected world

Succeeded the Spanish and French protectorates and Spanish Sahara, still claims Ceuta and Melilla from Spain, trades across the Strait of Gibraltar and Atlantic, and anchors the Arab Maghreb Union beside rival Algeria.

Drafted by HungerG (links-v2.0) from the cited sources.

  • Spain declared war in 1860 after a dispute over its Ceuta enclave; victory brought Spain a further enclave and an enlarged Ceuta.

  • diplomacy German Empire → 1905–1906 CE [3]

    Germany challenged France's Moroccan sphere of influence in 1905, bringing a crisis resolved at the 1906 Algeciras Conference.

  • vassalage French Third Republic → 1912 CE [3]

    The 1912 Treaty of Fez made Morocco a French protectorate while leaving the Sultan as formal sovereign under colonial control.

  • Algerian and Moroccan troops fought the Sand War in 1963 over Moroccan territorial claims; both sides signed a formal peace agreement in February 1964.

  • diplomacy Mauritania → 1975 CE [3]

    In 1975, Spain agreed to withdraw from Spanish Sahara and transfer the territory to joint Moroccan-Mauritanian control.

Drafted by Fireworks Firerouter (polity-v1.5) from four cited sources · almanac by Claude Haiku 5.5 (almanac-v1.2) · deep lenses by GPT-6 Luna (lens-v1.1), and checked that every citation points to one of them. See the evidence How AI is used

XCities & tongues

Mapped cities & trade towns

CityCountryNear peakPeak pop.GrowthGlobe
CasablancaMorocco1.80M1.80M (1975 CE) Locate →
RabatMorocco745k745k (1975 CE) Locate →
MarrakechMorocco224k238k (1947 CE) Locate →
MeknesMorocco—200k (1727 CE) Locate →
AzemmourMorocco—25k (1513 CE) Locate →
FezMorocco—200k (1200 CE)Dossier → Locate →
TangierMorocco—30k (1900 CE) Locate →
TazaMorocco—20k (1515 CE) Locate →

XIArchives & dossiers

Primary archive holdings

  • J. D. Hooker · 1847 CE

    H.M. Steam Frigate "Sidon," off Gibraltar, Nov. 20th, 1847. · Gibraltar

XIICulture & letters

Primary works, letters & books

No matching primary books indexed for this span yet.

XIIISources & provenance

  1. Cliopatria Historical Polity Borders v0.2.0 (Seshat Databank). CC-BY-4.0.
  2. Wikidata Historical Entities & Lineage Spine. CC0-1.0.
  3. Wikipedia — Morocco. CC-BY-SA-4.0.
  4. Reba / Chandler Historical Urban Population Estimates (3700 BCE–1975 CE). CC-BY-4.0.