An African kingdom in medieval Italy: a history of the Bari emirate (ca. 840-871) (Patreon)
Content
Four centuries after the collapse of the western Roman empire, the region of southern Italy was controlled by a powerful kingdom ruled by African Muslims. From their capital at Bari, roughly 200 miles east of Rome, these African Muslims of Berber and west-African origin created an independent state that controlled southern Italy for over 30 years.
By the time of the Ummayad-Arab expansion into North Africa, the initial conquest of the Berber states resulted in the latter's provision of tribute rendered in terms of captives and military levees. In the suceeding centuries, large numbers of Berbers were recruited to make up the bulk of contingents in the armies which conquered north-west Africa and Spain. While the majority of these non-Arab contingents were Berbers, a minority of them came from west-Africa. The Ummayad incursions into west Africa had failed to gain any foothold, but their clients in the kingdom of Ifriqiya (Tunisia) established a cordial relationship with west African states that provided military contingents to aid their expansion into mainland Europe.
In the 9th century, a non-Arab kingdom was created by a contigent of Berbers and west-Africans on the Italian mainland at Bari through forging local alliances and warfare. This remarkable state was the only independent Muslim kingdom on mainland Italy, maintaining its political distance from Ifriqiya, while actively engaging in local politics and diplomacy with the Christian states of Italy.
This article explores the history of the Bari kingdom, from its founding in the mid 9th century to its height under King Sawdan.

12th century manuscript depicting a siege of the Italian city of Messina by Muslim forces
The political landscape of southern Italy and Northern Africa at the turn of the 9th century: Ifriqiya's conquest of Sicily
At the onset of the Muslim expansion into Mediterranean Europe, the political configuration in southern Italy and Sicily resembled a patchwork of interlocking and fractious entities. The Byzantine empire which nominally claimed control over most parts of the peninsula had little effective authority in the region, while the Carolingian empire struggled to gain any foothold in the region. The main power in Italy were autonomous rulers of dutchies who were mostly of Lombardian origin and they were embroiled in internecine wars that often required the formation of alliances with any willing partner, including Muslims from North Africa and Spain.
(Fragile Borders beyond the Strait 144-145, Muslims of Medieval Italy pg 7-10)

Political landscape of the central Mediterranean region in the early 9th century
The most powerful of the Muslim states close to Italy was the kingdom of Ifriqiya in Tunsia that had been founded by the Ummayads in 705 and ruled by appointed governors. After the fall of the Umayyads to the Abbasids in 750, the latter appointed the Aghlabids as the governors of Ifriqiya in 800. The Aghlabids immediately begun to centralize their rule, formalizing the adminsitration of the kingdom and recruiting soldiers from diverse backgrounds to avoid the coups that plagued the Ummayads. These soldiers included Berbers, west-Africans and Europeans, most of whom were of slave origin, with as many as 5,000 freed-slaves being settled at the capital al-ʿAbbasiyya. It was these soldiers that formed the bulk of the forces which campaigned into Italy and island of Sicily.
(The Aghlabids and their neighbors pg 44-45)
The island of Sicily was weakly controlled by the Byzantine empire under an appointed governor. In 826, a rebel officer named Euphemios rose up and killed the island's governor before internal opposition to his coup forced him to request the assistance of the Aghlabids at Ifriqiya in 827. The forces of Ifriqiya which attacked Sicily were a coalition, comprising the Aghlabid Arabs, the Saqaliba (slaves of central European origin), as well as contingents of Berbers from Ifriqa, troops from sub-Saharan Africa, and an Andalusi force from Spain. After a series of battles that lasted well into the 850s, the entire island fell under the control of Ifriqa as a colony, whose rulers were chosen locally and affirmed by the ruler in Tunisia.
(Muslims of medieval Italy pg 10-16)

