Kingdom of Morocco (Berber: Tagldit n Murakuc, Arabic: المملكة المغربية) is a country in North Africa.

Morocco (i/məˈrɒkoʊ/; Arabic: المغرب‎‎ al-Maghrib, lit. "The West"; Berber: ⵍⵎⴰⵖⵔⵉⴱ Lmaɣrib; French: Maroc), officially known as the Kingdom of Morocco (Arabic: المملكة المغربية‎‎ al-Mamlakah al-Maghribiyah, lit. "The Western Kingdom"; Berber: ⵜⴰⴳⵍⴷⵉⵜ ⵏ ⵍⵎⴰⵖⵔⵉⴱTageldit n Lmaɣrib), is a sovereign country in the Maghreb region of North Africa. Geographically, Morocco is characterized by a rugged mountainous interior, large tracts of desert, and a lengthy coastline along the Atlantic Ocean and Mediterranean Sea.

Morocco has a population of over 33.8 million and an area of 446,550 km2(172,410 sq mi). Its capital is Rabat, and the largest city is Casablanca. Other major cities include Marrakesh, Tangier, Tetouan, Salé, Fes, Agadir, Meknes, Oujda, Kenitra, and Nador. A historically prominent regional power, Morocco has a history of independence not shared by its neighbours. Since the foundation of the first Moroccan state by Idris I in 789, the country has been ruled by a series of independent dynasties, reaching its zenith under the Almoravid and Almohad dynasty, spanning parts of Iberia and Northwestern Africa. Marinid and Saadidynasties continued the struggle against foreign domination, and Morocco remained the only North African country to avoid Ottoman occupation. The Alaouite dynasty, the current ruling dynasty, seized power in 1666. In 1912 Morocco was divided into French and Spanishprotectorates, with an international zone in Tangier, and regained its independence in 1956. Moroccan culture is a blend of Arab, indigenous Berber, Sub-Saharan African, and European influences.

Morocco claims the non-self-governing territory of Western Sahara as its Southern Provinces. Morocco annexed the territory in 1975, leading to a guerrilla war with indigenous forces until a cease-fire in 1991. Peace processes have thus far failed to break the political deadlock.

Morocco is a constitutional monarchy with an elected parliament. The King of Morocco holds vast executive and legislative powers, especially over the military, foreign policy and religious affairs. Executive power is exercised by the government, while legislative power is vested in both the government and the two chambers of parliament, the Assembly of Representatives and the Assembly of Councillors. The king can issue decrees called dahirs which have the force of law. He can also dissolve the parliament after consulting the Prime Minister and the president of the Constitutional court.

Morocco's predominant religion is Islam, and the official languages are Arabic and Tamazight. The Moroccan dialect, referred to as Darija, and French are also widely spoken. Morocco is a member of the Arab League, the Union for the Mediterranean, and the African Union. It has the fifth largest economy of Africa.

The Berber Roman client King Ptolemy of Mauretania.

The area of present-day Morocco has been inhabited since Paleolithic times, sometime between 190,000 and 90,000 BC. During the Upper Paleolithic, the Maghreb was more fertile than it is today, resembling a savanna more than today's arid landscape. Twenty-two thousand years ago, the Aterian was succeeded by the Iberomaurusian culture, which shared similarities with Iberian cultures. Skeletal similarities have been suggested between the Iberomaurusian "Mechta-Afalou" burials and European Cro-Magnon remains. The Iberomaurusian was succeeded by the Beaker culture in Morocco.

Mitochondrial DNA studies have discovered a close link between Berbers and the Saami of Scandinavia. This supports theories that the Franco-Cantabrian refuge area of southwestern Europe was the source of late-glacial expansions of hunter-gatherers who repopulated northern Europe after the last ice age.

North Africa and Morocco were slowly drawn into the wider emerging Mediterranean world by the Phoenicians, who established trading colonies and settlements in the early Classical period. Substantial Phoenician settlements were at Chellah, Lixus and Mogador.Mogador was a Phoenician colony as early as the early 6th century BC.[page needed]

Ancient Roman ruins of Volubilis.

Morocco later became a realm of the North African civilisation of ancient Carthage as part of its empire. The earliest known independent Moroccan state was the Berber kingdom of Mauretania under king Baga. This ancient kingdom (not to be confused with the present state of Mauritania) dates at least to 225 BC.

