In 1711 Ahmed Karamanli founded his own dynasty in Libya after breaking it away from this Muslim empire's control
... 
Gradually, Gaddafi has begun to back away from his concerted efforts to tangle 
with the ... Ahmad Karamanli seized Tripoli in 1711 and established a hereditary 
Arab monarchy, ... Ali Benghul restored Tripolitania to the Ottoman Empire in 
1793.