Maghrāwa
   HOME

TheInfoList



OR:

The Maghrawa or Meghrawa () were a large
Berber Berber or Berbers may refer to: Ethnic group * Berbers, an ethnic group native to Northern Africa * Berber languages, a family of Afro-Asiatic languages Places * Berber, Sudan, a town on the Nile People with the surname * Ady Berber (1913–196 ...
tribal
confederation A confederation (also known as a confederacy or league) is a political union of sovereign states united for purposes of common action. Usually created by a treaty, confederations of states tend to be established for dealing with critical issu ...
in
North Africa North Africa (sometimes Northern Africa) is a region encompassing the northern portion of the African continent. There is no singularly accepted scope for the region. However, it is sometimes defined as stretching from the Atlantic shores of t ...
. They are the largest branch of the
Zenata The Zenata (; ) are a group of Berber tribes, historically one of the largest Berber confederations along with the Sanhaja and Masmuda. Their lifestyle was either nomadic or semi-nomadic. Society The 14th-century historiographer Ibn Khaldun repo ...
confederation. Their traditional territories around the time of Muslim expansion into the Maghreb in the 7th century were around present-day northeastern
Algeria Algeria, officially the People's Democratic Republic of Algeria, is a country in the Maghreb region of North Africa. It is bordered to Algeria–Tunisia border, the northeast by Tunisia; to Algeria–Libya border, the east by Libya; to Alger ...
. They ruled parts of the western
Maghreb The Maghreb (; ), also known as the Arab Maghreb () and Northwest Africa, is the western part of the Arab world. The region comprises western and central North Africa, including Algeria, Libya, Mauritania, Morocco, and Tunisia. The Maghreb al ...
on behalf of the
Umayyad The Umayyad Caliphate or Umayyad Empire (, ; ) was the second caliphate established after the death of the Islamic prophet Muhammad and was ruled by the Umayyad dynasty. Uthman ibn Affan, the third of the Rashidun caliphs, was also a membe ...
Caliphate of Cordoba A caliphate ( ) is an institution or public office under the leadership of an Islamic steward with the title of caliph (; , ), a person considered a political–religious successor to the Islamic prophet Muhammad and a leader of the enti ...
at the end of the 10th century and during the first half of the 11th century.


Origins

The origins of the Maghrawa are uncertain.
Ibn 'Abd al-Barr Yūsuf ibn ʿAbd Allāh ibn Muḥammad ibn ʿAbd al-Barr, Abū ʿUmar al-Namarī al-Andalusī al-Qurṭubī al-Mālikī, commonly known as Ibn ʿAbd al-Barr ()
, an 11th-century writer, claimed that they arrived to the
Maghreb The Maghreb (; ), also known as the Arab Maghreb () and Northwest Africa, is the western part of the Arab world. The region comprises western and central North Africa, including Algeria, Libya, Mauritania, Morocco, and Tunisia. The Maghreb al ...
in ancient times. Medieval Berber writers traced the ancestry of the Maghrawa to a leader named Maghrāw. According to
Ibn Khaldun Ibn Khaldun (27 May 1332 – 17 March 1406, 732–808 Hijri year, AH) was an Arabs, Arab Islamic scholar, historian, philosopher and sociologist. He is widely acknowledged to be one of the greatest social scientists of the Middle Ages, and cons ...
(d. 1406), they were related to the
Banu Ifran The Banu Ifran (, ''Banu Yafran'') or Ifranids, were a Zenata Berber people, Berber tribe prominent in the history of pre-Islamic and early Islamic North Africa. In the 8th century, they established a Emirate of Tlemcen, kingdom in the central Ma ...
, the Banu Jarawa, and the Banu Irniyan. Several tribes descend from the Maghrawa, including the Bani bou Said, Bani Ilit (Ilent), Bani Zendak, Bani Urac (Urtezmir, Urtesminn), Bani Urcifan, Bani Laghouat, Bani Righa, Bani Sidi Mansour (Bani Mansour). The Maghrawa traditionally occupied the area between
Algiers Algiers is the capital city of Algeria as well as the capital of the Algiers Province; it extends over many Communes of Algeria, communes without having its own separate governing body. With 2,988,145 residents in 2008Census 14 April 2008: Offi ...
,
Cherchell Cherchell () is a town on Algeria's Mediterranean coast, west of Algiers. It is the seat of Cherchell District in Tipaza Province. Under the names Iol and Caesarea, it was formerly a Roman colony and the capital of the kingdoms of Numidia ...
,
Ténès Ténès (; from Berber TNS 'camping') is a town in Algeria located around 200 kilometers west of the capital Algiers. , it has a population of 65,000 people. History Ténès was founded as a Phoenician port in or before the 8th centuryBC. As ...
,
Chlef Chlef () is the capital of Chlef Province, Algeria. Located in the north of Algeria, west of the capital, Algiers, it was founded in 1843, as Orléansville, on the ruins of Roman ''Castellum Tingitanum''. In 1962, it was renamed al-Asnam, but ...
,
Miliana Miliana (in Berber: ⵎⵉⵍⵉⴰⵏⴰ, in Darija: مليانة) is an Algerian commune in the Aïn Defla province, serving as the capital of Miliana district approximately southwest of the Algerian capital, Algiers.r/sup>, which covers its ...
and
Médéa Médéa () is the capital city of Médéa Province, Algeria. It is located roughly 68 km south of Algiers. The present-day city is situated on the site of an ancient Roman military post and has a history dating back to the 10th century. The ...
. Historical sources indicate that their homeland was centered on the Chélif, in a region probably between the
Ouarsenis The Ouarsenis or Ouanchariss (Berber language: ⵡⴰⵔⵙⵏⵉⵙ, ''Warsnis'' (meaning "nothing higher") ''Adrar en Warsnis'', ) is a mountain range and inhabited region in northwestern Algeria. Geography The range is located at about 80  ...
to the south, the
Mediterranean Sea The Mediterranean Sea ( ) is a sea connected to the Atlantic Ocean, surrounded by the Mediterranean basin and almost completely enclosed by land: on the east by the Levant in West Asia, on the north by Anatolia in West Asia and Southern Eur ...
to the north and
Tlemcen Tlemcen (; ) is the second-largest city in northwestern Algeria after Oran and is the capital of Tlemcen Province. The city has developed leather, carpet, and textile industries, which it exports through the port of Rachgoun. It had a population of ...
to the west. In antiquity,
Pliny the Elder Gaius Plinius Secundus (AD 23/24 79), known in English as Pliny the Elder ( ), was a Roman Empire, Roman author, Natural history, naturalist, and naval and army commander of the early Roman Empire, and a friend of the Roman emperor, emperor Vesp ...
and
Ptolemy Claudius Ptolemy (; , ; ; – 160s/170s AD) was a Greco-Roman mathematician, astronomer, astrologer, geographer, and music theorist who wrote about a dozen scientific treatises, three of which were important to later Byzantine science, Byzant ...
each mention a tribe named Macurebi or Makkhourebi, which some scholars have equated to the Maghrawa. If true, this makes the Maghrawa one of the few Berber tribes mentioned in ancient Greek and Latin sources. Pliny places them east of
Icosium Icosium (Punic: , "Island of the Owls"; , ''Ikósion'') was a Phoenician and Punic settlement in modern-day Algeria. It was part of Numidia and later became an important Roman colony and an early medieval bishopric (now a Latin titular see) in t ...
(present-day Algiers), while Ptolemy places them some of them along or east of the
Draa River :''Dra is also the abbreviation for the constellation Draco.'' The Draa (, ; also spelled Dra or Drâa, in older sources mostly Darha or Dara, ) is Morocco's longest river, at . It is formed by the confluence of the Dadès River and Imini Ri ...
in present-day Morocco and others near present-day Chlef.


History


Early history

The Maghrawa occupied part of present-day Algeria at the time of the
early Muslim conquests The early Muslim conquests or early Islamic conquests (), also known as the Arab conquests, were initiated in the 7th century by Muhammad, the founder of Islam. He established the first Islamic state in Medina, Arabian Peninsula, Arabia that ...
. According to
Ibn Khaldun Ibn Khaldun (27 May 1332 – 17 March 1406, 732–808 Hijri year, AH) was an Arabs, Arab Islamic scholar, historian, philosopher and sociologist. He is widely acknowledged to be one of the greatest social scientists of the Middle Ages, and cons ...
, they had been forced to convert to Christianity under
Roman Roman or Romans most often refers to: *Rome, the capital city of Italy *Ancient Rome, Roman civilization from 8th century BC to 5th century AD *Roman people, the people of Roman civilization *Epistle to the Romans, shortened to Romans, a letter w ...
rule. They were one of the first Berber tribes to convert to
Islam Islam is an Abrahamic religions, Abrahamic monotheistic religion based on the Quran, and the teachings of Muhammad. Adherents of Islam are called Muslims, who are estimated to number Islam by country, 2 billion worldwide and are the world ...
upon its arrival in the 7th century. The Maghrawa were initially led by the Banu Khazar family who lived in the first half of the 8th century and took control of a large part of the central Maghreb after the
Kharijite The Kharijites (, singular ) were an Islamic sect which emerged during the First Fitna (656–661). The first Kharijites were supporters of Ali who rebelled against his acceptance of arbitration talks to settle the conflict with his challeng ...
revolts (circa 740). The Maghrawa role in the Kharijite revolt is known only from a tradition quoted by
Ibn Khaldun Ibn Khaldun (27 May 1332 – 17 March 1406, 732–808 Hijri year, AH) was an Arabs, Arab Islamic scholar, historian, philosopher and sociologist. He is widely acknowledged to be one of the greatest social scientists of the Middle Ages, and cons ...
and is not mentioned in any Arabic sources. His son, Muhammad ibn Khazar, defeated the Banu Ifran and captured Tlemcen circa 788, before submitting to the
Idrisids The Idrisid dynasty or Idrisids ( ') were an Arab Muslim dynasty from 788 to 974, ruling most of present-day Morocco and parts of present-day western Algeria. Named after the founder, Idris I, the Idrisids were an Alid dynasty descended from Mu ...
sometime between 789 and 791 and becoming their ally. The latter's grandson, also named Muhammad ibn Khazar, allied himself with the
Umayyads of Córdoba Umayyads may refer to: * Umayyad dynasty, a Muslim ruling family of the Caliphate (661–750) and in Spain (756–1031) *Umayyad Caliphate (661–750) :*Emirate of Córdoba (756–929) :*Caliphate of Córdoba A caliphate ( ) is an institut ...
in
Al-Andalus Al-Andalus () was the Muslim-ruled area of the Iberian Peninsula. The name refers to the different Muslim states that controlled these territories at various times between 711 and 1492. At its greatest geographical extent, it occupied most o ...
(present-day Spain and Portugal) and resisted the
Fatimids The Fatimid Caliphate (; ), also known as the Fatimid Empire, was a caliphate extant from the tenth to the twelfth centuries CE under the rule of the Fatimid dynasty, Fatimids, an Isma'ili Shi'a dynasty. Spanning a large area of North Africa ...
for most of his life, embroiling the Maghrawa in the conflict between these two powers that played out in present-day Morocco and Algeria. Over the following decades, the two sides both suffered various victories and reversals. Muhammad ibn Khazar himself switched allegiances several times when the circumstances required, although his son al-Khayr, who also held territories in the central Maghreb, remained largely loyal to the Umayyads. Muhammad ibn Khazar eventually died in 961, reportedly over a hundred years old. After his death, the Maghrawa continued to resist the Fatimids under the leadership of his grandson, Muhammad ibn al-Khay, son of al-Khayr. The latter had previously cultivated good relations with
Abd ar-Rahman III ʿAbd al-Raḥmān ibn Muḥammad ibn ʿAbd Allāh ibn Muḥammad ibn ʿAbd al-Raḥmān ibn al-Ḥakam al-Rabdī ibn Hishām ibn ʿAbd al-Raḥmān al-Dākhil (; 890–961), or simply ʿAbd al-Raḥmān III, was the Umayyad Emir of Córdoba f ...
(d. 961), the Umayyad caliph in Córdoba, who had appointed him governor of Fez in 955–6. He continued to serve Abd ar-Rahman III's successor,
al-Hakam II Al-Hakam II, also known as Abū al-ʿĀṣ al-Mustanṣir bi-Llāh al-Hakam b. ʿAbd al-Raḥmān (; 13 January 915 – 1 October 976), was the Caliph of Córdoba. He was the second Umayyad Caliph of Córdoba in Al-Andalus, and son of Abd-al-R ...
(d. 976). In 971, a major confrontation took place between the Maghrawa and the Zirids, a Sanhaja clan led by
Ziri ibn Manad Ziri ibn Manad or Ziri son of Mennad (died in 971) was the founder of the Zirid dynasty in the Maghreb. Ziri ibn Mennad was a chief of the Takalata branch of the Sanhajah confederation, to which the Kutama Berbers belonged located in the Central ...
, vassal of the Fatimids. In February 971, most likely near Tlemcen, the Maghrawa were severely defeated. Muhammad ibn al-Khayr committed suicide to avoid capture. His son, al-Khayr, took up the leadership role and allied himself with a Fatimid governor, Ja'far ibn 'Ali ibn Ḥamdun, who defected to the Umayyad side. With their combined forces, they won a major victory. Pressured by another Fatimid army, however, the majority of the Maghrawa left the central Maghreb and migrated into the Maghreb al-Aqsa (present-day Morocco), where they settled across the region.


In the western Maghreb

In 976–7, a Maghrawa chief named Khazrun ibn Fulful ibn Khazar conquered
Sijilmasa Sijilmasa (; also transliterated Sijilmassa, Sidjilmasa, Sidjilmassa and Sigilmassa) was a medieval Moroccan city and trade entrepôt at the northern edge of the Sahara in Morocco. The ruins of the town extend for five miles along the River Ziz ...
from the
Banu Midrar The Midrarid dynasty () was a Berber dynasty that ruled the Sijilmasa region in Morocco from their capital of Sijilmasa, starting in the late 8th or early 9th century to 976/7. History The exact origin or date of foundation of the Midrarid dyna ...
, and in 980 were able to drive the
Miknasa The Miknasa (Berber: ''Imeknasen'') was a Zenata Berber tribe of the Maghreb. History The Miknasa Berbers historically populated the Aurès and are part of the Dharisa tribe belonging to Botr who descended from Madghis, coming from the Aures m ...
out of Sijilmasa as well.Ibn Khaldoun, History of Berber Khazrun sent the head of the last Midrarid ruler to Córdoba, whose rulers subsequently appointed him and his descendants, the Banu Khazrun, governors of Sijilmasa on behalf of the Umayyads. Other branches of the Maghrawa founded small kingdoms or principalities in the region around the same period. One branch of the family descended from the Banu Khazar settled in
Aghmat Aghmat ( Tashelhit: ''Aɣmat'', ''Āghmāt''; pronounced locally ''Ughmat, Uɣmat'') was an important commercial medieval Berber town in Morocco. It is today an archaeological site known as "Joumâa Aghmat". The city is located approximately 30& ...
to the south, ruling there until the
Almoravid The Almoravid dynasty () was a Berber Muslim dynasty centered in the territory of present-day Morocco. It established an empire that stretched over the western Maghreb and Al-Andalus, starting in the 1050s and lasting until its fall to the Almo ...
conquest circa 1059. Another descendant of the Banu Khazar, identified as Muqatil, established himself in the Sous valley. Very little is known about either of these two branches. Between 979 and 983, the Zenata were briefly driven out of Fez, Sijilmasa, and much of the surrounding regions during a major expedition by
Buluggin ibn Ziri Buluggin ibn Ziri, often transliterated Bologhine, in full ʾAbū al Futūḥ Sayf ad Dawlah Bulukīn ibn Zīrī ibn Manād aṣ Ṣanhājī (; died 25 May 984) was the first leader () of the Sanhaja Berber dynasty of Zirids to serve as viceroy of ...
, the new Zirid ruler. The Maghrawa reached their peak under Ziri ibn Atiyya (d. 1001), who achieved supremacy in Fez under Umayyad
suzerainty A suzerain (, from Old French "above" + "supreme, chief") is a person, state (polity)">state or polity who has supremacy and dominant influence over the foreign policy">polity.html" ;"title="state (polity)">state or polity">state (polity)">st ...
, and expanded their territory at the expense of the Banu Ifran in the northern Maghreb – whose alliances had shifted often between the Fatimids and the Umayyads of Córdoba. Ziri ibn Atiyya conquered as much as he could of what is now northern Morocco and was able to achieve supremacy in Fez by 987. In that same year, Ibn Abi 'Amir al-Mansur – the
regent In a monarchy, a regent () is a person appointed to govern a state because the actual monarch is a minor, absent, incapacitated or unable to discharge their powers and duties, or the throne is vacant and a new monarch has not yet been dete ...
of Caliph
Hisham II Hisham II or Abu'l-Walid Hisham II al-Mu'ayyad bi-llah (, Abū'l-Walīd Hishām al-Muʾayyad bi-ʾllāh; 966 – 1044) (son of Al-Hakam II and Subh of Córdoba) was the third Umayyad Caliph of Spain, in Al-Andalus from 976 to 1009, and from 1 ...
and ''de facto'' ruler of the Caliphate of Córdoba – formally appointed Ziri as ''
amir Emir (; ' (), also transliterated as amir, is a word of Arabic origin that can refer to a male monarch, aristocrat, holder of high-ranking military or political office, or other person possessing actual or ceremonial authority. The title has ...
'' of the Maghreb on his behalf. Fez became his capital and generally remained under the control of his successors until the Almoravid conquest of the 11th century. In 989, Ziri defeated his enemy Abu al-Bahār, which made him ruler from the Zab to the Sous, achieving supremacy in the western Maghreb by 991. In 993, he was invited to Córdoba by Ibn Abi 'Amir al-Mansur. Ziri brought many gifts and al-Mansur housed him in a lavish palace, but Ziri soon returned to North Africa. Meanwhile, his rival from the Banu Ifran, Yaddū ibn Ya'lā, had taken advantage of his absence and managed to capture Fez, which Ziri reconquered after a bloody struggle. A period of peace followed, in which Ziri founded the city of
Oujda Oujda (, ) is a major city in northeast Morocco near the Algeria–Morocco border, border with Algeria. Oujda is the capital city of the Oriental (Morocco), Oriental region of northeastern Morocco and has a population of 506,224 people (2024 censu ...
in 994 and made it his new capital and fortress. He likely intended to expand his power to the central Maghreb and the position of Oujda, further west, was more appropriate for this goal than Fez. However, Ziri was loyal to the Umayyad caliphs in Cordoba and increasingly resented the way that Ibn Abi 'Amir was holding Hisham II captive while progressively usurping his power. In 997, Ziri rejected Ibn Abi 'Amir's authority and declared himself a direct supporter of Caliph Hisham II. Ibn Abi 'Amir sent an invasion force to Morocco. After three unsuccessful months, Ibn Abi 'Amir's army was forced to retreat to the safety of
Tangiers Tangier ( ; , , ) is a city in northwestern Morocco, on the coasts of the Mediterranean Sea and the Atlantic Ocean. The city is the capital of the Tanger-Tetouan-Al Hoceima region, as well as the Tangier-Assilah Prefecture of Morocco. Many c ...
, so Ibn Abi 'Amir sent a powerful reinforcements under his son
Abd al-Malik Abdul Malik () is an Arabic (Muslim or Christian) male given name and, in modern usage, surname. It is built from the Arabic words '' Abd'', ''al-'' and ''Malik''. The name means "servant of the King", in the Christian instance 'King' meaning 'King ...
. The armies clashed near Tangiers, and in this battle, Ziri was stabbed by an African soldier who reported to Abd al-Malik that he had seriously wounded the Zenata leader. Abd al-Malik pressed home the advantage, and the wounded Ziri fled, hotly pursued by the Caliph's army. The inhabitants of Fez would not let him enter the city, but opened the gates to Abd al-Malik on 13 October 998. Ziri fled to the Sahara, where he rallied the Zenata tribes and overthrew the unpopular remnants of the
Idrisid dynasty The Idrisid dynasty or Idrisids ( ') were an Arabs, Arab Muslims, Muslim dynasty from 788 to 974, ruling most of present-day Morocco and parts of present-day western Algeria. Named after the founder, Idris I of Morocco, Idris I, the Idrisids were ...
at
Tiaret Tiaret () or Tahert () is a major city in northwestern Algeria that gives its name to the wider farming region of Tiaret Province. Both the town and region lie south-west of the capital of Algiers in the western region of the Hautes Plaines, i ...
. He was able to expand his territory to include Tlemcen and other parts of western Algeria, this time under Fatimid protection. Ziri died in 1001 of the after-effects of the stab wounds. After Ziri's death, his son al-Mu'izz was proclaimed his successor as leader of the Maghrawa in northern Morocco. He did not share his father's hostility to Córdoba and al-Mansur had already appointed him governor of Fez on behalf of the Umayyads in 999–1000. Al-Mansur's son and successor, Abd al-Malik al-Muzaffar, confirmed him as governor of Fez and the Maghreb al-Aqsa in 1002–3 and again in 1006, with the exception of Sijilmasa, which was left under the rule of the Banu Khazrun. Al-Mu'izz's reign in Fez marked a period of relative peace. He also managed to remove Zirid rule in Tlemcen, where he installed one of his relatives, Ya'la (a descendant of al-Khayr), as governor. Ya'la's descendants continued to rule Tlemcen after him, though remaining loyal to al-Mu'izz. Al-Mu'izz died in 1026 or 1030 and was succeeded by his paternal cousin, Hamama ibn al-Mu'izz ibn 'Atiya. Al-Mu'izz had already appointed the latter as governor of Fez before his death. Hamama strengthened his relations with Córdoba but in 1032–3 he became embroiled in war with the rival Banu Ifran leader, Abu al-Kamal Tamim ibn Ziri, based in
Chellah The Chellah or Shalla ( or ; ), is a medieval fortified Muslim necropolis and ancient archeological site in Rabat, Morocco, located on the south (left) side of the Bou Regreg estuary. The earliest evidence of the site's occupation suggests that th ...
. Abu al-Kamal Tamim captured Fez, forcing Hamama to flee east to Oujda and
Ténès Ténès (; from Berber TNS 'camping') is a town in Algeria located around 200 kilometers west of the capital Algiers. , it has a population of 65,000 people. History Ténès was founded as a Phoenician port in or before the 8th centuryBC. As ...
. In 1037–8, after gathering new forces, Hamama expelled the Banu Ifran and reclaimed Fez. In 1038–9, he attacked the
Hammadids The Hammadid dynasty (), also known as the Hammadid Emirate or the Kingdom of Bejaia, was a medieval Islamic kingdom in the central Maghreb, encompassing what is now Algeria. It was established at the beginning of the 11th century when Hammad ...
, a Sanhaja dynasty related to the Zirids. The Hammadid ruler, al-Qa'id, met with Hamama and paid the Maghrawa troops to
defect Defect or defects may refer to: Related to failure * Angular defect, in geometry * Birth defect, an abnormal condition present at birth * Crystallographic defect, in the crystal lattice of solid materials * Latent defect, in the law of the sale o ...
. Hamama, fearing the outcome, fled back to Fez and declared his submission to al-Qa'id. He died sometime between 1039 and 1042. He was succeeded by his son Dunas, who spent much of his reign improving the city of Fez, whose commercial importance was growing. After his death in 1059, his son al-Futuḥ succeeded him but the succession was contested by his brother Ajisa. The two brothers each took control of different parts of Fez and warred with each other for three years, until al-Futuḥ emerged victorious in 1062. Al-Futuḥ only ruled briefly, being driven from Fez in that same year by the Hammadid ruler Buluggin ibn Muhammad, who briefly occupied the city. After this, the Maghrawa appointed one of Ziri ibn Atiyya's descendants, Mu'annaṣir (or Mu'anṣar), as ruler. By the mid 11th century, the Maghrawa still controlled most of Morocco, notably most of the Sous and
Draa River :''Dra is also the abbreviation for the constellation Draco.'' The Draa (, ; also spelled Dra or Drâa, in older sources mostly Darha or Dara, ) is Morocco's longest river, at . It is formed by the confluence of the Dadès River and Imini Ri ...
area as well as Aghmat, Fez and Sijilmasa. As the Almoravids expanded northward during this period, the Maghrawa were their main opponents in this region. As Zenata power declined, the leaders of the Magharawa and Banu Ifran became more oppressive and violent, with some historical chronicles claiming that the local population welcomed the arrival of the Almoravids. The latter eventually overcame the Zenata rulers in the western Maghreb during the second half of the 11th century. Varying sources date their capture of Fez to 1069 or some time later in the 1070s. Mu'annaṣir, the last Maghrawa ruler of Fez, attempted to resist the Almoravid siege of the city but died in the process. His son Tamim was appointed to replace him but he was executed when the Almoravids captured the city soon after. Many of the Maghrawa and other Zenata in the city were slaughtered in the aftermath. The remaining Maghrawa fled east and north, until the Almoravids expanded in these directions as well. Meanwhile, in Tlemcen, the descendants of Ya'la had cultivated friendly relations with the Hammadids during the early 11th century. This allowed them to rule an effectively independent kingdom until the 1050s, when they came into conflict with some of the
Banu Hilal The Banu Hilal () was a confederation of Arab tribes from the Najd region of the central Arabian Peninsula that emigrated to the Maghreb region of North Africa in the 11th century. They ruled the Najd, and campaigned in the borderlands between I ...
tribes arriving from the east, who took over much of the countryside. The Maghrawa amir at this time, Bakhti, rallied the other Zanata tribes in the region and fought a prolonged war with the Zughba, one of the Hilalian tribes, who allied themselves with the Hammadids. Bakhti died at some point during this period and was succeeded by his son al-Abbas, who held onto Tlemcen until the Almoravids arrived. The latter captured the town towards 1080, executing al-Abbas and killing many of the Maghrawa inside the city.


Later history

Despite the Almoravid conquest, various groups of Maghrawa continued to live in various parts of Morocco until at least the 14th century, when they are mentioned by sources such as
Ibn Khaldun Ibn Khaldun (27 May 1332 – 17 March 1406, 732–808 Hijri year, AH) was an Arabs, Arab Islamic scholar, historian, philosopher and sociologist. He is widely acknowledged to be one of the greatest social scientists of the Middle Ages, and cons ...
. Additionally, the minority of Maghrawa tribes who had not left the central Maghreb with al-Khayr ibn Muhammad ibn al-Khayr after 971 remained in the Chélif region, even under Almoravid rule. They became important again for a time during the 14th century, when their main city was Timzaghat (or Timzurat). They unsuccessfully attempted to throw off the authority of the Zayyanid sultans in Tlemcen on several occasions around the mid-century until their final defeat in 1372, after which many of them left the region.


Maghrawa society

The Zenata seized some of the best lands of the
Masmuda The Masmuda (, Berber: ⵉⵎⵙⵎⵓⴷⵏ) is a Berber tribal confederation , one of the largest in the Maghreb, along with the Zenata and the Sanhaja. Today, the Masmuda confederacy largely corresponds to the speakers of the Tashelhit lan ...
, and the Maghrawa became the dominant military caste over those they conquered. According to
Ibn Abi Zar Abū al-Ḥasan ʿAlī ibn Abī Zarʿ al-Fāsī () (d. between 1310 and 1320) is the commonly presumed original author of the popular and influential medieval history of Morocco known as '' Rawd al-Qirtas'',''Encyclopedia of Arabic literature: A ...
, the chronicler of Fez, the Maghrawa improved the walls, gates and mosques of Fez, and under their rule, the city enjoyed peace. Its people were busy with construction activities and the town expanded. Security and prosperity continued up until shortly before the arrival of the
Almoravids The Almoravid dynasty () was a Berber Muslim dynasty centered in the territory of present-day Morocco. It established an empire that stretched over the western Maghreb and Al-Andalus, starting in the 1050s and lasting until its fall to the Almo ...
. Overall, the mass migration of the Banu Ifran and Maghrawa because of the
Sanhaja The Sanhaja (, or زناگة ''Znāga''; , pl. Iẓnagen, and also Aẓnaj, pl. Iẓnajen) were once one of the largest Berbers, Berber tribal confederations, along with the Zenata, Zanata and Masmuda confederations. Many tribes in Algeria, Libya ...
expansion caused political and ethnic revolution in Morocco.


Maghrawid leaders

The Maghrawa were led by the Banu Khazar family, named after Khazar ibn Ḥafṣ ibn Ṣulat ibn Wazmār ibn Maghraw, who lived in the first half of the 8th century. His son, Muhammad ibn Khazar, continued to lead after him. Muhammad's son, named Khazar like his grandfather, had a son who was also named Muhammad and was thus also known as Muhammad ibn Khazar. The latter died in 961, reportedly over a hundred years old. He had three sons from whom many future Maghrawa leaders descended: Falful, al-Khayr, and Hamza. Starting with Ziri Ibn Atiyya, the Maghrawa dynasty that ruled Fez and the surrounding region consisted of two family branches descended from the sons of Atiya. Atiya was a descendant of Muhammad Ibn Khazar via his son Falful. One branch descended from Ziri ibn Atiya and the other from his brother, Al-Mu'izz ibn Atiya. The rulers are listed here in chronological order: *
Ziri ibn Atiyya Ziri ibn Atiyya (died 1001, Achir) was a leader of the Berber Maghrawa tribal confederacy and kingdom in Fez. Biography Under the protection of the Umayyad Caliph in al-Andalus, Hisham II, and his powerful regent al-Mansur, Ziri became king ...
, r. 988–1001. * al-Mu'izz ibn Ziri, r. 1001–1026.(Another source also claims he died in 1030 instead.) * Hammama ibn al-Mu'izz (son of al-Mu'izz ibn Atiya and cousin of al-Mu'izz ibn Ziri), r. 1026–1039. (He may also have died as late as 1042 instead.) * Abu al-Attaf Dunas ibn Hamama, r. 1039–1059. **Hammad ibn al-Mu'izz (son of al-Mu'izz ibn Ziri), challenged Abu al-Attaf Dunas and died in 1043. * Futuh ibn Dunas, r. 1059–1062. **Ajisa ibn Dunas (Futuh's brother), who controlled a part of Fez, fought with his brother and was killed by him in 1061. * Mu'annasir ibn Hammad (descended from Ziri's line), r. 1062–1067. *Tamim, r. 1067–1069. Tamim was the last Maghrawa ruler to hold power before the Almoravids took over Fez. There is uncertainty about the chronology of Almoravid conquests in this region and therefore different authors give different dates for the Almoravid conquest of Fez.


See also

* Trans-Saharan trade * Awlad Mandil


References

{{Berber, Algeria, Aurès 988 establishments States and territories established in the 980s States and territories disestablished in 1069 Former confederations Berbers in Algeria 10th century in Morocco 11th century in Morocco