The Maghariba were a regiment in the regular army of the Abbasid Caliphate. The unit was formed in the early ninth century A.D. and consisted of soldiers who were of North African origin. During their history, the Maghariba participated in several military campaigns and played a significant role in the politics of the central government.
The origin and composition of the Maghariba have been subject to debate. Historians have variously described the Maghariba as Berbers from North Africa, black slaves from East Africa, and Arab tribesmen from Egypt,[1] with the last being the most widely accepted theory.[2] According to the Muslim historian al-Mas'udi, the regiment was created by Caliph al-Mu'tasim (r. 833–842), who recruited troops from the Hawf districts of Egypt;[3] this likely occurred before al-Mu'tasim's caliphate, when he and al-Afshin were serving in Egypt on behalf of the caliph al-Ma'mun (r. 813–833).[4]
After the succession of al-Mu'tasim to the caliphate in 833, the Maghariba formed a contingent of his new army, along with other units such as the Turks, the Faraghina, the Ushrusaniyya, and the shakiriyya.[5] Together with the rest of the army, they were granted their own section in al-Mu'tasim's new capital city of Samarra; their allotments were along the Gulf Street (shāri' al-khalīj) adjacent to the bank of the Tigris, and the Azlakh quarter was known as a Maghribi neighborhood.[6]
The Maghariba appear to have served as infantry,[7] and they were a mixture of free men and slaves.[8] They were likely fewer in number than the Turks, and they were certainly of inferior status. Their pay also appears to have been lower;[9] on the accession of al-Mutawakkil (r. 847–861), the new caliph ordered that the Maghariba be given lower allotments than the rest of the army,[10] and in 870 al-Muhtadi (r. 869–870) arranged for the Maghariba to be paid one dirham a day, while the Turks and other units received two.[11]
The Maghariba participated in al-Mu'tasim's campaign against Amorium in 838, during which they were under the overall command of Itakh.[12] During the caliphates of al-Wathiq (r. 842–847) and al-Mutawakkil (r. 847–861) they took part in a number of Bugha al-Kabir's campaigns. In 845 they served under Bugha during his punitive expedition against the disorderly Banu Sulaym in the vicinity of Medina.[13] In 848–49 they were sent by Bugha to help quell a revolt in Adharbayjan,[14] and in 852 they fought in his campaign to defeat Ishaq ibn Isma'il, the rebel governor of Tiflis.[15] In 855–56 several Maghariba were selected to provide escort for a prisoner exchange with the Byzantines.[16]
Following the assassination of al-Mutawakkil in December 861, the Maghariba played an important role during the events of the Anarchy at Samarra (861–870). On the day that al-Muntasir was given the oath of allegiance (bay'ah), the Maghariba were employed as riot troops against residents in the capital who opposed the new caliph.[17] After al-Muntasir's death in 862 they, together with the Turks and Ushrusaniyya, agreed to recognize al-Musta'in as caliph,[18] and they were again used to attack rioters who favored al-Musta'in's rival al-Mu'tazz.[19] In the following year, during a particularly severe riot in Samarra, the Maghariba looted the homes of several civilians;[20] a few months later, having become increasingly dissatisfied with the current regime, they organized in the capital to voice their agitation, but they ultimately decided to take no action and dispersed.[21]
When civil war broke out between al-Musta'in and al-Mu'tazz in 865, the Maghariba fought in support of the latter. Two thousand Maghariba under the command of Muhammad ibn Rashid al-Maghribi were part of the initial force sent from Samarra to besiege al-Musta'in in Baghdad, and over the course of the war they participated in several battles. Their involvement continued until the end of the war, from which al-Mu'tazz emerged victorious and al-Musta'in was forced to abdicate.[22]
After the war, the Maghariba continued returned to Samarra, which soon again suffered from disorder. In 866 a conflict broke out between the Maghariba and the Turkish soldiers, and during the ensuing violence two senior Maghariba commanders were killed by the Turks.[23] Two years later the Maghariba killed the Turkish general Bugha al-Sharabi and brought his head to the caliph.[24] In 869, however, the Maghariba united with the Turks and Faraghina to successfully depose al-Mu'tazz.[25] Under al-Mu'tazz's successor, al-Muhtadi, they participated in some of the initial campaigns against the Zanj rebels in southern Iraq.[26] In 870, during the revolt against al-Muhtadi, the Maghariba remained loyal to the caliph; they unsuccessfully defended him against the mutinous Turkish soldiers, and suffered high casualties as a result.[27]
The accession of al-Mu'tamid (r. 870–892) seems to have resulted in the decline of the Maghariba. Al-Mu'tamid's brother Abu Ahmad al-Muwaffaq, who became the commander-in-chief of the army, enjoyed strong relations with the Turkish commanders, and under him the Turks came to dominate the military, to the exclusion of the Maghariba and other units. After this point, the Maghariba are seldom mentioned in the sources.[28] A government budget drawn up in 892–93 lists "Maghariba" as forming a contingent of the bodyguards of the caliph al-Mu'tadid (r. 892–902),[29] but it is not specified as to whether this was the same unit as the Samarran Maghariba.[30]