He fled to the Deylik of Algiers, a country which was De facto independent from the Ottoman Empire, similar to the other countries of the Barbary Coast.
He went to the Deylik of Algiers, a state that was practically self-governing from the Ottoman Empire, similar to the other countries along the Barbary Coast.