Medieval Muslim Algeria
Encyclopedia
Medieval Muslim Algeria was a period of Muslim
Muslim
A Muslim, also spelled Moslem, is an adherent of Islam, a monotheistic, Abrahamic religion based on the Quran, which Muslims consider the verbatim word of God as revealed to prophet Muhammad. "Muslim" is the Arabic term for "submitter" .Muslims believe that God is one and incomparable...

 dominance in Algeria
Algeria
Algeria , officially the People's Democratic Republic of Algeria , also formally referred to as the Democratic and Popular Republic of Algeria, is a country in the Maghreb region of Northwest Africa with Algiers as its capital.In terms of land area, it is the largest country in Africa and the Arab...

 during the Middle Ages
Middle Ages
The Middle Ages is a periodization of European history from the 5th century to the 15th century. The Middle Ages follows the fall of the Western Roman Empire in 476 and precedes the Early Modern Era. It is the middle period of a three-period division of Western history: Classic, Medieval and Modern...

, roughly spanning the millennium from the 7th century to the 17th century. Unlike the invasions of previous religions and cultures, the coming of Islam
Islam
Islam . The most common are and .   : Arabic pronunciation varies regionally. The first vowel ranges from ~~. The second vowel ranges from ~~~...

, which was spread by Arabs, was to have pervasive and long-lasting effects on North Africa
North Africa
North Africa or Northern Africa is the northernmost region of the African continent, linked by the Sahara to Sub-Saharan Africa. Geopolitically, the United Nations definition of Northern Africa includes eight countries or territories; Algeria, Egypt, Libya, Morocco, South Sudan, Sudan, Tunisia, and...

. The new faith, in its various forms, would penetrate nearly all segments of society, bringing with it armies, learned men, and fervent mystics
Mysticism
Mysticism is the knowledge of, and especially the personal experience of, states of consciousness, i.e. levels of being, beyond normal human perception, including experience and even communion with a supreme being.-Classical origins:...

; in large part, it would replace tribal practices and loyalties with new social norms and political idioms.

Nonetheless, the Islamization and Arabization of the region were complicated and lengthy processes. Whereas nomadic Berbers
Berber people
Berbers are the indigenous peoples of North Africa west of the Nile Valley. They are continuously distributed from the Atlantic to the Siwa oasis, in Egypt, and from the Mediterranean to the Niger River. Historically they spoke the Berber language or varieties of it, which together form a branch...

 were quick to convert and assist the Arab invaders, not until the 12th century under the Almohad
Almohad
The Almohad Dynasty , was a Moroccan Berber-Muslim dynasty founded in the 12th century that established a Berber state in Tinmel in the Atlas Mountains in roughly 1120.The movement was started by Ibn Tumart in the Masmuda tribe, followed by Abd al-Mu'min al-Gumi between 1130 and his...

 Dynasty did the Christian
Christian
A Christian is a person who adheres to Christianity, an Abrahamic, monotheistic religion based on the life and teachings of Jesus of Nazareth as recorded in the Canonical gospels and the letters of the New Testament...

 and Jewish communities become totally marginalized.

The first Arab military expeditions into the Maghrib, between 642 and 669, resulted in the spread of Islam. These early forays from a base in Egypt
Egypt
Egypt , officially the Arab Republic of Egypt, Arabic: , is a country mainly in North Africa, with the Sinai Peninsula forming a land bridge in Southwest Asia. Egypt is thus a transcontinental country, and a major power in Africa, the Mediterranean Basin, the Middle East and the Muslim world...

 occurred under local initiative rather than under orders from the central caliph
Caliph
The Caliph is the head of state in a Caliphate, and the title for the ruler of the Islamic Ummah, an Islamic community ruled by the Shari'ah. It is a transcribed version of the Arabic word   which means "successor" or "representative"...

ate. When the seat of the caliphate moved from Medina
Medina
Medina , or ; also transliterated as Madinah, or madinat al-nabi "the city of the prophet") is a city in the Hejaz region of western Saudi Arabia, and serves as the capital of the Al Madinah Province. It is the second holiest city in Islam, and the burial place of the Islamic Prophet Muhammad, and...

 to Damascus
Damascus
Damascus , commonly known in Syria as Al Sham , and as the City of Jasmine , is the capital and the second largest city of Syria after Aleppo, both are part of the country's 14 governorates. In addition to being one of the oldest continuously inhabited cities in the world, Damascus is a major...

, however, the Umayyads (a Muslim dynasty ruling from 661 to 750) recognized that the strategic necessity of dominating the Mediterranean dictated a concerted military effort on the North African front. In 670, therefore, an Arab army under Uqba ibn Nafi
Uqba ibn Nafi
Uqba ibn Nafi was an Arab hero and general who was serving the Umayyad dynasty, in Amir Muavia and Yazid periods, who began the Islamic conquest of the Maghreb, including present-day Algeria, Tunisia, Libya and Morocco in North Africa. He was the nephew of 'Amr ibn al-'As. Uqba is often surnamed...

 established the town of Al Qayrawan
Kairouan
Kairouan , also known as Kirwan or al-Qayrawan , is the capital of the Kairouan Governorate in Tunisia. Referred to as the Islamic Cultural Capital, it is a UNESCO World Heritage site. The city was founded by the Arabs around 670...

 about 160 kilometers south of present-day Tunis
Tunis
Tunis is the capital of both the Tunisian Republic and the Tunis Governorate. It is Tunisia's largest city, with a population of 728,453 as of 2004; the greater metropolitan area holds some 2,412,500 inhabitants....

 and used it as a base for further operations.

Abu al Muhajir Dinar, Uqba's successor, pushed westward into Algeria and eventually worked out a modus vivendi with Kusayla, the ruler of an extensive confederation of Christian Berbers. Kusayla, who had been based in Tilimsan (Tlemcen
Tlemcen
Tlemcen is a town in Northwestern Algeria, and the capital of the province of the same name. It is located inland in the center of a region known for its olive plantations and vineyards...

), became a Muslim and moved his headquarters to Takirwan, near Al Qayrawan.

