The Algiers expeditionof 1516 was an unsuccessful military campaign by the Spanish Empire and the Sheikh of Ténès to overthrow the newly formed Sultanate of Algiers.
The previous sovereign of Algiers had been executed by Oruç Barbarossa, who took power in Algiers. The Spanish, along with the Sheikh of Ténès, wanted to drive out Barbarossa and replace him with the son of the previous prince. The expedition included 10,000 or 15,000 men along with 10,000 Moors from Ténès. Barbarossa's forces included only 1,500 men. [11][12]
In 1516, the invading fleet set sail for Algiers. However, a storm wrecked the fleet while in transit. When the survivors reached Algiers, they were easily routed by Barbarossa's forces.[13]
The Spaniards suffered casualties of 3,000 killed or wounded and 400 captured.[14] In total 8,000 men were lost.[15] The Algerian forces had few casualties.
^ abcBerber Government: The Kabyle Polity in Pre-colonial Algeria
By Hugh Roberts “in late September/early October 1516, a Spanish expeditionary force commanded by Diego de Vera transported by a fleet of some 30 vessels came to the support of the beleaguered garrison on the Peñon by mounting a concerted attack on Algiers, only to be routed by a fierce counter-attack led by Aruj, supported by Ou l-Qadi’s forces”