Capture of Algiers (1516)
In 1510, the Spaniards had established themselves on a small island in front of Algiers, and forced the local ruler Sālim al-Tūmī (Selim-bin-Teumi) to accept their presence through a treaty and pay tribute. Fortifications were built on the islet, and a garrison of 200 men was established. Sālim al-Tūmī had to go to Spain to take an oath of obedience to Ferdinand of Aragon.
Capture of Algiers
In 1516, the amir of Algiers, Sālim al-Tūmī, invited the corsair brothers Oruç and Hayreddin Barbarossa to expel the Spaniards. Oruç, with the help of Ottoman troops, came to Algiers, ordered the assassination of Sālim, because Salim was conspiring with the Spaniard against the pirates and Arudj. The Moors have done a huge triumph to Arudj.
He then seized the town. Spanish expeditions were sent to take over the city, first in 1516 under Don Diego de Vera, and then in 1519 under Don Ugo de Moncada, but both expeditions ended in failure.
Hayreddin succeeded Oruç after the latter was killed in battle against the Spaniards at the Fall of Tlemcen (1517), as well as inheriting his nickname "Barbarossa". The capture of Algiers in 1516 had been made possible with the support of the Ottoman Sultan Selim I. This support was discontinued with Sultan Selim's death in 1520, causing Barbarossa to lose the city to a local kabyle chieftain in 1524, and to retreat to his fief of Djidjelli.
- International Dictionary of Historic Places: Middle East and Africa Trudy Ring p.54 
- E.J. Brill's first encyclopaedia of Islam, 1913-1936 by Martijn Theodoor Houtsma p.258 
- Meynier, Gilbert (2010). L’Algérie, cœur du Maghreb classique. Paris: La Découverte. p. 313. ISBN 9782707152312.
- Kaddache, Mahfoud (1992). L'Algérie durant la période ottomane. Alger: Alger : O.P.U. p. 8.
- Garnier, p.20