Quran from Palermo copied in 982, Istanbul, Nuruosmaniye Kütüphanesi
The founding of the Bari kingdom in 840
Located just 5 kilometers from the Italian mainland, the Island of Sicily was the ideal staging point for Ifriqiya's expansion into the European mainland. At the time of the Muslims’ arrival in Sicily, the dominant political unit in southern Italy was the duchy of Benevento, a relatively weak state that co-existed within a patchwork of polities, many were dutchies ruled by Lombard princes, while others were under the Byzantine empire.
These small states maintained frequent contacts with the Muslims, notably via a mutual interest in overseas commerce and the need to form military alliances due to their relative weakness both internally (from sucession crises) and externally (from threats of invasion by other Christian states further inland). With the exception of a few major attacks when an enemy territory was captured, these military alliances often took on the form of raids intended to weaken enemy strongholds, and to seize booty in the form of treasure and captives. Many were not centrally coordinated by the main Muslim powers but were rather conducted by warlords/adventurers who were nominally allied to one muslim authority or the other.
(Third/Ninth-Century Violence, pg 25)
One notable attack was directed against Rome in 846, and it succeeded in sacking the Basilica of Saints Peter and Paul. Within three months of the attack on Rome an appeal was issued by the pope Leo IV (847–55) ‘to fight the enemies of Christ – Saracens and Moors’. Thus a coaltion of christian armies under the command of Carolingian Emperor Lothar I’s son, prince Louis II, set out for Benevento ‘without pillaging the Christian population’ on the dubious pretext that the Muslims were about to invade a great part of Italy. The main achievement of this campaign was more political than military in that it eased the separation of Benevento into two, even weaker states that capitulated in 847 when the Sicilian Muslims attacked the port of Bari.
(The Muslims of medieval Italy pg 17-18)
Some of the oldest accounts on the history of the Bari conquest and the subsquent establishment of a Muslim state there, come from the 9th-century Muslim historian Al-Baladhuri (d. 892), and fragmentary accounts by Latin-Christian and Jewish historians (often hostile to the Muslims). In al-Baladhuri's account, a military general named Khalfun al-Barbari (the nisba al-Barbari identifies him as a Berber), conquered the city at the beginning of the reign of Caliph al-Mutawwakil (ie: 847). However, Latin sources indicate that Bari was captured in 840, in a major invasion by the Aghlabids into southern Italy that ended with the occupation of Taranto and Bari. According to these Latin texts, Khalfun is thus said to have ruled from 840-844, and he was suceeded by Ali from 844-846, and two other short-lived rulers from 846-848.
(History of the Arab invasions pg 246, The Aghlabids and their neighbours pg 475-479)
While Khalafun and his sucessors came from the Aghlabid realm, they were not necessarily acting in accordance with the Aghlabid forces on Sicily or Ifriqiya. Bari's relationship with the Christian polities involved the typical forms of military alliances, such as his alliance with the Beneventan forces in an attack against Capua. Khalfun and his sucessors gained control of a few fortresses and may have established a rudimentary administration at Bari that collected tribute from dependencies, but the bulk of Bari's revenue came from war booty.
(The Muslims of medieval Italy pg 20)
Circumstances in Bari between Khalfun's death and his sucessors are unclear until the ascension of al-Mufarrij b. Sallām "who conquered twenty-four fortresses and ruled them". Giving a brief description of his short reign from 848-850, Al-baladhuri adds that "Sallam wrote to the Post Master in Egypt telling him the news and saying that he and the Muslims who were with him could not conduct public prayers unless the caliph (al-Mutawakkill) gave him authority over the area so that he would no longer be a usurper. so he was appointed governor and built a Friday mosque. Then his followers rose up against him and killed him."
(History of the Arab invasions pg 246)
While this description is brief, it does indicate that the Muslim authorities at Bari had altered from a pattern of occasional raiding within the orbit of inter-communal frontier warfare and support for one or other party in the military struggles of the period, to one of settlement consolidation. Unlike similar breakaway Muslim amirates of this period such as the one at Crete, where the rulers came with their wives and families, hereditary rule was not established at Bari. Its rulers were drawn from the military and sucession was likely determined by the loyalty of their contingencies. Its in this context that authority in Bari was passed on to the hands of a man named al-Sawdan in 850, a military figure who may have been linked to the revolt against his processor.
(The Aghlabids and their neighbors pg 482-484, Third/Ninth-Century Violence pg 27)

