Imam
Abd al-Wahhāb ibn Abd al-Rahman of the
Rustamid dynasty initiated hostilities with the
Aghlabids by leading
Ibadi Tripolitanian tribes in an assault on
Tripoli in July 812. During the siege, the Aghlabid Emir of Ifriqiya,
Ibrahim ibn al-Aghlab passed away. His son,
Abdullah ibn Ibrahim, who was commanding the troops besieged in
Tripoli, was called upon to assume the role of the new emir, prompting him to leave Tripoli by sea. Consequently, the Ibadis lifted the siege of Tripoli, suggesting that an agreement had been reached. This established a
modus vivendi between the two belligerents. == Aftermath ==