Tripolitanian civil war

The Tripolitanian civil war was a conflict from 1793 to 1795 which occurred in what is today the country of Libya. Ali Benghul, an Ottoman officer, deposed Hamet Karamanli, the ruler of Tripolitania, who had ruled since the end of the corrupt and ineffective rule of Ali I in 1793. Hamet and his brother Yusuf returned to Tripoli with the aid of the Bey of Tunis and took control of the throne.

Following the end of the war Hamet Karamanli was initially returned to the throne, ruling again as Ahmad II Pasha from 20 January 1795 until 11 June 1795, when Hamza Yusuf deposed him, seized the throne, and sent Hamet into exile. Hamet later tried unsuccessfully to return and seize the throne with American support in the Battle of Derne during the First Barbary War.