|Muslim conquest of the Maghreb|
|Part of the Arab Conquests and the Arab-Byzantine wars|
Roman Theatre at Leptis Magna
Kingdom of Altava
Kingdom of the Aurès
 Kingdom of Ouarsenis
Kingdom of Hodna
|Commanders and leaders|
Gregory the Patrician †|
John the Patrician
Abd Allah ibn al-Zubayr|
Abdallah ibn Sa'd
Uqba ibn Nafi †
Abu al-Muhajir Dinar †
Musa ibn Nusayr
Hassan ibn al-Nu'man
Tariq ibn Ziyad
Zuhayr ibn Qays †
The Muslim conquest of the Maghreb (Arabic: ? ) continued the century of rapid Muslim conquests following the death of Muhammad in 632 and into the Byzantine-controlled territories of Northern Africa. In a series of three stages, the conquest of the Maghreb commenced in 647 and concluded in 709 with the Byzantine Empire losing its last remaining strongholds to the then-Umayyad Caliphate under Caliph Muwiya ibn Ab? Sufy?n.
By 642 AD, under Caliph Umar, Arab Muslim forces had laid control of Mesopotamia (638 AD), Syria (641 AD), Egypt (642 AD), and had invaded Armenia (642 AD), all territories previously split between the warring Byzantine and Sasanian empires, and were concluding their conquest of the Persian Empire with their defeat of the Persian army at the Battle of Nah?vand. It was at this point that Arab military expeditions into North African regions west of Egypt were first launched, continuing for years and furthering the spread of Islam.
In 644 at Medina, Umar was succeeded by Uthman, during whose twelve-year rule Armenia, Cyprus, and all of modern-day Iran, would be added to the expanding Rashidun Caliphate. With Afghanistan and North Africa being targets of major invasions and Muslim sea raids ranging from Rhodes to the southern coasts of the Iberian Peninsula, the Byzantine navy was defeated in the eastern Mediterranean.
The earliest Arab accounts that have come down to us are those of ibn Abd al-Hakam, al-Baladhuri and Khalifah ibn Khayyat, all of which were written in the ninth century, some 200 years after the first invasions. These are not very detailed. In the case of the most informative, the History of the Conquest of Egypt and North Africa and Spain by Ibn Abd al-Hakam, Robert Brunschvig has shown that it was written with a view to illustrating points of Maliki law rather than documenting a history, and that some of the events it describes are probably historical.
Beginning in the 12th century, scholars at Kairouan began to construct a new version of the history of the conquest, which was finalised by Ibrahim ibn ar-Raqiq. This version was copied in its entirety, and sometimes interpolated, by later authors, reaching its zenith in the 14th century by scholars such as ibn Idhari, ibn Khaldun and al-Nuwayri. It differs from the earlier version not only in the greater detail, but also in giving conflicting accounts of events. This, however, is the best-known version and is the one given below.
There is ongoing controversy regarding the relative merits of the two versions. For more information, refer to the works cited below by Brunschvig, Yves Modéran and Benabbès (all supporters of the earlier version) and Siraj (supports the later version).
The first invasion of the Maghreb, ordered by Abdallah ibn Sa'd, commenced in 647. 20,000 soldiers marched from Medina in the Arabian Peninsula, with another joining them in Memphis, Egypt where Abdallah ibn Sa'd then led them into the Byzantine Africa, the Maghreb region. The invading army took Tripolitania (in present-day Libya). Count Gregory, the local Byzantine governor, had declared his independence from the Byzantine Empire in Africa. He gathered his allies, confronted the invading Islamic Arab forces and suffered defeat (647) at the Battle of Sufetula, a city 240 kilometres (150 mi) south of Carthage. With the death of Gregory, his successor, probably Gennadius, secured the Arab withdrawal in exchange for tribute. The campaign lasted fifteen months and Abdallah's force returned to Muslim territories in 648.
All further Muslim conquests were soon interrupted, however, when the Kharijite dissidents murdered Caliph Uthman after holding him under house arrest in 656. He was replaced by Ali, who in turn was assassinated in 661. The Umayyad Caliphate of largely secular and hereditary Arab caliphs, then established itself at Damascus and Caliph Muawiyah I began consolidating the empire from the Aral Sea to the western border of Egypt. He put a governor in place in Egypt at al-Fustat, creating a subordinate seat of power that would continue for the next two centuries. He then continued the invasion of non-Muslim neighboring states, attacking Sicily and Anatolia (in Asia Minor) in 663. In 664, Kabul, Afghanistan, fell to the invading Muslim armies.
The years 665 to 689 saw a new Arab invasion of North Africa.
It began, according to Will Durant, to protect Egypt "from flank attack by Byzantine Cyrene". So "an army of more than 40,000 Muslims advanced through the desert to Barca, took it, and marched to the neighborhood of Carthage", defeating a defending Byzantine army of 20,000 in the process.
Next came a force of 10,000 Arabs led by the Arab general Uqba ibn Nafi and enlarged by thousands of others. Departing from Damascus, the army marched into Africa and took the vanguard. In 670, the city of Kairouan (roughly 150 kilometers [80 mi] south of modern Tunis) was established as a refuge and base for further operations. This would become the capital of the Islamic province of Ifriqiya (the arabic pronunciation of Africa), which would today's western Libya, Tunisia, and eastern Algeria.
After this, as Edward Gibbon writes, the fearless general "plunged into the heart of the country, traversed the wilderness in which his successors erected the splendid capitals of Fes and Morocco, and at length penetrated to the verge of the Atlantic and the great desert". In his conquest of the Maghreb (western North Africa), he besieged the coastal city of Bugia as well as Tingi or Tangier, overwhelming what had once been the traditional Roman province of Mauretania Tingitana.
But here he was stopped and partially repulsed. Luis Garcia de Valdeavellano writes:
In their invasions against the Byzantines and the Berbers, the Arab chieftains had greatly extended their African dominions, and as early as the year 682 Uqba had reached the shores of the Atlantic, but he was unable to occupy Tangier, for he was forced to turn back toward the Atlas Mountains by a man who became known to history and legend as Count Julian.
Moreover, as Gibbon writes, Uqba, "this Mahometan Alexander, who sighed for new worlds, was unable to preserve his recent conquests. By the universal rebellion against muslim occupation of the Greeks and Africans he was recalled from the shores of the Atlantic." On his return, a Berber-Byzantine coalition ambushed and crushed his forces near Biskra, killing Uqba and wiping out his troops.
Then, adds Gibbon, "The third general or governor of Africa, Zuhayr, avenged and encountered the fate of his predecessor in the Battle of Mamma. He vanquished the native population in many battles but he was overthrown by a powerful army, which Constantinople had sent to the relief and liberation of Carthage."
Meanwhile, a new civil war among rivals for the monarchy raged in Arabia and Syria. It resulted in a series of four caliphs between the death of Muawiya in 680 and the accession of Abd al-Malik ibn Marwan (Abdalmalek) in 685; strife ended only in 692 with the death of the rebel leader.
This development brought about a return of domestic order that allowed the caliph to resume the Islamic conquest of North Africa. It began with the renewed invasion of Ifriqiya. Gibbon writes:
the standard was delivered to Hassan governor of Egypt, and the revenue of that kingdom, with an army of forty thousand men, was consecrated to the important service. In the vicissitudes of war, the interior provinces had been alternately won and lost by the Saracens. But the seacoast still remained in the hands of the Greeks; the predecessors of Hassan had respected the name and fortifications of Carthage; and the number of its defenders was recruited by the fugitives of Cabes and Tripoli. The arms of Hassan were bolder and more fortunate: he reduced and pillaged the metropolis of Africa; and the mention of scaling-ladders may justify the suspicion, that he anticipated, by a sudden assault, the more tedious operations of a regular siege.
Having lost Carthage to the Muslims in 695, the Byzantine Empire responded with troops from Constantinople, joined by soldiers and ships from Sicily and a powerful contingent of Visigoths from Hispania. This forced the invading Arab army to run back to Kairouan. Then, writes Gibbon, "the Christians landed; the citizens hailed the ensign of the cross, and the winter was idly wasted in the dream of victory or deliverance."
In 698, the Arabs conquered Carthage under Hassan ibn al-Nu'man and completed the conquest of the eastern Barbary coast. Anticipating attempts at Byzantine reconquest however, they decided to destroy it. The walls were torn down, the agricultural land ravaged, the aqueducts and harbors made unusable. They established their base instead at Tunis which was heavily expanded, though Kairouan remained the governor's capital until late-9th century.
This was immediately followed by a Berber rebellion against the new Arab overlords and a decisive victory at the Battle of Meskiana. Gibbon writes:
Under the standard of their queen Kahina, the independent tribes acquired some degree of union and discipline; and as the Moors respected in their females the character of a prophetess, they attacked the invaders with an enthusiasm similar to their own. The veteran bands of Hassan were inadequate to the defence of Africa: the conquests of an age were lost in a single day; and the Arabian chief, overwhelmed by the torrent, retired to the confines of Egypt.
In 703, five years passed before Hassan received fresh troops from the caliph. Meanwhile, the people of North Africa's cities chafed under the Berber reign. Thus Hassan was welcomed upon his return, and managed to kill Kahina at the Battle of Tabarka. Gibbon writes that "the friends of civil society conspired against the savages of the land; and the royal prophetess was slain in the first battle."
In the meantime, the Arabs had taken most of North Africa from the Byzantines. The area was divided into three provinces: Egypt with its governor at al-Fustat, Ifriqiya with its governor at Kairouan, and the Maghreb (modern Morocco) with its governor at Tangiers.
The successful general Musa bin Nusair was appointed the governor of Ifriqiya. His armies brutally put down the Berbers, consisting of various faiths, who fought against the advancing Muslims. Their conquest reached the Atlantic coast in 708. He was noted for the vast number of mawla he had amassed which consisted of Berber converts to Islam and people from other regions as well. The number of slaves he took in his various campaigns is said to range from 30,000 to 300,000 in various Muslim histories and some even allude to a higher number. Philip Khuri Hitti described the attribution of figures such as 300,000 slaves (also capturing 30,000 noble maidens of Spain) to him as exaggerated which was due to the high number of slaves that were available after Muslim conquests.
Musa also had to deal with the Byzantine navy that still fought on against the Muslim invasions. So he built a navy of his own which went on to conquer the Christian islands of Ibiza, Majorca, and Menorca. Advancing into the Maghreb, his forces took Algiers in 700.
By 709, all of North Africa was under the control of the Arab caliphate. The only possible exception was Ceuta at the African Pillar of Hercules. Gibbon declares: "In that age, as well as in the present, the kings of Spain were possessed of the fortress of Ceuta [...] Musa, in the pride of victory, was repulsed from the walls of Ceuta, by the vigilance and courage of Count Julian, the general of the Goths."
Other sources, however, maintain that Ceuta represented the last Byzantine outpost in Africa and that Julian, whom the Arabs called Ilyan, was an exarch or Byzantine governor. Valdeavellano offers another possibility, that "as appears more likely, he may have been a Berber who was the lord and master of the Catholic tribe of Gomera." In any case, being an able diplomat who was adept in Visigothic, Berber, and Arab politics, Julian might well have surrendered to Musa on terms that allowed him to retain his title and command.
At this time the population of Ceuta included many refugees from a ruinous Visigothic civil war that had broken out in Hispania (modern Portugal and Spain). These included family and confederates of the late King Wittiza, Arian Christians fleeing forced conversions at the hands of the Visigothic Catholic church, and Jews.
As Gibbon puts it, Musa received an unexpected message from Julian, "who offered his place, his person, and his sword" to the Muslim leader in exchange for help in the civil war. Though Julian's "estates were ample, his followers bold and numerous", he "had little to hope and much to fear from the new reign." And he was too feeble to challenge Roderic directly. So he sought Musa's aid.
For Musa, Julian, "by his Andalusian and Mauritanian commands, ... held in his hands the keys of the Spanish monarchy." And so Musa ordered some initial raids on the southern coast of the Iberian Peninsula in 710. In the spring of that same year, Tariq ibn Ziyad--a Berber, a freed slave, and a Muslim general--took Tangier. Musa thereupon made him governor there, backed by an army of 6,700.
The next year, 711, Musa directed Tariq to invade Hispania. Disembarking from Ceuta aboard ships provided by Julian, Tariq plunged into the Iberian Peninsula, defeated Roderic, and went on to besiege the Visigothic capital of Toledo. He and his allies also took Córdoba, Ecija, Granada, Málaga, Seville, and other cities. Due to this, the Umayyad conquest of Hispania completed the Arab conquest of North Africa.
Fearing that the Byzantine Empire might reconquer it, they decided to destroy Roman Carthage in a scorched earth policy and establish their headquarters somewhere else. Its walls were torn down, its water supply cut off, the agricultural land was ravaged and its harbors made unusable.
The destruction of the Exarchate of Africa marked a permanent end to the Byzantine Empire's influence in the region.
It is visible from archaeological evidence, that the town of Carthage continued to be occupied. Constantine the African was born in Carthage. The fortress of Carthage was used by the Muslims until Hafsid era and was captured by the Crusaders during the Eighth Crusade. Remnants of former Roman Carthage was used as a source to provide building materials for Kairouan and Tunis in 8th century.
Archaeological and scholarly research has shown that Christianity existed after the Muslim conquests. The Catholic church gradually declined along with local Latin dialect. Another view however that exists is that Christianity in North Africa ended soon after conquest of North Africa by the Islamic Umayyad Caliphate between AD 647-709 effectively.
Many causes have been seen as leading to the decline of Christianity in Maghreb. One of them is the constant wars and conquests as well as persecutions. In addition, many Christians also migrated to Europe. The Church at that time lacked the backbone of a monastic tradition and was still suffering from the aftermath of heresies including the so-called Donatist heresy, and this contributed to the early obliteration of the Church in the present day Maghreb. Some historians contrast this with the strong monastic tradition in Coptic Egypt, which is credited as a factor that allowed the Coptic Church to remain the majority faith in that country until around after the 14th century despite numerous persecutions. In addition, the Romans were unable to completely assimilate the indigenous people like the Berbers.
Local Catholicism came under pressure when the Muslim fundamentalist regimes of the Almoravids and especially the Almohads came into power, and the record shows persecutions and demands made that the local Christians of Tunis to convert to Islam. We still have reports of Christian inhabitants and a bishop in the city of Kairouan around 1150 - a significant report, since this city was founded by Arab Muslims around 680 as their administrative center after their conquest. A letter from the 14th century shows that there were still four bishoprics left in North Africa, admittedly a sharp decline from the over four hundred bishoprics in existence at the time of the Arab conquest. The Almohad Abd al-Mu'min forced the Christians and Jews of Tunis to convert in 1159. Ibn Khaldun hinted at a native Christian community in 14th century in the villages of Nefzaoua, south-west of Tozeur. These paid the jizuah and had some people of Frankish descent among them. Berber Christians continued to live in Tunis and Nefzaoua in the south of Tunisia until the early 15th century, and "[i]n the first quarter of the fifteenth century, we even read that the native Christians of Tunis, though much assimilated, extended their church, perhaps because the last of the persecuted Christians from all over the Maghreb had gathered there."
Another phase of Christianity in Africa began with the arrival of Portuguese in the 15th century. After the end of Reconquista, the Christian Portuguese and Spanish captured many ports in North Africa.
In June 1225, Honorius III issued the bull Vineae Domini custodes that permitted two friars of the Dominican Order named Dominic and Martin to establish a mission in Morocco and look after the affairs of Christians there. The bishop of Morocco ,Lope Fernandez de Ain, was made the head of the Church of Africa, the only church officially allowed to preach in the continent, on 19 December 1246 by Pope Innocent IV. Innocent IV asked emirs of Tunis, Ceuta and Bugia to permit Lope and Franciscian friars to look after the Christians in those regions. He thanked the Caliph al-Sa'id for granting protection to the Christians and requested to allow them to create fortresses along the shores, but the Caliph rejected this request.
The bishopric of Marrakesh continued to exist until the late 16th century and was borne by the suffragans of Seville. Juan de Prado who had attempted to re-establish the mission was killed in 1631. Franciscan monasteries continued to exist in the city until the 18th century.
The growth of Christianity in the region after the French conquest was built on European settlers, and these immigrants and their descendants mostly left when the countries of the region became independent.
Although the area was under control of the caliphate, there were still some sections of the population that would resist the spread of Islam. The Berber people were thought of as inferior and made to convert to Islam and join the Arab army, receiving less pay than an Arab would have. This led to much dissatisfaction and ultimately the death of Mahgreb's Arab governor, Yazid ibn Abi Muslim at the hands of one of his bodyguards after ordering them to tattoo his name on their arms to signal his ownership.
Another rebellion was prompted by the enslavement of the Berbers. This occurred in southern Morocco, in 739 lasting through to 740. However, this rebellion would be suppressed by an Arab expedition, which seized both prisoners and gold in the process.
One of the unifying forces of these rebellions were the teachings of Arab Kharijite missionaries who had worked as merchants. They were able to convert some sections to their way of thinking and this provided a "unifying discipline and revolutionary zeal that powered the Berber rebellion of 739" through 743.