This harmony was short-lived, however. Arab and Berber forces controlled the region in turn until 697. By 711, Umayyad forces helped by Berber converts to Islam had conquered all of North Africa. Governors appointed by the Umayyad caliphs ruled from Al Qayrawan, capital of the new wilaya (province) of Ifriqiya
Ifriqiya
In medieval history, Ifriqiya or Ifriqiyah was the area comprising the coastal regions of what are today western Libya, Tunisia, and eastern Algeria. This area included what had been the Roman province of Africa, whose name it inherited....

, which covered Tripolitania
Tripolitania
Tripolitania or Tripolitana is a historic region and former province of Libya.Tripolitania was a separate Italian colony from 1927 to 1934...

 (the western part of present-day Libya), Tunisia
Tunisia
Tunisia , officially the Tunisian RepublicThe long name of Tunisia in other languages used in the country is: , is the northernmost country in Africa. It is a Maghreb country and is bordered by Algeria to the west, Libya to the southeast, and the Mediterranean Sea to the north and east. Its area...

, and eastern Algeria.

Paradoxically, the spread of Islam among the Berbers did not guarantee their support for the Arab-dominated caliphate. The ruling Arabs alienated the Berbers by taxing them heavily; treating converts as second-class Muslims; and, at worst, by enslaving them. As a result, widespread opposition took the form of open revolt in 739–40 under the banner of Kharijite Islam
Kharijites
Kharijites is a general term embracing various Muslims who, while initially supporting the authority of the final Rashidun Caliph Ali ibn Abi Talib, the son-in-law and cousin of the Islamic prophet Muhammad, then later rejected his leadership...

. The Kharijites objected to Ali
Ali
' |Ramaḍān]], 40 AH; approximately October 23, 598 or 600 or March 17, 599 – January 27, 661).His father's name was Abu Talib. Ali was also the cousin and son-in-law of the Islamic prophet Muhammad, and ruled over the Islamic Caliphate from 656 to 661, and was the first male convert to Islam...

, the fourth caliph, making peace with the Umayyads in 657 and left Ali's camp (khariji means "those who leave"). The Kharijites had been fighting Umayyad
Umayyad
The Umayyad Caliphate was the second of the four major Arab caliphates established after the death of Muhammad. It was ruled by the Umayyad dynasty, whose name derives from Umayya ibn Abd Shams, the great-grandfather of the first Umayyad caliph. Although the Umayyad family originally came from the...

 rule in the East, and many Berbers were attracted by the sect's egalitarian precepts. For example, according to Kharijism, any suitable Muslim candidate could be elected caliph without regard to race, station, or descent from the Prophet Muhammad
Muhammad
Muhammad |ligature]] at U+FDF4 ;Arabic pronunciation varies regionally; the first vowel ranges from ~~; the second and the last vowel: ~~~. There are dialects which have no stress. In Egypt, it is pronounced not in religious contexts...

.

After the revolt, Kharijites established a number of theocratic tribal kingdoms, most of which had short and troubled histories. Others, however, like Sijilmasa
Sijilmasa
Sijilmasa was a medieval trade entrepôt at the northern edge of the Sahara Desert in Morocco. The ruins of the town lie along the River Ziz in the Tafilalt oasis near the town of Rissani...

 and Tilimsan
Tlemcen
Tlemcen is a town in Northwestern Algeria, and the capital of the province of the same name. It is located inland in the center of a region known for its olive plantations and vineyards...

, which straddled the principal trade routes, proved more viable and prospered. In 750 the Abbasids, who succeeded the Umayyads as Muslim rulers, moved the caliphate to Baghdad
Baghdad
Baghdad is the capital of Iraq, as well as the coterminous Baghdad Governorate. The population of Baghdad in 2011 is approximately 7,216,040...

 and reestablished caliphal authority in Ifriqiya, appointing Ibrahim ibn al Aghlab as governor in Al Qayrawan. Although nominally serving at the caliph's pleasure, Al Aghlab and his successors, the Aghlabid
Aghlabid
The Aghlabids were a dynasty of emirs, members of the Arab tribe of Bani Tamim, who ruled Ifriqiya, nominally on behalf of the Abbasid Caliph, for about a century, until overthrown by the new power of the Fatimid.-History:...

s, ruled independently until 909, presiding over a court that became a center for learning and culture.

Just to the west of Aghlabid lands, Abd ar Rahman ibn Rustam ruled most of the central Maghrib from Tahert
Tahert
Tiaret is a large town in the central Algeria, that gives its name to the wider farming region of 'Wilaya de Tiaret' province. Both the town and region lie south-west of the capital of Algiers in the western region of the central highlands, in the Tell Atlas, and about from the Mediterranean coast...

, southwest of Algiers
Algiers
' is the capital and largest city of Algeria. According to the 1998 census, the population of the city proper was 1,519,570 and that of the urban agglomeration was 2,135,630. In 2009, the population was about 3,500,000...

. The rulers of the Rustamid
Rustamid
The Rustamid dynasty of Ibāḍī Kharijite imām that ruled the central Maghreb as a Muslim theocracy for a century and a half from their capital Tahert in present Algeria until the Ismailite Fatimid Caliphs destroyed it. The dynasty had a Persian origin...

 imamate, which lasted from 761 to 909, each an Ibadi
Ibadi
The Ibāḍī movement, Ibadism or Ibāḍiyya is a form of Islam distinct from the Sunni and Shia denominations. It is the dominant form of Islam in Oman and Zanzibar...

 Kharijite imam
Imam
An imam is an Islamic leadership position, often the worship leader of a mosque and the Muslim community. Similar to spiritual leaders, the imam is the one who leads Islamic worship services. More often, the community turns to the mosque imam if they have a religious question...