Mauretania became a client kingdom of the Roman Empire in 33 BC. Emperor Claudius annexed Mauretania directly as a Roman province in 44 AD, under an imperial governor (either aprocurator Augusti, or a legatus Augusti pro praetore).

During the crisis of the 3rd century, parts of Mauretania were reconquered by Berber tribes. Direct Roman rule became confined to a few coastal cities (such as Septum (Ceuta) in Mauretania Tingitana and Cherchell in Mauretania Caesariensis) by the late 3rd century.

The Muslim conquest of the Maghreb, that started in the middle of the 7th century, was achieved early into the following century. It brought both the Arabic language and Islam to the area. Although part of the larger Islamic Empire, Morocco was initially organized as a subsidiary province of Ifriqiya, with the local governors appointed by the Muslim governor in Kairouan.

The indigenous Berber tribes 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 Rashidun 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.

According to medieval legend, Idris ibn Abdallah had fled to Morocco after the Abbasids massacre of his tribe in Iraq. He convinced the Awraba Berber tribes to break their allegiance to the distant Abbasid caliphs in Baghdad 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 Idrissids 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.

The Almohad realm at its greatest extent, c. 1212

From the 11th century onwards, a series of powerful Berber dynasties arose. Under the Almoravid dynasty  and the Almohad dynasty, Morocco dominated the Maghreb, much of present-day Spain and Portugal, and the western Mediterranean region. From the 13th century onwards the country saw a massive migration of Banu Hilal Arab tribes. In the 13th and 14th centuries the Merinids held power in Morocco and strove to replicate the successes of the Almohads by military campaigns in Algeria and Spain. They were followed by the Wattasids. In the 15th century, the Reconquista ended Muslim rule in central and southern Spain and many Muslims and Jews fled to Morocco.

Portuguese efforts to control the Atlantic sea trade in the 15th century did not greatly affect the interior of Morocco even though they managed to control some possessions on the Moroccan coast but not venturing further afield inland.

On another note and according to Elizabeth Allo Isichei, "In 1520, there was a famine in Morocco so terrible that for a long time other events were dated by it. It has been suggested that the population of Morocco fell from 5 to under 3 million between the early sixteenth and nineteenth centuries."

Morocco, Safi ceramic vessel Jobbana

Former Portuguese fortress of Mazagan in El Jadida

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 Alaouite Dynasty, who remained in power since the 17th century.

Under the Saadi Dynasty, the country repulsed Ottomanincursions and a Portuguese invasion at the battle of Ksar el Kebir in 1578. 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 Empirein 1591. However, managing the territories across the Sahara proved too difficult. After the death of al-Mansur, the country was divided among his sons.

In 1666, Morocco was reunited by the Alaouite Dynasty, who have been the ruling house of Morocco ever since. Morocco was facing aggression from Spain and the Ottoman Empire allies pressing westward. The Alaouites 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 Jaysh d'Ahl al-Rif (the Riffian Army) he seized Tangier from the English in 1684 and drove the Spanish from Larache in 1689.

Morocco was the first nation to recognise the fledgling United States as an independent nation in 1777. In the beginning of the American Revolution, American merchant ships in the Atlantic Ocean were subject to attack by the Barbary pirates. On December 20 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 Moroccan–American Treaty of Friendship, signed in 1786, stands as the U.S's oldest non-broken friendship treaty.

Death of Spanish general Margalloduring the Melilla War. Le Petit Journal, November 13 1893.

Main articles: French Morocco and Spanish Protectorate in Morocco

As Europe industrialised, North Africa was increasingly prized for its potential for colonisation. France showed a strong interest in Morocco as early as 1830, not only to protect the border of its Algerian territory, but also because of the strategic position of Morocco on two oceans. In 1860, a dispute over Spain's Ceuta enclave led Spain to declare war. Victorious Spain won a further enclave and an enlarged Ceuta in the settlement. In 1884, Spain created a protectorate in the coastal areas of Morocco.

In 1904, France and Spain carved out zones of influence in Morocco. Recognition by the United Kingdom of France's sphere of influence provoked a strong reaction from the German Empire; and a crisis loomed in 1905. The matter was resolved at the Algeciras Conference in 1906. The Agadir Crisis of 1911 increased tensions between European powers. The 1912 Treaty of Fezmade Morocco a protectorate of France, and triggered the 1912 Fez riots. Spain continued to operate its coastal protectorate. By the same treaty, Spain assumed the role of protecting power over the northern and southern Saharan zones.

