Topic summary
Ottoman Libya

Extracted from the Wikipedia article Ottoman Tripolitania.
Ottoman conquest
Under the Ottomans, the Maghreb was divided into three provinces, Algiers, Tunis, and Tripoli. After 1565, administrative authority in Tripoli was vested in a Pasha directly appointed by the Sultan in Constantinople. The sultan supported the pasha with a corps of janissaries who he was dependent upon, which was in turn divided into a number of companies under the command of a junior officer or bey. The janissaries quickly became the dominant force in Ottoman Libya and were also in charge of collecting taxes; however, Barbary corsairs were the ones who steadily provided income to Tripoli from privateering activities. As a self-governing military guild answerable only to their own laws and protected by a divan (a council of senior officers who advised the pasha), the janissaries soon reduced the pasha to a largely ceremonial role.