, were elected by leading citizens. The imams gained a reputation for honesty, piety, and justice. The court at Tahert was noted for its support of scholarship in mathematics
Mathematics
Mathematics is the study of quantity, space, structure, and change. Mathematicians seek out patterns and formulate new conjectures. Mathematicians resolve the truth or falsity of conjectures by mathematical proofs, which are arguments sufficient to convince other mathematicians of their validity...

, astronomy
Astronomy
Astronomy is a natural science that deals with the study of celestial objects and phenomena that originate outside the atmosphere of Earth...

, and astrology
Astrology
Astrology consists of a number of belief systems which hold that there is a relationship between astronomical phenomena and events in the human world...

, as well as theology and law. The Rustamid imams, however, failed, by choice or by neglect, to organize a reliable standing army. This important factor, accompanied by the dynasty's eventual collapse into decadence, opened the way for Tahert's demise under the assault of the Fatimids.

Banu Ifran

In Algeria
Algeria
Algeria , officially the People's Democratic Republic of Algeria , also formally referred to as the Democratic and Popular Republic of Algeria, is a country in the Maghreb region of Northwest Africa with Algiers as its capital.In terms of land area, it is the largest country in Africa and the Arab...

, Tlemcen
Tlemcen
Tlemcen is a town in Northwestern Algeria, and the capital of the province of the same name. It is located inland in the center of a region known for its olive plantations and vineyards...

 was the capital of the Kingdom of Banu Ifran in the time period before Islam to 1068. The Banu Ifran
Banu Ifran
The Ifranids, also called Banu Ifran, Ifran, or the children of the Afri , were a Berber tribe prominent in the history of pre-Islamic and early Islamic North Africa....

 waged uprisings against the foreign occupiers: the Romans
Ancient Rome
Ancient Rome was a thriving civilization that grew on the Italian Peninsula as early as the 8th century BC. Located along the Mediterranean Sea and centered on the city of Rome, it expanded to one of the largest empires in the ancient world....

, the Vandals
Vandals
The Vandals were an East Germanic tribe that entered the late Roman Empire during the 5th century. The Vandals under king Genseric entered Africa in 429 and by 439 established a kingdom which included the Roman Africa province, besides the islands of Sicily, Corsica, Sardinia and the Balearics....

, and the Byzantines
Byzantine Empire
The Byzantine Empire was the Eastern Roman Empire during the periods of Late Antiquity and the Middle Ages, centred on the capital of Constantinople. Known simply as the Roman Empire or Romania to its inhabitants and neighbours, the Empire was the direct continuation of the Ancient Roman State...

. They pledged to the side of the Kahina
Kahina
al-Kāhina was a 7th century female Berber religious and military leader, who led indigenous resistance to Arab expansion in Northwest Africa, the region then known as Numidia, known as the Maghreb today...

, against the Umayyad
Umayyad
The Umayyad Caliphate was the second of the four major Arab caliphates established after the death of Muhammad. It was ruled by the Umayyad dynasty, whose name derives from Umayya ibn Abd Shams, the great-grandfather of the first Umayyad caliph. Although the Umayyad family originally came from the...

 in the 7th century. In the 8th century, they mobilize around the dogma of sufri
Sufri
The Sufris were a Khariji sect of Islam that existed in the 7th and 8th centuries. They established the Midrarid state at Sijilmassa.In Algeria , the Banu Ifran were Sufri Berbers who opposed Umayyad, Abbasids and Fatimid rule, most notably under resistance movements led by Abu Qurra and Abu...

 to revolt against the powers of the Umayyad and Abbasids. In the 10th century, they created a dynasty facing the Fatimids, the Zirid
Zirid
The Zirid dynasty were a Sanhadja Berber dynasty, originating in modern Algeria, initially on behalf of the Fatimids, for about two centuries, until weakened by the Banu Hilal and finally destroyed by the Almohads. Their capital was Kairouan...

, the Umayyad, the Hammadid
Hammadid
The Hammadids were a Berber dynasty who ruled an area roughly corresponding to north-eastern modern Algeria for about a century and a half , until they were destroyed by the Almohads...

, and the Maghraoua. The Banu Ifran was defeated by the Almoravids
Almoravids
The Almoravids were a Berber dynasty of Morocco, who formed an empire in the 11th-century that stretched over the western Maghreb and Al-Andalus. Their capital was Marrakesh, a city which they founded in 1062 C.E...

 and the coalition of Banu Hilal
Banu Hilal
The Banu Hilal were a confederation of Arabian Bedouin tribes that migrated from Upper Egypt into North Africa in the 11th century, having been sent by the Fatimids to punish the Zirids for abandoning Shiism. Other authors suggest that the tribes left the grasslands on the upper Nile because of...

 and Banu Sulaym - Hammadid, towards the end of 11th century.
The Ifrenides dynasty was recognized as the only dynasty that has defended the Africans People in the Maghreb.

Fatimids

In the closing decades of the 9th century, missionaries of the Ismaili
Ismaili
' is a branch of Shia Islam. It is the second largest branch of Shia Islam, after the Twelvers...

 sect of Shia Islam converted the Kutama
Kutama
The Kutama were a powerful Berber tribe, in the region of Jijel , a member of the great Sanhaja confederation of the Maghrib and the armed body of the Fatimid Caliphate.-Origins of the Kutama:...

 Berbers
Berber people
Berbers are the indigenous peoples of North Africa west of the Nile Valley. They are continuously distributed from the Atlantic to the Siwa oasis, in Egypt, and from the Mediterranean to the Niger River. Historically they spoke the Berber language or varieties of it, which together form a branch...

 of what was later known as the Petite Kabylie
Petite Kabylie
The Petite Kabylie or Petite Kabylia is a mountainous region of Northern Algeria. The Kabyle people themselves know it as Tamurt Idurar or Tamurt n Leqvayel...

 region and led them in battle against the Sunni rulers of Ifriqiya