Tens of thousands of colonists entered Morocco. Some bought up large amounts of the rich agricultural land, others organised the exploitation and modernisation of mines and harbours. Interest groups that formed among these elements continually pressured France to increase its control over Morocco a control which was also made necessary by the continuous wars among Moroccan tribes, part of which had taken sides with the French since the beginning of the conquest. Governor general, Marshall Hubert Lyautey, sincerely admired Moroccan culture and succeeded in imposing a joint Moroccan-French administration, while creating a modern school system. Several divisions of Moroccan soldiers (Goumiers or regular troops and officers) served in the French army in both World War I and World War II, and in the Spanish Nationalist Army in the Spanish Civil War and after (Regulares). The institution of slavery was abolished in 1925.

Tangier's population included 40,000 Muslims, 31,000 Europeans and 15,000 Jews.

Between 1921 and 1926, a Berber uprising in the Rif Mountains, led by Abd el-Krim, led to the establishment of the Republic of the Rif. The rebellion was eventually suppressed by French and Spanish troops.

In 1943, the Istiqlal Party (Independence Party) was founded to press for independence, with discreet US support. That party subsequently provided most of the leadership for the nationalist movement.

France's exile of Sultan Mohammed V in 1953 to Madagascar and his replacement by the unpopular Mohammed Ben Aarafa sparked active opposition to the French and Spanish protectorates. The most notable violence occurred in Oujda where Moroccans attacked French and other European residents in the streets. France allowed Mohammed V to return in 1955, and the negotiations that led to Moroccan independence began the following year. In March 1956 the French protectorate was ended and Morocco regained its independence from France as the "Kingdom of Morocco". A month later Spain ceded most of its protectorate in Northern Morocco to the new state but kept its two coastal enclaves (Ceuta and Melilla) on the Mediterranean coast. Sultan Mohammed became king in 1957.

The Mausoleum of Mohammed V in Rabat.

Upon the death of Mohammed V, Hassan II became King of Morocco on 3 March 1961. Morocco held its first general elections in 1963. However, Hassan declared a state of emergency and suspended parliament in 1965. In 1971, there was a failed attempt to depose the king and establish a republic. A truth commission set up in 2005 to investigate human rights abuses during his reign confirmed nearly 10,000 cases, ranging from death in detention to forced exile. Some 592 people were recorded killed during Hassan's rule according to the truth commission.

The Spanish enclave of Ifni in the south was returned to Morocco in 1969. The Polisario movement was formed in 1973, with the aim of establishing an independent state in the Spanish Sahara. On 6 November 1975 King Hassan asked for volunteers to cross into the Spanish Sahara. Some 350,000 civilians were reported as being involved in the "Green March". A month later, Spain agreed to leave the Spanish Sahara, soon to become Western Sahara, and to transfer it to joint Moroccan-Mauritanian control, despite the objections and threats of military intervention by Algeria. Moroccan forces occupied the territory.

Moroccan and Algerian troops soon clashed in Western Sahara. Morocco and Mauritania divided up Western Sahara. Fighting between the Moroccan military and Polisario forces continued for many years. The prolonged war was a considerable financial drain on Morocco. In 1983, Hassan cancelled planned elections amid political unrest and economic crisis. In 1984, Morocco left the Organisation of African Unity in protest at the SADR's admission to the body. Polisario claimed to have killed more than 5,000 Moroccan soldiers between 1982 and 1985.

Algerian authorities have estimated the number of Sahrawi refugees in Algeria to be 165,000. Diplomatic relations with Algeria were restored in 1988. In 1991, a UN-monitored ceasefire began in Western Sahara, but the territory's status remains undecided and ceasefire violations are reported. The following decade saw much wrangling over a proposed referendum on the future of the territory but the deadlock was not broken.

Political reforms in the 1990s resulted in the establishment of a bicameral legislature in 1997 and Morocco's first opposition-led government came to power in 1998.

Protestors in Casablanca demand that authorities honor their promises of political reform.

King Hassan II died in 1999 and was succeeded by his son, Mohammed VI. He is a cautious moderniser who has introduced some economic and social liberalisation.

