Your challenge should you choose to accept it, make the Hafsid Dynasty, which ruled Tunisia and Tripolitania for much of the Late Middle Ages and Early Renaissance, survive to see the 20th century. Bonus points if you can extend that into the modern day. PoD must be after 1277 (after the death of Muhammad I al-Mustansir, the claimed Caliph of Ifriqiya)