Complex sentence: The Karamanli, Caramanli, Qaramanli, or al-Qaramanli dynasty was an early modern dynasty, independent or quasi-independent, which ruled from 1711 to 1835 in Tripolitania, comprising Tripoli and its surroundings in present-day Libya.
Split into simpler sentences: The Karamanli, Caramanli, Qaramanli, or al-Qaramanli dynasty was an early modern dynasty, independent or quasi-independent, which ruled from 1711 to 1835 in Tripolitania. The territory comprised Tripoli and its surroundings in present-day Libya.