In 1159, the Almohad 'Abd al-Mu'min took Tunis, overthrew the last Khurasanid leader, and installed a new government in the kasbah of Tunis. The Almohad conquest marked the beginning of the dominance of the city in Tunisia. Having previously played a minor role behind Kairouan and Mahdia, Tunis was promoted to the rank of provincial capital.