The Ifranid Emirate of Tlemcen[1] or Ifranid Kingdom of Tlemcen,[2][3][4] was a Kharijite state,[5][3] founded by Berbers, of the Ifranids, in the central Maghreb in the eighth century,[6] with a capital at Tlemcen in modern Algeria.[6]