Mohammed VI paid a controversial visit to the Western Sahara in 2002. Morocco unveiled an autonomy blueprint for Western Sahara to the United Nations in 2007. The Polisario rejected the plan and put forward its own proposal. Morocco and the Polisario Front held UN-sponsored talks in New York but failed to come to any agreement. In 2010, security forces stormed a protest camp in the Western Sahara, triggering violent demonstrations in the regional capital El Aaiún.

In 2002, Morocco and Spain agreed to a US-brokered resolution over the disputed island of Perejil. Spanish troops had taken the normally uninhabited island after Moroccan soldiers landed on it and set up tents and a flag. There were renewed tensions in 2005 as hundreds of African migrants tried to storm the borders of the Spanish enclaves of Melilla and Ceuta. Morocco deported hundreds of the illegal migrants. In 2006 the Spanish Premier Zapatero visited Spanish enclaves. He was the first Spanish leader in 25 years to make an official visit to the territories. The following year, Spanish King Juan Carlos I visited Ceuta and Melilla, further angering Morocco which demanded control of the enclaves.

During the 2011–12 Moroccan protests, thousands of people rallied in Rabat and other cities calling for political reform and a new constitution curbing the powers of the king. In July 2011, the King won a landslide victory in a referendum on a reformed constitution he had proposed to placate the Arab Spring protests. Despite the reforms made by Mohamed VI demonstrators continued to call for deeper reforms. Hundreds took part in a trade union rally in Casablanca in May 2012. Participants accused the government of failing to deliver on reforms.

Morocco is a constitutional monarchy. The political powers are shared between the king Muhammad VI (the sixth) and the Head of the Government. The King is the head of state (Person in charge of the country) and the most important person.

The people of Morocco vote for Members of Parliament to speak for them and to help make laws for them. The Council of Ministers defines what must be done. He makes all the important decisions. Today, the Head of Government is Abdelilah Benkirane.

Legislative Branch

Since the constitutional reform of 1996, the bicameral legislature consists of two chambers. The Assembly of Representatives of Morocco (Majlis an-Nuwwâb/Assemblée des Répresentants) has 325 members elected for a five-year term, 295 elected in multi-seat constituencies and 30 in national lists consisting only of women. The Assembly of Councillors(Majlis al-Mustasharin) has 270 members, elected for a nine-year term, elected by local councils (162 seats), professional chambers (91 seats) and wage-earners (27 seats).

The Parliament's powers, though still relatively limited, were expanded under the 1992 and 1996 and even further in the 2011 constitutional revisions and include budgetary matters, approving bills, questioning ministers, and establishing ad hoc commissions of inquiry to investigate the government's actions. The lower chamber of Parliament may dissolve the government through a vote of no confidence.

The latest parliamentary elections were held on November 25, 2011, and were considered by some neutral observers to be mostly free and fair. Voter turnout in these elections was estimated to be 43% of registered voters.

Morocco is next to the countries of Algeria to its east and Mauritania to its south. The Mediterranean Sea lies to the north of Morocco, and the Atlantic Ocean to the west.

Morocco has a diverse geography from fertile plains, to forests, cold mountains, dry lands, and deserts. Most people live in areas close to the coast, or in fertile farms. Morocco has an area of 446,550 km². Morocco also controls most of the Western Sahara which is 266.000 km² big.Morocco has a coast by the Atlantic Ocean that reaches past the Strait of Gibraltar into the Mediterranean Sea. It is bordered by Spain to the north (a water border through the Strait and land borders with three small Spanish-controlled exclaves, Ceuta, Melilla, and Peñón de Vélez de la Gomera), Algeria to the east, and Western Sahara to the south. Since Morocco controls most of Western Sahara, its de facto southern boundary is with Mauritania.

The internationally recognised borders of the country lie between latitudes 27° and 36°N, and longitudes 1° and 14°W. Adding Western Sahara, Morocco lies mostly between 21° and 36°N, and 1° and 17°W (the Ras Nouadhibou peninsula is slightly south of 21° and west of 17°).

The geography of Morocco spans from the Atlantic Ocean, to mountainous areas, to the Sahara desert. Morocco is a Northern African country, bordering the North Atlantic Ocean and the Mediterranean Sea, between Algeria and the annexed Western Sahara. It is one of only three nations (along with Spain and France) to have both Atlantic and Mediterranean coastlines.

