Rustamid dynasty
The Rustamid state was an Ibadi imamate in the central Maghreb with its capital at Tahert (today's Tiaret in Algeria). It was founded around 777 by the Persian Abd al-Rahman ibn Rustam, and imams of his line ruled for about 130 years; Tahert was a centre of learning and trans-Saharan trade. In 909 the state was conquered by the Fatimids, and the Ibadis withdrew to the Saharan oases.