Autonomous Muslim Berber powers define the late medieval period (10001400 A.D.) in western North Africa. Despite periods of struggle among different dynasties, the entire region is united under Almohad rule. Later, under the Hafsids in the east and Marinids in the west, the Maghrib enjoys stability. Patronage and the creation of metropolitan centers such as Fez, Marrakesh, and Tunis stimulate developments in philosophy and the arts.
9721152 Two Berber dynasties, the Zirids and Hammadids, control Tunisia and eastern Algeria, as Fatimid vassals. A Zirid rebellion against the Fatimids in 1050 and subsequent retaliation by the Hilali Bedouin under Fatimid orders bring devastation, including the destruction of Kairouan.
1007 The Hammadids found a fortified citadel (Arabic: qalca) in the Maadid Mountains of Algeria which is rapidly populated and develops into the first capital (destroyed 1152). The site, known today as the Qalca Bani Hammad, is an important example of a medieval Muslim city, and its congregational mosque is among the largest in North Africa.
ca. 10621150 The Almoravids (al-Murabitun), another dynasty of Berber origin, conquer Morocco and found Marrakesh as their capital. They rule parts of the Sahara, Morocco, Algeria, and Spain and control important North African ports as well as trans-Saharan trade. Due to their interest in reviving Islam and strengthening orthodoxy, the arts and architecture in the early period are simple, in contrast to developments in later periods. The mosques of Algiers (ca. 1097), Tlemcen (1136), and Qarawiyin in Fez (1135) are important architectural examples from the Maghrib during this period.
11501269 Following their conquest of Almoravid Morocco and Spain, the Almohads (al-Muwahhidun), another Berber dynasty, add Hammadid and Zirid territories (in present-day Algeria and Tunisia) to their realm (115260). Religious reformation is integral to Almohad establishment, and their courts in Marrakesh and Sevilla become centers of Islamic learning. The integration of all of the Maghrib as well as Islamic Spain under one rule creates a unified artistic sphere. Developments in architecture include the walls of Fez, Rabat, and Marrakesh and the mosques of Taza (Marrakesh, 1142), the Kutubiyya (Marrakesh, 114758), Tinmal (115354), the Qasba (Marrakesh, 1195), and Hasan (Rabat, 1199; unfinished).
12291574 The Hafsids gain control in the eastern Maghrib with the decline of Almohad power. They repair damage done to the land by the Hilali Bedouin and rebuild the Great Mosque of Kairouan. The establishment of Tunis as their new capital reflects the significance of Mediterranean trade. Contacts with Egypt and Andalusia, but especially the influx of Muslim craftsmen and intellectuals fleeing the Christian reconquest of Spain, enrich artistic production.
12691465 The Marinid dynasty (11951465) ends Almohad rule and conquers all of the Maghrib, though it can only briefly sustain power in Hafsid territories. Early on, under Abu Yusuf Yacqub (r. 125886), the city of New Fez is founded. The patronage of such early sovereigns leads to a flourishing of literature and the arts. Architectural activity involves urban fortification, palaces, mosques, and madrasas. Important examples include the mosques of Taza (129194) and al-Mansura near Tlemcen (begun 1303), the Bu cInaniya Madrasa in Fez (135055), and the necropolis at Chella (Rabat, 1351).