A large part of Morocco is mountainous. The Atlas Mountains are located mainly in the centre and the south of the country. The Rif Mountains are in the north of the country. Both ranges are mainly inhabited by the Berber people. At 446,550 km2(172,414 sq mi), Morocco is the fifty-seventh largest country in the world (after Uzbekistan). Algeria borders Morocco to the east and southeast, though the border between the two countries has been closed since 1994.

Spanish territory in North Africa neighbouring Morocco comprises five enclaves on the Mediterranean coast: Ceuta, Melilla, Peñón de Vélez de la Gomera, Peñón de Alhucemas, the Chafarinas islands, and the disputed islet Perejil. Off the Atlantic coast the Canary Islands belong to Spain, whereas Madeira to the north is Portuguese. To the north, Morocco is bordered by the Strait of Gibraltar, where international shipping has unimpeded transit passage between the Atlantic and Mediterranean.

The Rif mountains stretch over the region bordering the Mediterranean from the north-west to the north-east. The Atlas Mountains run down the backbone of the country, from the northeast to the south west. Most of the southeast portion of the country is in the Sahara Desert and as such is generally sparsely populated and unproductive economically. Most of the population lives to the north of these mountains, while to the south lies the Western Sahara, a former Spanish colony that was annexed by Morocco in 1975 (see Green March). Morocco claims that the Western Sahara is part of its territory and refers to that as its Southern Provinces.

Morocco's capital city is Rabat; its largest city is its main port, Casablanca. Other cities include Agadir, Essaouira, Fes, Marrakesh, Meknes, Mohammedia, Oujda, Ouarzazat, Safi, Salé, Tangier and Tétouan.[Br.-Bl. “Vegetatio.” Vegetatio, vol. 11, no. 5/6, 1963, pp. 405–405., www.jstor.org/stable/20034938.]

Köppen climate types in Morocco

The country's Mediterranean climate is similar to that of southern California, with lush forests in the northern and central mountain ranges of the country, giving way to dryer conditions and inland deserts further southeast. The Moroccan coastal plains experience remarkably moderate temperatures even in summer, owing to the effect of the cold Canary Current off its Atlantic coast.

In the Rif, Middle and High Atlas Mountains, there exist several different types of climates: Mediterranean along the coastal lowlands, giving way to a humid temperate climate at higher elevations with sufficient moisture to allow for the growth of different species of oaks, moss carpets, junipers, and Atlantic fir which is a royal conifer tree endemicto Morocco. In the valleys, fertile soils and high precipitation allow for the growth of thick and lush forests. Cloud forests can be found in the west of the Rif Mountains and Middle Atlas Mountains. At higher elevations, the climate becomes alpine in character, and can sustain ski resorts.

Southeast of the Atlas mountains, near the Algerian borders, the climate becomes very dry, with long and hot summers. Extreme heat and low moisture levels are especially pronounced in the lowland regions east of the Atlas range due to the rain shadow effect of the mountain system. The southeastern-most portions of Morocco are very hot, and include portions of the Sahara Desert, where vast swathes of sand dunes and rocky plains are dotted with lush oases.

In contrast to the Sahara region in the south, coastal plains are fertile in the central and northern regions of the country, and comprise the backbone of the country's agriculture, in which 95% of the population live. The direct exposure to the North Atlantic Ocean, the proximity to mainland Europe and the long stretched Rif and Atlas mountains are the factors of the rather European-like climate in the northern half of the country. That makes from Morocco a country of contrasts. Forested areas cover about 12% of the country while arable land accounts for 18%. Approximately 5% of Moroccan land is irrigated for agricultural use.

Landscape of the Erg Chebbi

Atlas Mountains

In general, apart from the southeast regions (pre-Saharan and desert areas), Morocco's climate and geography are very similar to the Iberian peninsula. Thus we have the following climate zones:

Oceanic: Determined by the cooler summers, where highs rarely go above 27 °C (80.6 °F) and in terms of Essaouira region are almost always around 21 °C (69.8 °F). The medium daily temperatures can get as low as 19 °C (66.2 °F), while winters are chilly to mild and wet. Annual precipitation varies from 400 to 700 mm. Notable cities that fall into this zone are Rabat, Casablanca, Kénitra, Salé and Essaouira.