Ifriqiya
In medieval history, Ifriqiya or Ifriqiyah was the area comprising the coastal regions of what are today western Libya, Tunisia, and eastern Algeria. This area included what had been the Roman province of Africa, whose name it inherited....

. Al Qayrawan fell to them in 909. The Ismaili imam, Ubaydallah, declared himself caliph and established Mahdia as his capital. Ubaydallah initiated the Fatimid Dynasty, named after Fatima, daughter of Muhammad and wife of Ali, from whom the caliph claimed descent.

The Fatimid
Fatimid
The Fatimid Islamic Caliphate or al-Fāṭimiyyūn was a Berber Shia Muslim caliphate first centered in Tunisia and later in Egypt that ruled over varying areas of the Maghreb, Sudan, Sicily, the Levant, and Hijaz from 5 January 909 to 1171.The caliphate was ruled by the Fatimids, who established the...

s turned westward in 911, destroying the imamate of Tahert
Tahert
Tiaret is a large town in the central Algeria, that gives its name to the wider farming region of 'Wilaya de Tiaret' province. Both the town and region lie south-west of the capital of Algiers in the western region of the central highlands, in the Tell Atlas, and about from the Mediterranean coast...

 and conquering Sijilmasa
Sijilmasa
Sijilmasa was a medieval trade entrepôt at the northern edge of the Sahara Desert in Morocco. The ruins of the town lie along the River Ziz in the Tafilalt oasis near the town of Rissani...

 in Morocco
Morocco
Morocco , officially the Kingdom of Morocco , is a country located in North Africa. It has a population of more than 32 million and an area of 710,850 km², and also primarily administers the disputed region of the Western Sahara...

. Ibadi
Ibadi
The Ibāḍī movement, Ibadism or Ibāḍiyya is a form of Islam distinct from the Sunni and Shia denominations. It is the dominant form of Islam in Oman and Zanzibar...

 Kharijite refugees from Tahert fled south to the oasis at Ouargla
Ouargla
Ouargla is the capital city of Ouargla province, in the Sahara Desert, in southern Algeria. It has a flourishing oil industry, and hosts one of Algeria's universities. The city had a population of 129,402 in 1998 ....

 beyond the Atlas Mountains
Atlas Mountains
The Atlas Mountains is a mountain range across a northern stretch of Africa extending about through Morocco, Algeria, and Tunisia. The highest peak is Toubkal, with an elevation of in southwestern Morocco. The Atlas ranges separate the Mediterranean and Atlantic coastlines from the Sahara Desert...

, whence in the 11th century they moved southwest to Oued M'zab
M'zab
The M'zab or Mzab, , is a region of the northern Sahara, in the Ghardaïa wilaya, an administrative division similar to a province, of Algeria...

. Maintaining their cohesion and beliefs over the centuries, Ibadi religious leaders have dominated public life in the region to this day.

For many years, the Fatimids posed a threat to Morocco, but their deepest ambition was to rule the East, the Mashriq, which included Egypt
Egypt
Egypt , officially the Arab Republic of Egypt, Arabic: , is a country mainly in North Africa, with the Sinai Peninsula forming a land bridge in Southwest Asia. Egypt is thus a transcontinental country, and a major power in Africa, the Mediterranean Basin, the Middle East and the Muslim world...

 and Muslim lands beyond. By 969, they had conquered Egypt and in 972, the Fatimid ruler Al Muizz established the new city of Cairo
Cairo
Cairo , is the capital of Egypt and the largest city in the Arab world and Africa, and the 16th largest metropolitan area in the world. Nicknamed "The City of a Thousand Minarets" for its preponderance of Islamic architecture, Cairo has long been a centre of the region's political and cultural life...

 as his capital. The Fatimids left the rule of Ifriqiya and most of Algeria to the Zirids (972–1148). This Berber dynasty, which had founded the towns of Miliana
Miliana
Miliana is a town in Ain Defla Province, northwestern Algeria. It is approximately 160 km southwest of the Algerian capital, Algiers. The population was estimated at 40,000 in 2005...

, Médéa
Medea
Medea is a woman in Greek mythology. She was the daughter of King Aeëtes of Colchis, niece of Circe, granddaughter of the sun god Helios, and later wife to the hero Jason, with whom she had two children, Mermeros and Pheres. In Euripides's play Medea, Jason leaves Medea when Creon, king of...

, and Algiers
Algiers
' is the capital and largest city of Algeria. According to the 1998 census, the population of the city proper was 1,519,570 and that of the urban agglomeration was 2,135,630. In 2009, the population was about 3,500,000...

 and centered significant local power in Algeria for the first time, turned over its domain west of Ifriqiya to the Banu Hammad branch of its family. The Hammadids ruled from 1011 to 1151, during which time Bejaïa became the most important port in North Africa
North Africa
North Africa or Northern Africa is the northernmost region of the African continent, linked by the Sahara to Sub-Saharan Africa. Geopolitically, the United Nations definition of Northern Africa includes eight countries or territories; Algeria, Egypt, Libya, Morocco, South Sudan, Sudan, Tunisia, and...

.

This period was marked by constant conflict, political instability, and economic decline. The Hammadid
Hammadid
The Hammadids were a Berber dynasty who ruled an area roughly corresponding to north-eastern modern Algeria for about a century and a half , until they were destroyed by the Almohads...

s, by rejecting the Ismaili doctrine for Sunni orthodoxy and renouncing submission to the Fatimids, initiated chronic conflict with the Zirids. Two great Berber confederations – the Sanhaja
Sanhaja
The Sanhaja or Senhaja were once one of the largest Berber tribal confederations of the Maghreb, along with the Zanata and Masmuda...

 and the Zenata
Zenata
Zenata were an ethnic group of North Africa, who were technically an Eastern Berber group and who are found in Tunisia, Algeria and Morocco....

 – engaged in an epic struggle. The fiercely brave, camelborne nomads of the western desert and steppe as well as the sedentary farmers of the Kabylie to the east swore allegiance to the Sanhaja. Their traditional enemies, the Zenata
