Ottoman Algeria

Ottoman Algeria, formally the Regency of Algiers, was an Ottoman territory centered on Algiers, in modern Algeria. It was established around 1525 when Hayreddin Barbarossa recaptured the city. The Regency of Algiers was the principal center of Ottoman Empire power in the Maghreb. It was also a base from which attacks were made on European shipping. It roughly covered the area of modern northern Algeria, between the states of Tunisia and Morocco. It rivaled and displaced the Zianids, the Hafsids and the Spanish possessions in northern Africa, and became a major hub of Mediterranean piracy, until the French invasion of Algiers in 1830.

Read more about Ottoman Algeria:  Establishment, French Invasion