In 1711 Ahmed Karamanli founded his own dynasty in Libya after breaking it away from this Muslim empire's control
In 
1711 the province underwent a change similar to the one that Tunisia had ... chief 
of the cavalry, Amad Karamanli, usurped power and established his own 
dynasty.