Zenata
Zenata were an ethnic group of North Africa, who were technically an Eastern Berber group and who are found in Tunisia, Algeria and Morocco....

, were tough, resourceful horsemen from the cold plateau of the northern interior of Morocco
Rif
The Rif or Riff is a mainly mountainous region of northern Morocco, with some fertile plains, stretching from Cape Spartel and Tangier in the west to Ras Kebdana and the Melwiyya River in the east, and from the Mediterranean Sea in the north to the river of Wergha in the south.It is part of the...

 and the western Tell in Algeria.

In addition, raiders from Genoa
Genoa
Genoa |Ligurian]] Zena ; Latin and, archaically, English Genua) is a city and an important seaport in northern Italy, the capital of the Province of Genoa and of the region of Liguria....

, Pisa
Pisa
Pisa is a city in Tuscany, Central Italy, on the right bank of the mouth of the River Arno on the Tyrrhenian Sea. It is the capital city of the Province of Pisa...

, and Norman
Normans
The Normans were the people who gave their name to Normandy, a region in northern France. They were descended from Norse Viking conquerors of the territory and the native population of Frankish and Gallo-Roman stock...

 Sicily
Sicily
Sicily is a region of Italy, and is the largest island in the Mediterranean Sea. Along with the surrounding minor islands, it constitutes an autonomous region of Italy, the Regione Autonoma Siciliana Sicily has a rich and unique culture, especially with regard to the arts, music, literature,...

 attacked ports and disrupted coastal trade. Trans-Saharan trade shifted to Fatimid Egypt and to routes in the west leading to Spanish markets. The countryside was being overtaxed by growing cities.

Contributing to these political and economic dislocations was a large incursion of Arab beduin from Egypt starting in the first half of the 11th century. Part of this movement was an invasion by the Banu Hilal
Banu Hilal
The Banu Hilal were a confederation of Arabian Bedouin tribes that migrated from Upper Egypt into North Africa in the 11th century, having been sent by the Fatimids to punish the Zirids for abandoning Shiism. Other authors suggest that the tribes left the grasslands on the upper Nile because of...

 and Banu Sulaym tribes, apparently sent by the Fatimids to weaken the Zirids. These Arab beduin overcame the Zirids and Hammadids and in 1057 sacked Al Qayrawan. They sent farmers fleeing from the fertile plains to the mountains and left cities and towns in ruin.

For the first time, the extensive use of Arabic
Arabic language
Arabic is a name applied to the descendants of the Classical Arabic language of the 6th century AD, used most prominently in the Quran, the Islamic Holy Book...

 spread to the countryside. Many sedentary Berbers who sought protection from the Hilalians were gradually Arabized.

Almoravids

The Almoravid movement developed early in the 11th century among the Sanhaja of the western Sahara, whose control of trans-Saharan trade routes was under pressure from the Zenata Berbers in the north and the state of Ghana in the south. Yahya ibn Ibrahim al Jaddali, a leader of the Lamtuna
Lamtuna
The Lamtuna were a powerful nomadic Berber tribe belonging to the Senhaja inhabiting the western Sahara.During the eighth century the Lamtuna created a kingdom out of a confederation of Berber tribes, which they dominated until the early tenth century. The Lamtuna probably did not convert to Islam...

 tribe of the Sanhaja confederation, decided to raise the level of Islamic knowledge and practice among his people. To accomplish this, on his return from the hajj
Hajj
The Hajj is the pilgrimage to Mecca, Saudi Arabia. It is one of the largest pilgrimages in the world, and is the fifth pillar of Islam, a religious duty that must be carried out at least once in their lifetime by every able-bodied Muslim who can afford to do so...

 (Muslim pilgrimage to Mecca) in 1048–1049, he brought with him Abd Allah ibn Yasin al Juzuli, a Moroccan scholar. In the early years of the movement, the scholar was concerned only with imposing moral discipline and a strict adherence to Islamic principles among his followers. Abd Allah ibn Yasin also became known as one of the marabouts, or holy persons (from al murabitun, "those who have made a religious retreat").

The Almoravid movement shifted from promoting religious reform to engaging in military conquest after 1054 and was led by Lamtuna
Lamtuna
The Lamtuna were a powerful nomadic Berber tribe belonging to the Senhaja inhabiting the western Sahara.During the eighth century the Lamtuna created a kingdom out of a confederation of Berber tribes, which they dominated until the early tenth century. The Lamtuna probably did not convert to Islam...

 leaders: first Yahya, then his brother Abu Bakr, and then his cousin Yusuf ibn Tashfin
Yusuf ibn Tashfin
Yusef ibn Tashfin also, Tashafin, or Teshufin; or Yusuf; was a king of the Almoravid empire, he founded the city of Marrakech and led the Muslim forces in the Battle of Zallaqa....

. With Marrakech
Marrakech
Marrakech or Marrakesh , known as the "Ochre city", is the most important former imperial city in Morocco's history...

 as their capital, the Almoravids
Almoravids
The Almoravids were a Berber dynasty of Morocco, who formed an empire in the 11th-century that stretched over the western Maghreb and Al-Andalus. Their capital was Marrakesh, a city which they founded in 1062 C.E...

 had conquered Morocco, the Maghrib as far east as Algiers, and Spain
Spain
Spain , officially the Kingdom of Spain languages]] under the European Charter for Regional or Minority Languages. In each of these, Spain's official name is as follows:;;;;;;), is a country and member state of the European Union located in southwestern Europe on the Iberian Peninsula...

 up to the Ebro River by 1106. Under the Almoravids, the Maghrib and Spain acknowledged the spiritual authority of the Abbasid caliphate in Baghdad
Baghdad
Baghdad is the capital of Iraq, as well as the coterminous Baghdad Governorate. The population of Baghdad in 2011 is approximately 7,216,040...

, reuniting them temporarily with the Islamic community in the Mashriq.