Bari harbour, 19th century engraving
The Bari kingdom during the reign of Sawdan (ca. 1850-1871)
Sawdan was the longest serving ruler of the Bari state and was responsible for formalizing its administration into an emirate/kingdom. His name was rendered in different forms; in Arab sources, he appears as Swadan al-Mazari or al-Mawry, while in Latin sources, he appears as Saugdan, Seldanus, Seodan, Seudan, Soldanus or Sudan.
(Bernad explorer of the Muslim lake, pg 31 , La captivité de l’empereur Louis II à Bénévent)
The nisba of al-Mazari (ie: from the city of Mazari in Sicily) indicates that he was doubtlessly of Sicilian origin, very likely to have been among the early Muslim colonists of the island when it was taken in the early 9th century. The second writing of the nisba as al-Mawry, which may be read as the 'Moor’, which is ultimately from the Greek, mavros (black), suggests that he was a non-Arab and the exogenous term for his name was most likely acquired while in Italy.
(L'emirato di Bari, pg 61-62, The Muslims of medieval Italy pg 21)
But its his primary name of Sawdan (pronounced 'Sudan') that definitively points to an origin in the Bilad al-Sudan (land of the blacks). The term 'Sudan' had been used by Muslim writers since atleast the 9th century to describe dark-skinned people in general, and west-Africans in particular. Its most explicit use was by the black Muslim poet al-Jahiz based in Abbasid Iraq, who wrote a polemical treatise in 846 titled 'Fakhr al-Sudan 'ala al-Bidan' (The boasts of the dark-skinned ones over the light-skinned ones). More specifically, 'Sudan' was used as a term for west Africa immediately south of north Africa. The Arab writer al-Ya’qūbī's Kitab al Buldan (889) in which he mentions various realms of the "Sudan" including the kingdom of Gao (eastern Mali), Kanem (lake chad basin) and Kawar (north-eastern Niger), and the city of Zawila (southern Libya), the last of which had a mixed population of Berbers, (black) Africans of the Tubu and Kanuri ethnicity, and captives from west Africa who were also called 'sudan'.


Ruins of Zawila's friday mosque, first built between the 7th and 9th century. The town of Zawila predates the Islamic era but it flourished in the middle ages partly due to its connection with Ifriqiya and west Africa. (see: The Aghlabids and their neighbors pg 557-561)

Location of Zawila relative to the other regions of the 'Sudan'
The Fezzan was itself considered part of the "Sudan" and Zawila was refered to by al-Yaqubi as “Zawīlat al-Sūdān”, from where west-African captives travelled to Ifrīqiya to join Berber captives from north-Africa ( al-Barbari). The fact that both of Bari's rulers; al-Barbari and Sawdan have exonyms of non-Arabs given to them by Arabs and also associated with servitude indicates that Sawdan was most likely of west African origin. However, both names were exceptionally rare among actual Berbers and Sudan, as their association with servitude made them unappealing to a Muslim, explaining why both quickly disappeared in later generations and why there are no al-Barbari or al-Sudani families or clans.
(African dominion pg 28-29, Inventing the Berbers pg 110-111, 221 n.11, The Muslims of medieval Italy pg 21)
Sicily was home to a significant black population since atleast the 5th century BC. They constituted both the settler population and the military units which controlled the island during the Carthaginian and Roman eras, and well into the Islamic era. Besides the first attack of the island from Ifriqiya in 827 mentioned above that included black contigents, Sicily was again attacked by a force from Ifriqiya in 902 that included black soldiers. Another account from 1015, mentions a failed rebellion on the island of Sicily which involved Berbers and black infantrymen that attacked the Island's capital, Palermo.
(Africa in Europe pg 24-26, 79, The Muslims of medieval Italy pg 73)
Many of the Ifriqiya colonists of the islands would have also included black settlers both in the Muslim era and in the later Christian era when the island was taken in 1091. For example, a certain Ibrahim ibn Sawdan al-Tamimi appears as a witness in a land sale from 1116 in Palermo, indicating he was a son of a man named Sawdan. The account of Ibn Jubayr, who visited Sicily in 1185 when it was under the Christian rule of the Normans includes descriptions of black Muslim guards at the palace of William II. Additionally, several toponyms in Sicily had the name "Seuden" or "Sudan" such as estates and a gate named Bab al-Sudan (Gate of the Blacks). Such toponyms are usually associated with the settlement of a given ethnic group which in this case were black Muslims. An example is the Saqaliba quarter of Palermo that’s named after central European captives.
(Arabic administration in Norman Sicily pg 315-316, 212, Muslims and Christians in Norman Sicily 110, 189, 198, 216-217)
Diplomacy, warfare and trade between Sawdan's Bari kingdom and the Lombard states of Italy.
Sawdan's first action was to send a messenger to the caliph al-Mutawwkil asking the latter for a letter of appointment. The messenger arrived after al-Mutawwkil's death but his sucessor, the Caliph Al-Muntasir eventually managed to send the letter. This allowed Sawdan to take on the title of amir/emir, placing his kingdom under the Abbasid Caliphate's suzeranity and marking it off as independent from the Ifriqiya based kingdom.
(History of the Arab invasions pg 246)
Details of Sawdan's reign are primarily recorded in Latin sources that are understandably hostile as they mostly relate to the Bari kingdom's external wars. Sawdan campaigned against the dutchy of Benevento and reduced its ruler, prince Adelchi, to a vassal of Bari. In 1858, Sawdan attacked the cities of Capua, Conza, Liburia, and encamped near Naples where he set up a his court. In 859, a coalition of Christian forces from Marsi, Telese, and Boviano gathered to prevent Sawdan from returning to Bari after a campaign against Capua. After a fierce battle, Sawdan's army nearly annihilated the coalition and managed to return to Bari. This Christian defeat occurred despite the approach of Louis II's armies as the latter was forced to deal with sucession disputes in neighboring duchies. Sawdan would attack Capua again in 861, compelling the city to pay tribute of 3,000 gold coins.
(L'emirato di Bari, pg 63-66)
Under Sawdan's rule, the city of Bari was embellished with the mosque, palaces and public works. Outlying provinces and cities under Sawdan's authority such as Apulia, Sarleno, Volturno river valley and the Liburia region next to Naples, were protected by Bari's army and their Christian rulers paid tribute to Sawdan despite the protests of their priests. The emirate's establishment reinvigorated pre-existing patterns of exchange. Its estates in the fertile volturno river valley made it a significant exporter of wine, and its position along trade routes allowed it to tax the lucrative trade in ceramics and agricultural produce.
(L'emirato di Bari, pg 67-76)

Approximate extent of Sawdan's kingdom of Bari. The major Muslim settlements are underlined, including Taranto, although it wasnt under Bari but Ifriqiya
Having established a relatively stable base of power, Bari is recognized as an important state and its ruler Sawdan is described by travelers as an astute head of state. A Christian chronicler of the 860s, a certain Frankish monk named Bernard, on his way to the Holy Land, passed with his two traveling companions through the Emirate of Bari. In his Itinerarium Bernardi, Bernards reports that Sawdan supplied letters of protection “to the princes of Alexandria and Babylonia” so that Bernards could make his way to Taranto to take ship to the east. Bari maintained the pre-existing exchanges of southern Europe that primarily involved the export of European captives to the muslim world. Bernard mentioned that the ships he boarded also carried 9,000 slaves collected at Bari to be exported to Egypt. These slaves came mostly from northern and central Europe and were procured from Lombard traders in the interior, but the figures are almost certainly exaggerated as the ships were too small.
(Bernad, explorer of the Muslim lake, pg 31-32)
In the Hebrew chronicle of Ahimaaz, Sawdan is described as a wise leader and good ruler. It includes detailed descriptions of Sawdan’s dealings with the southern Apulian city of Oria, and in particular with its Jewish community. Sawdan was a close friend of the local Jewish scholar, Rabbi Abu Aaron from whom he sought advice on good governance. While the chronicle's description of Aron's stay at Sawdan’s court is probably romanticized, it reflects the prominent roles that Apulian Jews occasionally played the role of cultural brokers between the Muslims of Bari and Lombard states during the years of Muslim presence in southern Italy.
(The Aghlabids and their neighbors pg 485)
The emirate of Bari lasted long enough to build more positive ties with its Christian neighbors, exchanging diplomatic embassies and taking refugees of political rivals. In 865, perhaps pressured by the Church ever uncomfortable with the presence of a Muslim state on mainland Italy, the Carolingian ruler Louis II issued a capitulary, calling all men-at-arms of northern Italy to assemble in Lucera, in the spring of 866 for an assault on Bari. Using the pretext of expelling the Muslims from southern Italy, king Louis was effectively undertaking an ambitious attempt to assert Carolingian control over southern Italy, challenging Byzantine claims to the same region and subsuming independent local Christian states. The wars between Bari and the Carolingians eventually destroyed all visible markers of the Bari kingdom's presence in Italy including the mosques and Muslim residences.
(L'emirato di Bari, pg 90-94)

12th century manuscript illustration depicting the conflicts between the Byzantines and the muslims of Bari. This manuscript, titled Madrid Skylitzes depicts Muslim forces in a typical stylized fashion as the artist wasn't a witness to the events
The Bari-Carolingian wars and the fall of the kingdom (866-871)
Louis's armies captured the cities of Capua, Salerno and Benevento mostly peacefully, receiving the submission of their rulers who effectively severed Bari's suzeranity. He advanced against Bari in 867 but was defeated in his first engagement with Sawdan's forces, forcing him to retreat and change tactics. He attacked and took the cities of Matera, Canosa and Oria, whose inhabitants immediately switched allegiance to him. Concurrently, a Byzantine fleet hoping to regain lost territories in the region advanced towards Bari later that year and by 868 attempted to form an alliance with Louis, but the two ultimately fell out.
(L'emirato di Bari, pg 97-103, The Aghlabids and their neighbors pg 487)
Not long after the Byzantines had departed, Sawdan's army campaigned as far as the city of Gargano in 869. In retaliation, Louis's forces attacked the cities of Apulia, including some under Aghlabid control, and besieged the city of Bari with a coalition of forces in 870. Its at this point that the Aghlabids of Sicily sent reinforcements to Bari but they were intercepted and the city of Bari eventually capitulated by 871. Sawdan was captured and detained by Louis III, remaining at the latter's palace and fomenting intrigue at his court until Louis's death, afterwhich he was freed and took refuge in Taranto. The latter city would itself fall to the Byzantines in 967, marking the end of the Muslim kingdoms of Italy.
(The Aghlabids and their neighbors pg 488, Fragile Borders beyond the Strait pg 150-152)

floor mosaic in the basilica of San Nicola at Bari, made by a Muslim mosaicist at the turn of the 11th century. (see: La Puglia nel periodo dei saraceni by Maddalena Malcangio pg 93-97)

inscription describing a Byzantine victory over a Muslim force at Bari dated between 1002-1004
Conclusion: Bari and the Muslim era of southern Italy
After the fall of Sawdan's forces, Bari was forever lost to the Muslim states of north-Africa, a final attempt to retake it in 1002/4 ended in defeat. The African kingdom of Bari, whose rulers went from being mere mercenaries to founders of an emirate acknowledged by the Abbasid empire, provides an invaluable insight into the African role in the Muslim expansion, and the African presence in medieval Italy.
Far from the stereotypical descriptions of violent 'saracens', the historical analysis of the Bari kingdom reveals a more complex picture that included co-operation across religious and ethnic boundaries, mercantile activity, and the establishment of regional power centres recognized by both Christian and Muslim powers.
References:
L'emirato di Bari By Giosuè Musca
The Aghlabids and their neighbours By Glaire D. Anderson
Muslims of Medieval Italy By Alex Metcalfe
Africa in Europe By Stefan Goodwin
History of the Arab invasions by Ahmad b. Yahya al-Baladhuri
African dominion By M. Gomez
Inventing the Berbers By Ramzi Rouighi
Arabic administration in Norman Sicily By Jeremy Johns
Muslims and Christians in Norman Sicily By Alex Metcalfe
Bernad explorer of the Muslim lake by L Halevi
La captivité de l’empereur Louis II à Bénévent by Thomas Granier
Fragile Borders beyond the Strait By Giuseppe Perta
Third/Ninth-Century Violence By Christopher Heath