The Banu Khazrun were a family of the Maghrawa that ruled Tripoli from 1001 to 1146.
History
During the 10th century, the region of Ifriqiya and Tripolitania came under the control of the Fatimid Caliphate. After the Fatimids moved their capital to Cairo in the 970s, they left their territories in the Maghreb under the control of their vassals, the Zirid dynasty. After 1001, Tripolitania broke away from Zirid control under the leadership of Fulful ibn Sa'id ibn Khazrun, a leader of the Banū Khazrūn tribe, from the Maghrawa Berber confederation. This established the Banu Khazrun dynasty that lasted up to the mid-12th century.
Fulful fought a protracted war against Badis ibn al-Mansur, the Zirid emir, and sought outside help from the Fatimid caliphs themselves in Cairo and even from the Andalusi Umayyads in Córdoba. After his death in 1009, the Zirids were able to retake Tripoli for a time. The region nonetheless remained effectively under control of the Banu Khazrun, who fluctuated between practical autonomy and full independence, often playing the Fatimids and the Zirids against each other.
After the death of Fulful ibn Sai'd ibn Khazrun in 1009–10, his brother Warru was proclaimed as leader. He warred against the Zirids but was forced to recognize their authority several times.
Khalifa died at some point during the reign of the Fatimid caliph al-Zahir (). Within his lifetime, the sons of Khazrun ibn Sa'id returned to contest control of Tripolitania. Eventually, al-Muntasir emerged victorious as the ruler of Tripoli and the Maghrawa in the region, a position which he kept for a long period. By 1146, a famine drove the city's inhabitants to expel the Banu Khazrun.<!-- Dates fluctuate between these two years in references, probably due to the recorded Hijri year overlapping with two Gregorian calendar years. --> The dynasty's rule came to an end at this time and the Normans extended their influence to the coastal cities in this region.
