Overview
Ifriqiya, also known as al-Maghrib al-Adna, was a medieval historical region comprising today's Tunisia and eastern Algeria, and Tripolitania (roughly western Libya). It included all of what had previously been the Byzantine province of Africa Proconsularis and extended beyond it, but did not include the Mauretanias.
To the south, Ifriqiya was bounded by the semi-arid lands and salt marshes named el-Djerid. The northern boundary fluctuated from as far north as Sicily to the North African coastline, and the western boundary usually reached Béjaïa. The capital was briefly Carthage, then Qayrawan (Kairouan), then Mahdia, then Tunis. The Aghlabids, from their base in Kairouan, initiated the invasion of Southern Italy beginning in 827, and established the Emirate of Sicily, which lasted until it was conquered by the Normans, and the short-lived Emirate of Bari.
History
The province of Ifriqiya was created in 703 CE when the Umayyads seized Africa from the Byzantine Empire. Although Islam existed throughout the province, there was still considerable religious tension and conflict between the invading Arabs and the native Berbers. The beliefs and perceptions of people also shifted from area to area. This contrast was at its greatest between coastal cities and villages. Muslim ownership of Ifriqiya changed hands numerous times in its history with the collapse of the Umayyads paving the way for the Aghlabids, who acted as agents of the Abbasids in Baghdad.
They were then overthrown by the Fatimids in 909, when they lost their capital of Raqqada and the Fatimids went on to control all of Ifriqiya in 969, when they took control of Egypt. The Fatimids slowly lost control over Ifriqiya as their regents, the Zirids, became more and more autonomous until the mid-11th century when they fully separated.
From Wikipedia (CC BY-SA 4.0).