Almohad Caliphate
In 1159, the last Khurasanid ruler, Ali ibn Ahmad ibn Abd al-Aziz, was ousted by the Almohad Caliphate and sent into exile. The Almohads annexed the whole Ifriqiya to its empire, putting an end to Khurasanid rule.