Coordinates: The Maghreb (; Arabic: المغربal-Maghrib, "the west"), also known as Northwest Africa[2] and the Arab Maghreb (المغرب العربي al-Maghrib al-Arabi), is the western part of North Africa and the Arab world. The region includes Algeria, Libya, Mauritania (also considered part of West Africa), Morocco and Tunisia. The Maghreb also includes the disputed territories of Western Sahara (controlled mostly by Morocco and partly by the self-proclaimed Sahrawi Arab Democratic Republic) and the Spanish cities Ceuta and Melilla.[3] As of 2018, the region had a population of over 100 million people.

Through the eighteenth and nineteenth centuries, English sources often referred to the region as the Barbary Coast or the Barbary States, a term derived from the demonym of the Berbers.[4][5] Sometimes, the region is referred to as the Land of the Atlas, referring to the Atlas Mountains, which are located within it.[6] In Berber languages, the word "Tamazgha" is used to refer to the Maghreb region plus the smaller parts of Mali, Niger, Egypt and the Spanish Canary Islands that have traditionally been inhabited by the Berbers.

The Maghreb is usually defined as encompassing much of the northern part of Africa, including a large portion of the Sahara Desert, but excluding Egypt and Sudan, which are considered to be located in the Mashriq — the eastern part of the Arab world. The traditional definition of the Maghreb — which restricted its scope to the Atlas Mountains and the coastal plains of Morocco, Algeria, Tunisia and Libya — was expanded in modern times to include Mauritania and the disputed territory of Western Sahara. During the era of Al-Andalus on the Iberian Peninsula (711–1492), the Maghreb's inhabitants — the Muslim Berbers, or Maghrebi — were known by Europeans as the "Moors".[7]

Before the establishment of modern nation states in the region during the 20th century, the Maghreb most commonly referred to a smaller area, between the Mediterranean Sea and the Atlas Mountains in the south. It often also included the territory of eastern Libya, but not modern Mauritania. As recently as the late 19th century, the term "Maghreb" was used to refer to the Western Mediterranean region of coastal North Africa in general, and to Algeria, Morocco and Tunisia, in particular.[8]

During the rule of the Berber kingdom of Numidia, the region was somewhat unified as an independent political entity. This period was followed by one of the Roman Empire's rule or influence. The Germanic Vandals invaded after that, followed by the equally brief re-establishment of a weak Roman rule by the Byzantine Empire. The Islamic Caliphates came to power under the Umayyad Caliphate, the Abbasid Caliphate and the Fatimid Caliphate. The most enduring rule was that of the local Berber empires of the Ifranid dynasty (also called Emirate of Tlemcen with abu Qurra as leader; the Berbers called him "caliph" Ibn Khaldun, as explained in his book Kitab al ibar), Almoravid dynasty, Almohad Caliphate, Hammadid dynasty, Zirid dynasty, Marinid dynasty, Zayyanid dynasty, Hafsid dynasty and Wattasid dynasty, extending from the 8th to 13th centuries. The Ottoman Empire for a period also controlled parts of the region.

Algeria, Libya, Mauritania, Morocco, and Tunisia established the Arab Maghreb Union in 1989 to promote cooperation and economic integration in a common market. It was envisioned initially by Muammar Gaddafi as a superstate.[citation needed] The union included Western Sahara implicitly under Morocco's membership,[9] and ended Morocco's long cold war with Algeria over this territory. However, this progress was short-lived, and the union is now dormant.

Tensions between Algeria and Morocco over Western Sahara re-emerged, reinforced by the unsolved border dispute between the two countries. These two main conflicts have hindered progress on the union's joint goals and practically made it inactive as a whole.[10] The instability in the region and growing cross-border security threats revived calls for regional cooperation. In May 2015 foreign ministers of the Arab Maghreb Union declared a need for coordinated security policy at the 33rd session of the follow-up committee meeting; this revived hope of some form of cooperation.[11]

The toponym maghrib is a geographical term that the Muslim Arabs gave to the region extending from Alexandria in the east to the Atlantic Ocean in the west. Etymologically it means both the western place/land and the place where the sun sets. It is composed of the prefix ma−, which makes a noun out of the verb root, and غرب (gharaba, to set, as in setting sun) (from gh-r-b root (غ-ر-ب)).[citation needed]

Muslim historians and geographers divided the region into three areas: al-Maghrib al-Adna (the near Maghrib), which included the lands extending from Alexandria to Tarabulus (modern-day Tripoli) in the west; al-Maghrib al-Awsat (the middle Maghrib), which extended from Tripoli to Bijaya (Béjaïa); and al-Maghrib al-Aqsa (the far Maghrib), which extended from Tahart (Tiaret) to the Atlantic Ocean.[12] They disagreed, however, over the definition of the eastern boundary. Some authors place it at the sea of Kulzum (the Red Sea) and thus include Egypt and the country of Barca in the Maghrib. Ibn Khaldun does not accept this definition because, he says, the inhabitants of the Maghreb do not consider Egypt and Barca as forming part of Maghrib. The latter commences only at the province of Tripoli and includes the districts of which the country of the Berbers was composed in former times. Later Maghribi writers repeated the definition of Ibn Khaldun, with a few variations in details.[13]

As of 2017 the term Maghrib is still used in opposition to Mashriq in a sense near to that which it had in medieval times, but it also denotes simply Morocco when the full al-Maghrib al-Aksa is abbreviated. Certain politicians seek a political union of the North African countries, which they call al-Maghrib al-Kabir (the grand Maghrib) or al-Maghrib al-Arabi (the Arab Maghrib).[13][14]

Speakers of Berber languages call this region Tamazɣa or Tamazgha, which translates to "land of the Berbers".[15][16] Since the second half of the twentieth century, this term has been popularized by activists promoting Berberism.

Around 3,500 BC, changes in the tilt of the Earth's orbit appear to have caused a rapid desertification of the Sahara region[17] forming a natural barrier that severely limited contact between the Maghreb and sub-Saharan Africa. The Berber people have inhabited western North Africa since at least 10,000 BC.[18]

Partially isolated from the rest of the continent by the Atlas Mountains (stretching from present-day Morocco to present-day Tunisia) and by the Sahara desert, inhabitants of the northern parts of the Berber world have long had commercial and cultural ties across the Mediterranean Sea to the inhabitants of the regions of Southern Europe and Western Asia. These trade relations date back at least to the Phoenicians in the 1st millennium BC. (According to tradition, the Phoenicians founded their colony of Carthage (in present-day Tunisia) c.  800 BC).

Phoenicians and Carthaginians arrived for trade. The main Berber and Phoenician settlements centered in the Gulf of Tunis (Carthage, Utica, Tunisia) along the North African littoral, between the Pillars of Hercules and the Libyan coast east of ancient Cyrenaica. They dominated the trade and intercourse of the Western Mediterranean for centuries. Rome's defeat of Carthage in the Punic Wars (264 to 146 BC) enabled Rome to establish the Province of Africa (146 BC) and to control many of these ports. Rome eventually took control of the entire Maghreb north of the Atlas Mountains. Rome was greatly helped by the defection of Massinissa (later King of Numidia, r. 202 – 148 BC) and of Carthage's eastern Numidian Massylii client-allies. Some of the most mountainous regions, such as the Moroccan Rif, remained outside Roman control. Furthermore, during the rule of the Romans, Byzantines, Vandals and Carthaginians the Kabyle people were the only or one of the few in North Africa who remained independent.[19][20][21][22] The Kabyle people were incredibly resistible so much so that even during the Arab conquest of North Africa they still had control and possession over their mountains.[23][24]

The pressure put on the Western Roman Empire by the Barbarian invasions (notably by the Vandals and Visigoths in Iberia) in the 5th century AD reduced Roman control and led to the establishment of the Vandal Kingdom of North Africa in 430 A.D., with its capital at Carthage. A century later, the Byzantine emperor Justinian I sent (533) a force under General Belisarius that succeeded in destroying the Vandal Kingdom in 534. Byzantine rule lasted for 150 years. The Berbers contested the extent of Byzantine control.[25]

After the advent of Islam in Mediterranean Africa in the period from 639 to 700 AD, Arabs took control of the entire Maghreb region.

The Arabs reached the Maghreb in early Umayyad times. Islamic Berber kingdoms such as the Almohads expansion and the spread of Islam contributed to the development of trans-Saharan trade. While restricted due to the cost and dangers, the trade was highly profitable. Commodities traded included such goods as salt, gold, ivory, and enslaved persons from sub-Saharan regions. Arab control over the Maghreb was quite weak. Various Islamic variations, such as the Ibadis and the Shia, were adopted by some Berbers, often leading to scorning of Caliphal control in favour of their own interpretation of Islam.

As a result of the invasion of the Banu Hilal Arabs, the Arabic language and dialects spread slowly without eliminating Berber. These Arabs had been set upon the Berbers by the Fatimids in punishment for their Zirid former Berber clients who defected and abandoned Shiism in the 12th century. Throughout this period, the Berber world most often was divided into three states, roughly corresponding to modern Morocco, western Algeria, and eastern Algeria and Tunisia. The Maghreb region was occasionally briefly unified, as under the Almohad Berber empire, Fatimids and briefly under the Zirids. The Hammadids also managed to conquer land in all countries in the Maghreb region. [27][28][29]

After the 19th century, areas of the Maghreb were colonized by France, Spain and later Italy.

Today, more than two and a half million Maghrebi immigrants live in France, many from Algeria and Morocco. In addition, as of 1999 there were 3 million French of Maghrebi origin (defined as having at least one grandparent from Algeria, Morocco or Tunisia).[30] A 2003 estimate suggests six million French residents were ethnic Maghrebi.[31]

The Maghreb is primarily inhabited by peoples of Berber ancestral origin. Berbers are autochthonous to Algeria (80%), Libya (>60%), Morocco (80%), and Tunisia (>88%).[32] Ethnic French, Arab, West African, and Sephardic Jewish populations also inhabit the region.

Various other influences are also prominent throughout the Maghreb. In northern coastal towns in particular, several waves of European immigrants influenced the population in the Medieval era. Most notable were the moriscos and muladies, that is, the indigenous Spaniards (Moors) who were forcibly converted to Catholicism and later expelled, together with ethnic Arab and Berber Muslims, during the Spanish Catholic Reconquista. Other European contributions included French, Italian, and English crews and passengers taken captive by corsairs. In some cases, they were returned to families after being ransomed; in others, they were used as slaves or assimilated and adopted into tribes.[33]

Historically, the Maghreb was home to significant historic Jewish communities called Maghrebim, who predated the 7th-century introduction and conversion of the region to Islam. These were later augmented by Sephardic Jews from Spain and Portugal who, fleeing the Spanish Catholic Inquisition of the 15th and 16th centuries, established a presence in North Africa. They settled primarily in the urban trading centers.

Another significant group are Turks, who migrated with the expansion of the Ottoman Empire.

Sub-Saharan Africans joined the population mix during centuries of trans-Saharan trade. Traders and slaves went to the Maghreb from the Sahel region. On the Saharan southern edge of the Maghreb are small communities of black populations, sometimes called Haratine.

In Algeria especially, a large European minority, known as the "pied noirs", immigrated to the region, settling under French colonial rule in the late 19th century. They established farms and businesses. The overwhelming majority of these, however, left Algeria during and following the war for independence.[34]

In comparison to the population of France, the Maghrebi population was one-eighth of France's population in 1800, one-quarter in 1900, and equal in 2000. The Maghreb is home to 1% of the global population as of 2010.[35]

The Y-chromosome genetic structure of the Maghreb population seems to be modulated chiefly by geography. The Y-DNA Haplogroups E1b1b and J make up the vast majority of the genetic markers of the populations of the Maghreb. Haplogroup E1b1b is the most widespread among Maghrebi groups, especially the downstream lineage of E1b1b1b1a, which is typical of the indigenous Berbers of North-West Africa. Haplogroup J is more indicative of Middle East origins, and has its highest distribution among populations in Arabia and the Levant. Due to the distribution of E-M81(E1b1b1b1a), which has reached its highest documented levels in the world at 95–100% in some populations of the Maghreb, it has often been termed the "Berber marker" in the scientific literature. The second most common marker, Haplogroup J, especially J1,[36][37] which is typically Middle Eastern and originates in the Arabian peninsula, can reach frequencies of up to 35% in the region.[38][39] Its highest density is found in the Arabian Peninsula.[39] Haplogroup R1,[40] a Eurasian marker, has also been observed in the Maghreb, though with lower frequency. The Y-DNA haplogroups shown above are observed in both Arabic speakers and Berber-speakers.

The Maghreb Y chromosome pool (including both Arab and Berber populations) may be summarized for most of the populations as follows, where only two haplogroups E1b1b and J comprise generally more than 80% of the total chromosomes:[41][42][43][44][45][46][47][48]

The original religions of the peoples of the Maghreb seem[49] to have been based in and related to fertility cults of a strong matriarchal pantheon. This theory is based on the social and linguistic structures of the Amazigh cultures that antedated all Egyptian and eastern Asian, northern Mediterranean, and European influences.

Historic records of religion in the Maghreb region show its gradual inclusion in the Classical World, with coastal colonies established first by Phoenicians, some Greeks, and later extensive conquest and colonization by the Romans. By the 2nd century of the common era, the area had become a center of Phoenician-speaking Christianity. Its bishops spoke and wrote in Punic, and Emperor Septimius Severus was noted by his local accent. Roman settlers and Romanized populations converted to Christianity. The region produced figures such as Christian church writer Tertullian (c. 155 – c. 202); and Christian martyrs or leading figures such as Perpetua, and Felicity (martyrs, c. 200 CE); St. Cyprian of Carthage (+ 258); St. Monica; her son the philosopher St. Augustine, Bishop of Hippo I (+ 430) (1); and St. Julia of Carthage (5th century).

Islam arrived in 647 and challenged the domination of Christianity. The first permanent foothold of Islam was the founding in 667 of the city of Kairouan, in present-day Tunisia. Carthage fell to Muslims in 698 and the remainder of the region fell by 709. Islamization proceeded slowly.

From the end of the 7th century, over a period of more than 400 years, the region's peoples converted to Islam. Many left during this time for Italy, although surviving letters showed correspondence from regional Christians to Rome up until the 12th century. Christianity was still a living faith. Although there were numerous conversions after the conquest, Muslims did not become a majority until some time late in the 9th century. During the 10th century, Islam became by far the dominant religion in the region.[50] Christian bishoprics and dioceses continued to be active and continued their relations with the Christian Church of Rome. As late as the reign of Pope Benedict VII (974–983), a new Archbishop of Carthage was consecrated. From the 10th century, Christianity declined in the region.[51] By the end of the 11th century, only two bishops were left in Carthage and Hippo Regius. Pope Gregory VII (1073–85) consecrated a new bishop for Hippo. Christianity seems to have suffered several shocks that led to its demise. First, many upper-class, urban-dwelling, Latin-speaking Christians left for Europe after the Muslim conquest. The second major influence was the large-scale conversions to Islam from the end of the 9th century. Many Christians of a much reduced community departed in the mid-11th century, and remnants were evacuated in the 12th by the Norman rulers of Sicily. The Latin-African language lingered a while longer.

There was a small but thriving Jewish community, as well as a small Christian community. Most Muslims follow the Sunni Maliki school. Small Ibadi communities remain in some areas. A strong tradition of venerating marabouts and saints' tombs is found throughout regions inhabited by Berbers. This practice was also common among the Jews of the region. Any map of the region demonstrates the tradition by the proliferation of "Sidi"s, showing places named after the marabouts. This tradition has declined through the 20th century. A network of zaouias traditionally helped teach basic literacy and knowledge of Islam in rural regions.

Communities of Christians, mostly Catholics and Protestant, persist in Algeria (100,000–380,000),[52] Mauritania (10,000),[53] Morocco (~380,000),[54] Libya (170,000), and Tunisia (100,750).[55] Most of the Roman Catholics in Greater Maghreb are of French, Spanish, and Italian descent, with ancestors who immigrated during the colonial era. Some are foreign missionaries or immigrant workers. There are also Christian communities of Berber or Arab descent in Greater Maghreb, made up of persons who converted mostly during the modern era, or under and after French colonialism.[56][57] Prior to independence, Algeria was home to 1.4 million pieds-noirs (ethnic French who were mostly Catholic),[58] and Morocco was home to half a million Europeans,[59] Tunisia was home to 255,000 Europeans,[60] and Libya was home to 145,000 Europeans. In religion, most of the pieds-noirs in Maghreb are Catholic. Due to the exodus of the pieds-noirs in the 1960s, more North African Christians of Berber or Arab descent now live in France than in Greater Maghreb.

Recently, the Protestant community of Berber or Arab descent has grown significantly as additional individuals convert to Christianity, especially to Evangelicalism. This has occurred in Algeria,[61] especially in the Kabylie,[62] Morocco[63] and in Tunisia.[64]

A 2015 study estimates 380,000 Muslims converted to Christianity in Algeria.[65] The number of Moroccans who converted to Christianity (most of them secret worshipers) are estimated between 40,000[66]-150,000.[67][68] The International Religious Freedom Report for 2007 estimates thousands of Tunisian Muslims have converted to Christianity.[64] A 2015 study estimate some 1,500 believers in Christ from a Muslim background living in Libya.[69]

In the 10th century, as the social and political environment in Baghdad became increasingly hostile to Jews, some Jewish traders emigrated to the Maghreb, especially Kairouan, Tunisia. Over the following two or three centuries, such Jewish traders became known as the Maghribi, a distinctive social group who traveled throughout the Mediterranean world. They passed this identification on from father to son. Their tight-knit pan-Maghreb community had the ability to use social sanctions as a credible alternative to legal recourse, which was weak at the time anyway. This unique institutional alternative permitted the Maghribis to very successfully participate in the Mediterranean trade.[70]

The Maghreb is divided into a Mediterranean climate region in the north, and the arid Sahara in the south. The Maghreb's variations in elevation, rainfall, temperature, and soils give rise to distinct communities of plants and animals. The World Wide Fund for Nature (WWF) identifies several distinct ecoregions in the Maghreb.

The portions of the Maghreb between the Atlas Mountains and the Mediterranean Sea, along with coastal Tripolitania and Cyrenaica in Libya, are home to Mediterranean forests, woodlands, and scrub. These ecoregions share many species of plants and animals with other portions of Mediterranean Basin. The southern extent of the Mediterranean Maghreb corresponds with the 100 mm (3.9 in) isohyet, or the southern range of the European Olive (Olea europea)[71] and Esparto Grass (Stipa tenacissima).[72]

The Sahara extends across northern Africa from the Atlantic Ocean to the Red Sea. Its central part is hyper-arid and supports little plant or animal life, but the northern portion of the desert receives occasional winter rains, while the strip along the Atlantic coast receives moisture from marine fog, which nourishes a greater variety of plants and animals. The northern edge of the Sahara corresponds to the 100 mm isohyet, which is also the northern range of the date palm (Phoenix dactylifera).[72]

The countries of the Maghreb share many cultural traditions. Among these is a culinary tradition that Habib Bourguiba defined as Western Arab, where bread or couscous are the staple foods, as opposed to Eastern Arab, where bread or white rice are the staple foods.[citation needed] In terms of food, similarities beyond the starches are found throughout the Arab world.