Continental: Determined by the bigger gap between highs and lows, that results in hotter summers and colder winters, than found in typical Mediterranean zones. In summer, daily highs can get as high as 40 °C (104.0 °F) during heat waves, but usually are between 32 °C (89.6 °F) and 36 °C (96.8 °F). However, temperatures drop as the sun sets. Night temperatures usually fall below 20 °C (68.0 °F), and sometimes as low as 10 °C (50.0 °F) in mid-summer. Winters are cooler, and can get below the freezing point multiple times between December and February. Also snow can fall occasionally. Fès for example registered 8 °C (17.6 °F) in winter 2005. Annual precipitation varies between 500 and 900 mm. Notable cities are Fès, Meknès, Chefchaouen, Beni-Mellal and Taza.

South of Agadir and east of Jerada near the Algerian borders, arid and desert climate starts to prevail.

Note: Due to Morocco's proximity to the Sahara desert and the North Sea of the Atlantic Ocean, two phenomena occur to influence the regional seasonal temperatures, either by raising temperatures by 7–8 degrees Celsius when sirocco blows from the east creating heatwaves, or by lowering temperatures by 7–8 degrees Celsius when cold damp air blows from the northwest, creating a coldwave or cold spell. However, these phenomena don't last for more than 2 to 5 days on average.

Countries or regions that share the same climatic characteristics with Morocco are California(USA), Portugal, Spain and Algeria.

Annual rainfall in Morocco is different according to regions. The northwestern parts of the country receive between 500 mm and 1200 mm, while the northeastern parts receive between 350 and 600 mm. North Central Morocco receives between 700 mm and up to 3500 mm. The area from Casablanca to Essaouira, on the Atlantic coast, receives between 300 mm and 500 mm. The regions from Essaouira to Agadir receive between 250 mm and 400 mm. Marrakesh region in the central south receives only 250 mm a year. The southeastern regions, basically the driest areas, receive between 100 mm and 200 mm only, and consist basically of arid and desert lands.

Botanically speaking, Morocco enjoys a great variety of vegetation, from lush large forests of conifer and oak trees typical of the western Mediterranean countries (Morocco, Algeria, Italy, Spain, France and Portugal), to shrubs and acacias further south. This is due to the diversity of climate and the precipitation patterns in the country.

Morocco's weather is one of the most pristine in terms of the four-season experience. Most regions have distinct seasons where summer is usually not spoiled by rain and winter turns wet, snowy and humid with mild, cool to cold temperatures, while spring and fall see warm to mild weather characterised by flowers blooming in spring and falling leaves in autumn. This type of weather has affected the Moroccan culture and behaviour and played a part in the social interaction of the population, like many other countries that fall into this type of climate zone.presented in the ISO 3166-1 alpha-2 geographical encoding standard by the symbol MA. This code was used as the basis for Morocco's internet domain, ma.

The capital of Morocco is Rabat. About 1.2 million people live in Rabat. The biggest city in Morocco is however Casablanca, with nearly 4 million people living there. Both Rabat and Casablanca have large ports and industrial zones. The third biggest city is Marrakesh from which the word "Morocco" is made. Tekken, Vera, et al. “Increasing Pressure, Declining Water and Climate Change in North-Eastern Morocco.” Journal of Coastal Conservation, vol. 17, no. 3, 2013, pp. 379–388. www.jstor.org/stable/42657030.

The population of Morocco is about 34 million. People from Morocco are called Moroccans. Moroccans are Arab, indigenous Berber, Sub-Saharan African and European.

The official languages of Morocco are Arabic and Berber. French is also very used in companies, universities, and in some TV channels. Morocco was part of the French colonial empire for 44 years. Some people in the north (close to Spain) speak Spanish as well. Spain also occupied parts of Morocco before leaving them in 1956 and in 1975.

Most educated Moroccans do not speak English well, or do not know it at all. In the 21st century English is being taught to students in an increasing number of schools.

Most Moroccans follow Islam as their religion. There are very small numbers of Christians, Jews, and non-believers. Morocco is home to the oldest university in the world, the University of Karaouine.

Mohammed VI, a FREMM multipurpose frigate of the Royal Moroccan Navy.

Compulsory military service in Morocco has been officially suspended since September 2006, and Morocco's reserve obligation lasts until age 50. Morocco's military consists of the Royal Armed Forces this includes the Army (the largest branch), the Navy, the Air Force, the Royal Guard, the Royal Gendarmerie and the Auxiliary Forces. Internal security is generally effective, and acts of political violence are rare (with one exception, the 2003 Casablanca bombings which killed 45 people).

The UN maintains a small observer force in Western Sahara, where a large number of Morocco's troops are stationed. The Saharawi group Polisario maintains an active militia of an estimated 5,000 fighters in Western Sahara and has engaged in intermittent warfare with Moroccan forces since the 1970s.

Morocco is a member of the United Nations and belongs to the Arab League, Arab Maghreb Union (UMA), Organisation of Islamic Cooperation (OIC), the Non-Aligned Movement and the Community of Sahel-Saharan States (CEN_SAD). Morocco's relationships vary greatly between African, Arab, and Western states. Morocco has had strong ties to the West in order to gain economic and political benefits. France and Spain remain the primary trade partners, as well as the primary creditors and foreign investors in Morocco. From the total foreign investments in Morocco, the European Union invests approximately 73.5%, whereas, the Arab world invests only 19.3%. Many countries from the Persian Gulf and Maghrebregions are getting more involved in large-scale development projects in Morocco.

Morocco claims sovereignty over Spanish enclaves of Ceuta and Melilla.

Morocco was the only African state not to be a member of the African Union due to its unilateral withdrawal on November 12 1984 over the admission of the Sahrawi Arab Democratic Republic in 1982 by the African Union (then called Organisation of African Unity) as a full member without the organisation of a referendum of self-determination in the disputed territory of Western Sahara. Morocco rejoined the AU on January 30 2017.

A dispute with Spain in 2002 over the tiny island of Perejil revived the issue of the sovereignty of Melilla and Ceuta. These small enclaves on the Mediterranean coast are surrounded by Morocco and have been administered by Spain for centuries.

Morocco has been given the status of major non-NATO ally by the US government. Morocco was the first country in the world to recognise US sovereignty (in 1777).

Morocco is included in the European Union's European Neighbourhood Policy (ENP) which aims at bringing the EU and its neighbours closer.

Morocco annexed Western Sahara in 1975. The Polisario Front control the territory east of the Moroccan berm(wall).

Due to the conflict over Western Sahara, the status of the Saguia el-Hamra and Río de Oro regions is disputed. The Western Sahara War saw the Polisario Front, the Sahrawi rebel national liberation movement, battling both Morocco and Mauritania between 1976 and a ceasefire in 1991 that is still in effect. A United Nations mission, MINURSO, is tasked with organizing a referendum on whether the territory should become independent or recognised as a part of Morocco.

Part of the territory, the Free Zone, is a mostly uninhabited area that the Polisario Front controls as the Sahrawi Arab Democratic Republic. Its administrative headquarters are in Tindouf, Algeria. As of 2006, no UN member state has recognised Moroccan sovereignty over Western Sahara.

In 2006, the government of Morocco has suggested autonomous status for the region, through the Moroccan Royal Advisory Council for Saharan Affairs (CORCAS). The project was presented to the United Nations Security Council in mid-April 2007. The proposal was encouraged by Moroccan allies such as the United States, France and Spain. The Security Council has called upon the parties to enter into direct and unconditional negotiations to reach a mutually accepted political solution.

Morocco is divided into 12 regions,.[7]  The regions are divided into 62 prefectures and provinces.[8]

As of 2014 the regions are:

Morocco is divided into 37 provinces and 2 wilayas : Agadir, Al Hoceima, Azilal, Beni Mellal, Benslimane, Boulemane, Casablanca, Chefchaouen, El Jadida, El Kelaa of Sraghna, Errachidia, Essaouira, Fez, Figuig, Guelmim, Ifrane, Kenitra, Khemisset, Rommani, Khenifra, Khouribga, Laayoune, Larache, Marrakech, Meknes, Nador, Ouarzazate, Oujda, Rabat, Sale, Settat, Safi, Sidi Kacem, Tangier, Tan-Tan, Taounate, Taroudant, Tata, Taza, Tetouan, Tiznit. Three additional provinces of Dakhla (Oued ed Dahab), Boujdour, and Es-Smara as well as parts of Tan-Tan and Laayoune fall within Moroccan-claimed Western Sahara.

Mining, agriculture, fishing, and tourism are the 4 main parts of Morocco's national economy. Also, Moroccans working in Europe (about 2 million) send billions of Euros of money home to their families every year.

Tourism is becoming very important too. Many Americans and Europens come to see the historical places of Morocco, live the Berber countryside life, or enjoy the warm sun and the long and clean beaches. Marrakesh is the most liked city by tourists.

The currency of Morocco is called the Dirham, its code is MAD.