Although it was not an entirely peaceful time, North Africa benefited economically and culturally during the Almoravid period, which lasted until 1147. Muslim Spain (Andalus in Arabic) was a great source of artistic and intellectual inspiration. The most famous writers of Andalus worked in the Almoravid court, and the builders of the Grand Mosque of Tilimsan, completed in 1136, used as a model the Grand Mosque of Córdoba.

Almohads

Like the Almoravids, the Almohad
Almohad
The Almohad Dynasty , was a Moroccan Berber-Muslim dynasty founded in the 12th century that established a Berber state in Tinmel in the Atlas Mountains in roughly 1120.The movement was started by Ibn Tumart in the Masmuda tribe, followed by Abd al-Mu'min al-Gumi between 1130 and his...

s found their initial inspiration in Islamic reform
Almohad Reforms
The golden age for Jews in Spain is considered to be under the relative lax rule of the Muslim Caliphates in al-Andalus. It was generally a time when Jews were free to conduct business, participate in government, and practice their religion without fear of persecution. However, to say that...

. Their spiritual leader, the Moroccan Muhammad ibn Abdallah ibn Tumart, sought to reform Almoravid decadence. Rejected in Marrakech and other cities, he turned to his Masmuda tribe in the Atlas Mountains for support. Because of their emphasis on the unity of God
God
God is the English name given to a singular being in theistic and deistic religions who is either the sole deity in monotheism, or a single deity in polytheism....

, his followers were known as Al Muwahhidun (unitarians, or Almohads).

Although declaring himself mahdi
Mahdi
In Islamic eschatology, the Mahdi is the prophesied redeemer of Islam who will stay on Earth for seven, nine or nineteen years- before the Day of Judgment and, alongside Jesus, will rid the world of wrongdoing, injustice and tyranny.In Shia Islam, the belief in the Mahdi is a "central religious...

, imam
Imam
An imam is an Islamic leadership position, often the worship leader of a mosque and the Muslim community. Similar to spiritual leaders, the imam is the one who leads Islamic worship services. More often, the community turns to the mosque imam if they have a religious question...

, and masum (infallible leader sent by God), Muhammad ibn Abdallah ibn Tumart consulted with a council of ten of his oldest disciples. Influenced by the Berber tradition of representative government, he later added an assembly composed of fifty leaders from various tribes. The Almohad rebellion began in 1125 with attacks on Moroccan cities, including Sus
Sous
The Sous or Souss is a region in southern Morocco. Geologically, it is the alluvial basin of the Oued Sous , separated from the Sahara by the Anti-Atlas Mountains...

 and Marrakech
Marrakech
Marrakech or Marrakesh , known as the "Ochre city", is the most important former imperial city in Morocco's history...

.

Upon Muhammad ibn Abdallah ibn Tumart
Ibn Tumart
Abu Abd Allah Muhammad Ibn Tumart was a Berber religious Muslim scholar, teacher and later a political leader from the Masmuda tribe federation. He founded the Berber Almohad dynasty. He is also known as El-Mahdi in reference to his prophesied redeeming...

's death in 1130, his successor Abd al Mumin took the title of caliph and placed members of his own family in power, converting the system into a traditional monarchy
Monarchy
A monarchy is a form of government in which the office of head of state is usually held until death or abdication and is often hereditary and includes a royal house. In some cases, the monarch is elected...

. The Almohads entered Spain at the invitation of the Andalusian amirs, who had risen against the Almoravids there. Abd al Mumin forced the submission of the amirs and reestablished the caliphate of Córdoba
Caliphate of Córdoba
The Caliphate of Córdoba ruled the Iberian peninsula and part of North Africa, from the city of Córdoba, from 929 to 1031. This period was characterized by remarkable success in trade and culture; many of the masterpieces of Islamic Iberia were constructed in this period, including the famous...

, giving the Almohad sultan supreme religious as well as political authority within his domains. The Almohads took control of Morocco in 1146, captured Algiers around 1151, and by 1160 had completed the conquest of the central Maghrib and advanced to Tripolitania. Nonetheless, pockets of Almoravid resistance continued to hold out in the Kabylie for at least fifty years.

