{
  "id": "morocco-2162040-1303be581202683d",
  "slug": "morocco",
  "title": "Morocco",
  "qid": "Q19828367",
  "lead": "Morocco, officially the Kingdom of Morocco, is a country in the Maghreb region of North Africa. It has coastlines on the Mediterranean Sea to the north and the Atlantic Ocean to the west, and has land borders with Algeria to the east; the Spanish exclaves of Ceuta, Melilla and Peñón de Vélez de la Gomera along the north, which it claims together with several small Spanish-controlled islands; and the disputed territory of Western Sahara to the south, partly occupied by Morocco since 1975. Morocco also claims to share a border with Mauritania through the disputed territory of Western Sahara. It has a population of approximately 37 million. Its capital is Rabat, while its largest city is Casablanca. The region constituting Morocco has been inhabited since the Paleolithic era, more than 300,000 years ago. The Moroccan state traces its origins to the establishment of the Idrisid dynasty by Idris I in 788, although its historical territories did not coincide with those of present-day Morocco; the country is regarded as one of the world's oldest continuously existing states. Morocco was subsequently ruled by a series of other independent dynasties, reaching its zenith as a regional power in the 11th and 12th centuries, under the Almoravid and Almohad dynasties, both Berber kingdoms, when it controlled the southern and eastern Iberian Peninsula and the Maghreb.…",
  "body": "Morocco, officially the Kingdom of Morocco, is a country in the Maghreb region of North Africa. It has coastlines on the Mediterranean Sea to the north and the Atlantic Ocean to the west, and has land borders with Algeria to the east; the Spanish exclaves of Ceuta, Melilla and Peñón de Vélez de la Gomera along the north, which it claims together with several small Spanish-controlled islands; and the disputed territory of Western Sahara to the south, partly occupied by Morocco since 1975. Morocco also claims to share a border with Mauritania through the disputed territory of Western Sahara. It has a population of approximately 37 million. Its capital is Rabat, while its largest city is Casablanca. The region constituting Morocco has been inhabited since the Paleolithic era, more than 300,000 years ago. The Moroccan state traces its origins to the establishment of the Idrisid dynasty by Idris I in 788, although its historical territories did not coincide with those of present-day Morocco; the country is regarded as one of the world's oldest continuously existing states. Morocco was subsequently ruled by a series of other independent dynasties, reaching its zenith as a regional power in the 11th and 12th centuries, under the Almoravid and Almohad dynasties, both Berber kingdoms, when it controlled the southern and eastern Iberian Peninsula and the Maghreb. In the 15th and 16th centuries, Morocco faced external threats to its sovereignty, with Portugal seizing some territory and the Ottoman Empire encroaching from the east. The Marinid and Saadi dynasties otherwise resisted foreign domination, and Morocco was the only North African nation to escape Ottoman dominion. The Saadi dynasty expanded its territory through the conquest of the Songhai Empire in the late 16th century. The Alawi dynasty, which rules the country to this day, seized power in 1631, and over the next two centuries expanded diplomatic and commercial relations with the Western world. It is among the world's oldest reigning royal dynasties. Morocco's strategic location near the mouth of the Mediterranean drew renewed European interest. In 1912, France and Spain established protectorates over the country and designated Tangier as an international zone, while the Sultan remained the formal sovereign with limited authority under colonial control. Following intermittent riots and revolts against colonial rule, Morocco regained its independence and reunified in 1956 under the leadership of Sultan Mohammed V. Since independence, Morocco has remained relatively stable. It has the fifth-largest economy in Africa and wields significant influence in both Africa and the Arab world; it is considered a middle power in global affairs and holds membership in the Arab League, the Arab Maghreb Union, the Union for the Mediterranean, and the African Union. It is one of the few countries in Africa ranking high on the Human Development Index and is Africa's leading industrial economy. Morocco is a unitary semi-constitutional monarchy with an elected parliament. The executive branch is led by the King of Morocco and the prime minister, while legislative power is vested in the two chambers of parliament: the House of Representatives and the House of Councillors. Judicial power rests with the Constitutional Court, which may review the validity of laws, elections, and referendums. The king holds vast executive and legislative powers, especially over the military, foreign policy and religious affairs; he can issue dahirs, decrees which have the force of law, and he can also dissolve the parliament after consulting the prime minister and the president of the constitutional court. Morocco is classified as a hybrid regime and, as of 2025, holds the highest ranking in the Arab world, according to The Economist Democracy Index. Islam is both the official and predominant religion, with nearly all of the population identifying as Muslims. Arabic and Berber are the official languages, though the Moroccan dialect of Arabic (known locally as Darija) is widely spoken and considered the lingua franca. The culture of Morocco is a mix of Arab, Berber, Andalusian, and African cultures. Morocco claims ownership of the non-self-governing territory of Western Sahara, which it has designated its Southern Provinces. In 1975, after Spain agreed to decolonise the territory and cede its control to Morocco and Mauritania, a guerrilla war broke out between those powers and some of the local inhabitants. In 1979, Mauritania relinquished its claim to the area, but the war continued to rage. In 1991, a ceasefire agreement was reached, but the issue of sovereignty remained unresolved. Today, Morocco occupies about two-thirds of the territory, and efforts to resolve the dispute have thus far failed to break the political deadlock. === Foundation and dynasties === coin in Fes, 840 The Muslim conquest of the Maghreb that had begun during the mid-7th century was completed under the Umayyad Caliphate by 709. The caliphate introduced both Islam and the Arabic language to the area; this period also saw the beginning of a trend of Arab migration to the Maghreb which would last for centuries and effect a demographic shift in the region. While constituting part of the larger empire, Morocco was initially organised as a subsidiary province of Ifriqiya, with the local governors appointed by the Muslim governor in Kairouan. The indigenous Berber peoples adopted Islam, but retained their customary laws. They also paid taxes and tribute to the new Muslim administration. The first independent Muslim state in the area of modern Morocco was the Kingdom of Nekor, an emirate in the Rif Mountains. It was founded by Salih I ibn Mansur in 710, as a client state to the Umayyad Caliphate. After the outbreak of the Berber Revolt in 739, the Berbers formed other independent states such as the Miknasa of Sijilmasa and the Barghawata. , founded in Fes in the 9th century, was a major spiritual, literary, and intellectual centre. The founder of the Idrisid dynasty and the great-grandson of Hasan ibn Ali, Idris ibn Abdallah, had fled to Morocco after the massacre of his family by the Abbasids in the Hejaz. He convinced the Awraba Berber tribes to break their allegiance to the distant Abbasid caliphs and he founded the Idrisid dynasty in 788. The Idrisids established Fes as their capital and Morocco became a centre of Muslim learning and a major regional power. The Idrisids were ousted in 927 by the Fatimid Caliphate and their Miknasa allies. After Miknasa broke off relations with the Fatimids in 932, they were removed from power by the Maghrawa of Sijilmasa in 980. at its greatest extent, From the 11th century onward, a series of Berber dynasties arose. Under the Sanhaja Almoravid dynasty and the Masmuda Almohad dynasty, Morocco dominated the Maghreb, al-Andalus in Iberia, and the western Mediterranean region. From the 13th century onward the country saw a massive migration of the Banu Hilal Arab tribes. In the 13th and 14th centuries the Zenata Berber Marinids held power in Morocco and strove to replicate the successes of the Almohads through military campaigns in Algeria and Spain. They were followed by the Wattasids. In the 15th century, the Reconquista ended Muslim rule in Iberia, with Muslims and Jews fleeing to find refuge in Morocco. Portuguese efforts to control the Atlantic sea trade in the 15th century did not greatly affect the interior of Morocco, despite that the Portuguese managed to control some possessions on the Moroccan coast, while not venturing further afield inland. In 1549, the region fell to successive Arab dynasties claiming descent from the Islamic prophet Muhammad: first the Saadi dynasty who ruled from 1549 to 1659, and then the Alawi dynasty, who have remained in power since the 17th century. Morocco faced aggression from Spain in the north, and the Ottoman Empire's allies pressing westward. of Portugal being presented before Sultan Ahmad al-Mansur after the Battle of Alcácer Quibir, which marked the end of Portugal's ruling Aviz dynasty|left 's 16th-century Badi' Palace Under the Saadis, the sultanate ended the Portuguese Aviz dynasty in 1578 at the Battle of Alcácer Quibir. The reign of Ahmad al-Mansur brought new wealth and prestige to the Sultanate, and a large expedition to West Africa inflicted a crushing defeat on the Songhay Empire in 1591. However, managing the territories across the Sahara proved too difficult. Upon the death of al-Mansur, the country was divided among his sons. in Meknès, near his tomb are two grandfather clocks which were gifted by King Louis XIV of France After a period of political fragmentation and conflict during the decline of the Saadi dynasty, Morocco was finally reunited by the Alawi sultan al-Rashid in the late 1660s, who took Fez in 1666 and Marrakesh in 1668. The 'Alawis succeeded in stabilising their position, and while the kingdom was smaller than previous ones in the region, it remained quite wealthy. Against the opposition of local tribes Ismail Ibn Sharif (1672–1727) began to create a unified state. With his Riffian army, he re-occupied Tangier from the English who had abandoned it in 1684 and drove the Spanish from Larache in 1689. The Portuguese abandoned Mazagão, their last territory in Morocco, in 1769. However, the siege of Melilla against the Spanish ended in defeat in 1775. Morocco was the first nation to recognise the fledgling United States of America as an independent nation in 1777, only a year after the country's founding. In the beginning of the American Revolution, American merchant ships in the Atlantic Ocean were subject to attacks by other fleets from the Barbary corsairs. On 20 December 1777, Morocco's Sultan Mohammed III declared that American merchant ships would be under the protection of the sultanate and could thus enjoy safe passage. The 1786 Moroccan–American Treaty of Friendship stands as the United States' oldest unbroken friendship treaty. Pennell, C. R. Morocco: From Empire to Independence, Oneworld Publications, 2013. (preview ) Stenner, David. Globalizing Morocco: Transnational Activism and the Postcolonial State (Stanford UP, 2019). online review In Morocco by Edith Wharton In French Bernard Lugan, Histoire du Maroc, Éd. Perrin, 2000. Michel Abitbol, Histoire du Maroc, Éd. Perrin, 2009. Key Development Forecasts for Morocco from International Futures",
  "categories": [
    "102876480",
    "103988848",
    "104792192",
    "105704630",
    "105727766",
    "10639794",
    "107220812",
    "108482556",
    "111025745",
    "111259962",
    "116690185",
    "129336739",
    "129817281",
    "131209562",
    "20207792",
    "20466910",
    "21493616",
    "22897775",
    "22900670",
    "22915007",
    "22918266",
    "22936629",
    "22985424",
    "22990427",
    "23091205",
    "23117742",
    "23118434",
    "23439767",
    "23603337",
    "23890325",
    "24623845",
    "24745122",
    "25304651",
    "26794475",
    "26863021",
    "27206937",
    "28374593",
    "29815558",
    "30525120",
    "31417500",
    "33644948",
    "37645845",
    "38271105",
    "39337038",
    "44446176",
    "45734372",
    "4684364",
    "48128016",
    "48128701",
    "51529579",
    "53660704",
    "57546182",
    "57683634",
    "58858695",
    "63676463",
    "63708725",
    "63715109",
    "64158044",
    "65710263",
    "6615809",
    "66228709",
    "66806736",
    "69319649",
    "69949788",
    "77452654",
    "89061568",
    "96369911",
    "98233523"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1378920117",
  "content_hash": "1303be581202683dbde0ae4cabc643c6afca30de83b5adbdfd672b55dc7d8d6a",
  "created_at": 1792317090.8576906,
  "updated_at": 1791319589.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "morocco-2162040-1303be581202683d",
    "type": "webpage",
    "title": "Morocco",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/morocco",
    "issued": {
      "date-parts": [
        [
          2026,
          10,
          18
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          21
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:morocco-2162040-1303be581202683d",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1378920117",
    "note": "Immutable snapshot morocco-2162040-1303be581202683d, content root 1303be581202683d…"
  }
}