It is a sacred city of Islam. Founded in 670 by Uqbah bin Nafi, an Arab leader, it was the seat of Arab governors in W Africa until 800. Under the Aghlabid dynasty (800-909), it remained the chief center of commerce and learning. It was the first capital (909-21) of the Fatimids