After Abd al Mumin's death in 1163, his son Abu Yaqub Yusuf
Abu Yaqub Yusuf
Abu Ya`qub Yusuf or Yusuf I was the second Almohad Amir or caliph. He reigned from 1163 until 1184. He had the Giralda in Seville built....

 (r. 1163–84) and grandson Yaqub al Mansur (r. 1184–99) presided over the zenith of Almohad power. For the first time, the Maghrib was united under a local regime, and although the empire was troubled by conflict on its fringes, handcrafts and agriculture flourished at its center and an efficient bureaucracy filled the tax coffers. In 1229, the Almohad court renounced the teachings of Muhammad ibn Tumart, opting instead for greater tolerance and a return to the Maliki
Maliki
The ' madhhab is one of the schools of Fiqh or religious law within Sunni Islam. It is the second-largest of the four schools, followed by approximately 25% of Muslims, mostly in North Africa, West Africa, the United Arab Emirates, Kuwait, and in some parts of Saudi Arabia...

 school of law. As evidence of this change, the Almohads hosted two of the greatest thinkers of Andalus: Abu Bakr ibn Tufayl
Ibn Tufail
Ibn Tufail was an Andalusian Muslim polymath: an Arabic writer, novelist, Islamic philosopher, Islamic theologian, physician, vizier,...

 and Ibn Rushd (Averroes).

The Almohads shared the crusading instincts of their Castilian
Kingdom of Castile
Kingdom of Castile was one of the medieval kingdoms of the Iberian Peninsula. It emerged as a political autonomous entity in the 9th century. It was called County of Castile and was held in vassalage from the Kingdom of León. Its name comes from the host of castles constructed in the region...

 adversaries, but the continuing wars in Spain overtaxed their resources. In the Maghrib, the Almohad position was compromised by factional strife and was challenged by a renewal of tribal warfare. The Bani Merin (Zenata Berbers) took advantage of declining Almohad power to establish a tribal state in Morocco, initiating nearly sixty years of warfare there that concluded with their capture of Marrakech, the last Almohad stronghold, in 1271. Despite repeated efforts to subjugate the central Maghrib, however, the Marinids were never able to restore the frontiers of the Almohad Empire.

Zayyanids

From its capital at Tunis
Tunis
Tunis is the capital of both the Tunisian Republic and the Tunis Governorate. It is Tunisia's largest city, with a population of 728,453 as of 2004; the greater metropolitan area holds some 2,412,500 inhabitants....

, the Hafsid dynasty made good its claim to be the legitimate successor of the Almohads in Ifriqiya
Ifriqiya
In medieval history, Ifriqiya or Ifriqiyah was the area comprising the coastal regions of what are today western Libya, Tunisia, and eastern Algeria. This area included what had been the Roman province of Africa, whose name it inherited....

, while, in the central Maghrib, the Zayyanids founded a dynasty at Tlemcen
Tlemcen
Tlemcen is a town in Northwestern Algeria, and the capital of the province of the same name. It is located inland in the center of a region known for its olive plantations and vineyards...

. Based on a Zenata tribe, the Bani Abd el Wad, which had been settled in the region by Abd al Mumin, the Zayyanids also emphasized their links with the Almohads.

For more than 300 years, until the region came under Ottoman suzerainty in the 16th century, the Zayyanids kept a tenuous hold in the central Maghrib. The regime, which depended on the administrative skills of Andalusians, was plagued by frequent rebellions but learned to survive as the vassal of the Marinid
Marinid
The Marinid dynasty or Benemerine dynasty was a Zenata Berber dynasty of Morocco. The Marinid dynasty overtook the Almohads in controlling Morocco in 1244. They controlled most of the Maghreb from the mid-14th century to the 15th century and supported the Kingdom of Granada in Al-Andalus in the...

s or Hafsids or later as an ally of Spain.

Many coastal cities defied the ruling dynasties and asserted their autonomy as municipal republics. They were governed by their merchant oligarchies, by tribal chieftains from the surrounding countryside, or by the privateer
Privateer
A privateer is a private person or ship authorized by a government by letters of marque to attack foreign shipping during wartime. Privateering was a way of mobilizing armed ships and sailors without having to spend public money or commit naval officers...

s who operated out of their ports.

Tlemcen
Tlemcen
Tlemcen is a town in Northwestern Algeria, and the capital of the province of the same name. It is located inland in the center of a region known for its olive plantations and vineyards...

 prospered as a commercial center and was called the "pearl of the Maghrib." Situated at the head of the Imperial Road through the strategic Taza Gap to Marrakech
Marrakech
Marrakech or Marrakesh , known as the "Ochre city", is the most important former imperial city in Morocco's history...

, the city controlled the caravan route to Sijilmasa
Sijilmasa
Sijilmasa was a medieval trade entrepôt at the northern edge of the Sahara Desert in Morocco. The ruins of the town lie along the River Ziz in the Tafilalt oasis near the town of Rissani...

, gateway for the gold and slave trade with the western Sudan. Aragon
Aragon
Aragon is a modern autonomous community in Spain, coextensive with the medieval Kingdom of Aragon. Located in northeastern Spain, the Aragonese autonomous community comprises three provinces : Huesca, Zaragoza, and Teruel. Its capital is Zaragoza...

 came to control commerce between Tlemcen's port, Oran
Oran
Oran is a major city on the northwestern Mediterranean coast of Algeria, and the second largest city of the country.It is the capital of the Oran Province . The city has a population of 759,645 , while the metropolitan area has a population of approximately 1,500,000, making it the second largest...

, and Europe beginning about 1250. An outbreak of privateering out of Aragon, however, severely disrupted this trade after about 1420.

Marabouts

The successor dynasties in North Africa—Marinids, Zayanids, and Hasfids—did not base their power on a program of religious reform as their predecessors had done. Of necessity, they compromised with rural cult
Cult
The word cult in current popular usage usually refers to a group whose beliefs or practices are considered abnormal or bizarre. The word originally denoted a system of ritual practices...

s that had survived the triumph of puritanical orthodoxy
Orthodoxy
The word orthodox, from Greek orthos + doxa , is generally used to mean the adherence to accepted norms, more specifically to creeds, especially in religion...

 in the 12th century despite the efforts of the Almoravids and Almohads to stamp them out.

The aridity of official Islam had little appeal outside the mosques and schools of the cities. In the countryside, wandering marabout
Marabout
A marabout is a Muslim religious leader and teacher in West Africa, and in the Maghreb. The marabout is often a scholar of the Qur'an, or religious teacher. Others may be wandering holy men who survive on alms, Sufi Murshids , or leaders of religious communities...

s, or holy people, drew a large and devoted following. These men and women were believed to possess divine grace (baraka) or to be able to channel it to others. In life, the marabouts offered spiritual guidance, arbitrated disputes, and often wielded political power. After death, their cults—some local, others widespread—erected domed tombs that became sites of pilgrimage.

Many tribes claimed descent from marabouts. In addition, small, autonomous republics led by holy men became a common form of government in the Maghrib. In Algeria, the influence of the marabouts continued through much of the Ottoman period, when the authorities would grant political and financial favors to these leaders to prevent tribal uprisings.

European Offensive

The final triumph of the 700-year Christian
Christian
A Christian is a person who adheres to Christianity, an Abrahamic, monotheistic religion based on the life and teachings of Jesus of Nazareth as recorded in the Canonical gospels and the letters of the New Testament...

 reconquest of Spain, marked by the fall of Granada
Granada
Granada is a city and the capital of the province of Granada, in the autonomous community of Andalusia, Spain. Granada is located at the foot of the Sierra Nevada mountains, at the confluence of three rivers, the Beiro, the Darro and the Genil. It sits at an elevation of 738 metres above sea...

 in 1492, was accompanied by the forced conversion of Spanish Muslims (Moriscos). As a result of the Inquisition
Inquisition
The Inquisition, Inquisitio Haereticae Pravitatis , was the "fight against heretics" by several institutions within the justice-system of the Roman Catholic Church. It started in the 12th century, with the introduction of torture in the persecution of heresy...

, thousands of Jews fled or were deported to the Maghrib where many gained influence in government and commerce.

Without much difficulty, Christian Spain imposed its influence on the Maghrib coast by constructing fortified outposts (presidio
Presidio
A presidio is a fortified base established by the Spanish in North America between the sixteenth and nineteenth centuries. The fortresses were built to protect against pirates, hostile native Americans and enemy colonists. Other presidios were held by Spain in the sixteenth and seventeenth...

s) and collecting tribute during the 15th and early 16th centuries. On or near the Algerian coast, Spain took control of Mers el Kebir in 1505, Oran in 1509, and Tlemcen, Mostaganem, and Ténès, all west of Algiers
Algiers
' is the capital and largest city of Algeria. According to the 1998 census, the population of the city proper was 1,519,570 and that of the urban agglomeration was 2,135,630. In 2009, the population was about 3,500,000...

, in 1510. In the same year, the merchants of Algiers handed over one of the rocky islets in their harbor, where the Spaniards built a fort. The presidios in North Africa turned out to be a costly and largely ineffective military endeavor that did not guarantee access for Spain's merchant fleet. Indeed, most trade seemed to be transacted in the numerous free ports. Moreover, from the 16th to the 18th century, sailing superior ships and hammering out shrewd concessions, merchants from England
England
England is a country that is part of the United Kingdom. It shares land borders with Scotland to the north and Wales to the west; the Irish Sea is to the north west, the Celtic Sea to the south west, with the North Sea to the east and the English Channel to the south separating it from continental...

, Portugal
Portugal
Portugal , officially the Portuguese Republic is a country situated in southwestern Europe on the Iberian Peninsula. Portugal is the westernmost country of Europe, and is bordered by the Atlantic Ocean to the West and South and by Spain to the North and East. The Atlantic archipelagos of the...

, the Netherlands
Netherlands
The Netherlands is a constituent country of the Kingdom of the Netherlands, located mainly in North-West Europe and with several islands in the Caribbean. Mainland Netherlands borders the North Sea to the north and west, Belgium to the south, and Germany to the east, and shares maritime borders...

, France
France
The French Republic , The French Republic , The French Republic , (commonly known as France , is a unitary semi-presidential republic in Western Europe with several overseas territories and islands located on other continents and in the Indian, Pacific, and Atlantic oceans. Metropolitan France...

, and Italy
Italy
Italy , officially the Italian Republic languages]] under the European Charter for Regional or Minority Languages. In each of these, Italy's official name is as follows:;;;;;;;;), is a unitary parliamentary republic in South-Central Europe. To the north it borders France, Switzerland, Austria and...

, as well as Spain
Spain
Spain , officially the Kingdom of Spain languages]] under the European Charter for Regional or Minority Languages. In each of these, Spain's official name is as follows:;;;;;;), is a country and member state of the European Union located in southwestern Europe on the Iberian Peninsula...

, dominated Mediterranean trade
Mediterranean Sea
The Mediterranean Sea is a sea connected to the Atlantic Ocean surrounded by the Mediterranean region and almost completely enclosed by land: on the north by Anatolia and Europe, on the south by North Africa, and on the east by the Levant...

.

Why Spain did not extend its North African conquests much beyond a few modest enclaves has puzzled historians. Some suggest that Spain held back because it was preoccupied with maintaining its territory in Italy; others that Spain's energies were absorbed in obtaining the riches of the New World
New World
The New World is one of the names used for the Western Hemisphere, specifically America and sometimes Oceania . The term originated in the late 15th century, when America had been recently discovered by European explorers, expanding the geographical horizon of the people of the European middle...

. Still another possibility is that Spain was more intent on projecting its force on the high seas than on risking defeat in the forbidding interior of Africa.

Privateers

Privateering was an age-old practice in the Mediterranean
Mediterranean Sea
The Mediterranean Sea is a sea connected to the Atlantic Ocean surrounded by the Mediterranean region and almost completely enclosed by land: on the north by Anatolia and Europe, on the south by North Africa, and on the east by the Levant...

. North African rulers engaged in it increasingly in the late 16th and early 17th century because it was so lucrative, and because their merchant vessels, formerly a major source of income, were not permitted to enter Europe
Europe
Europe is, by convention, one of the world's seven continents. Comprising the westernmost peninsula of Eurasia, Europe is generally 'divided' from Asia to its east by the watershed divides of the Ural and Caucasus Mountains, the Ural River, the Caspian and Black Seas, and the waterways connecting...

an ports. Although the methods varied, privateering generally involved private vessels raiding the ships of an enemy in peacetime under the authority of a ruler. Its purposes were to disrupt an opponent's trade and to reap rewards from the captives and cargo.

Privateering was a highly disciplined affair conducted under the command of the rais (captains) of the fleets. Several captains became heroes in Algerian lore for their bravery and skill. The captains of the corsairs banded together in a self-regulating taifa
Taifa
In the history of the Iberian Peninsula, a taifa was an independent Muslim-ruled principality, usually an emirate or petty kingdom, though there was one oligarchy, of which a number formed in the Al-Andalus after the final collapse of the Umayyad Caliphate of Córdoba in 1031.-Rise:The origins of...

(community) to protect and further the corporate interests of their trade. The taifa came to be ethnically mixed, incorporating those captured Europeans who agreed to convert to Islam and supply information useful for future raids. The taifa also gained prestige and political influence because of its role in fighting the infidel and providing the merchants and rulers of Algiers with a major source of income. Algiers became the privateering city-state par excellence, especially between 1560 and 1620. And it was two privateer brothers who were instrumental in extending Ottoman influence in Algeria.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK