| Bombardment of Algiers | |||||||
|---|---|---|---|---|---|---|---|
| Part of theSpanish–Algerian War | |||||||
1784 depiction of the first day of bombardment by José López Llanos | |||||||
| |||||||
| Belligerents | |||||||
| Commanders and leaders | |||||||
| Strength | |||||||
| 9 ships of the line 11 frigates 14 xebecs 90 smaller warships[3] | 4,000 volunteers 70 galiots and gunboats[3] | ||||||
| Casualties and losses | |||||||
| 1 felucca sunk 1 gunboat destroyed 53 killed 64 wounded[4] | Most of the vessels in the harbour sunk | ||||||
Thebombardment of Algiers took place between 12 and 21 July 1784. A joint Spanish-Neapolitan-Maltese-Portuguese fleet commanded by the Spanish AdmiralAntonio Barceló bombarded the city, which was the main base of theBarbary corsairs, with the aim of forcing them to interrupt their activities.[5] The second bombardment followed a similarly failed expedition the preceding year.[6]
In August 1783, in response to acts of piracy undertaken by the city, a Spanish fleet with Maltese participation under Antonio Barceló bombardedAlgiers for 8 days.[4] The expedition ended in failure with some casualties, vast expenditure of ammunition and no effect.[7][8] Significant propaganda was made by the participants to portray the attack as a success, but it only inflicted minor damages and was described by the Spanish court as a "festival of fireworks too costly and long for how little it entertained the Moors".[9] Five Algerian privateers captured two Spanish merchant vessels nearPalamós in September 1783 as a gesture of defiance.[4] The city's defenses were reinforced with a new 50-gun fortress,[3] 4,000Turkish volunteer soldiers were recruited inAnatolia,[3] and European aides were hired to assist in the building fortifications and batteries.[3] In addition, at least 70 vessels were prepared to repel the Spanish,[3] and a reward of one thousand gold pieces was offered by the Dey to anyone who captured a ship of the attacking fleet.[3]
Meanwhile, inCartagena, Barceló had finished preparations for a new expedition. His fleet consisted of four 80-gunships of line, fourfrigates, 12xebecs, 3brigs, 9 small vessels, and an attacking force of 24gunboats armed with pieces of 24 pounds, 8 more with 18 pounds' pieces, 7 lightly armed to board the Algerian vessels, 24 armed with mortars, and 8bomb vessels with 8 pound pieces.[3] The expedition was financed byPope Pius VI and supported by the Navy of theKingdom of the Two Sicilies, which provided two ships of the line, three frigates, two brigs and two xebecs under Admiral Bologna, by theOrder of Malta, which provided a ship of line, two frigates and fivegalleys, and by that of Portugal, which provided two ships of line and two frigates under Admiral Ramires Esquível. These last joined the allied fleet later and arrived in the middle of the bombardment.[3]

On 28 June, having entrusted itself to theVirgen del Carmen, the Allied fleet sailed from Cartagena, arriving off Algiers on 10 July.[3] Two days later at 8:30 AM, the bombardment began with the Spanish ships opening fire. It was kept up until 4:20 PM, during which time about 600 bombs, 1,440cannon balls and 260shells were fired over the city, compared to 202 bombs and 1,164 cannonballs fired by the Algerians.[3] Major damage to the city and its fortifications and a large fire were observed. An attack by light vessels of the Algerian fleet, composed of 67 ships, was repulsed, four of them being destroyed.[3] The Allied casualties were minimal: 6 killed and 9 wounded, most of them due to accidents with thefuses of the bombs.[3] Gunboat No. 27, commanded by the Neapolitanensign José Rodríguez, exploded accidentally, killing 25 sailors.[4]
In the following eight days, seven additional attacks were ordered.[4] The Algerians had placed a line ofbarges armed with artillery that largely prevented the Allied gunboats getting close to their objectives.[3] A shot fired from the fortifications hit thefelucca from which Barceló was directing the bombing, sinking it.[4] José Lorenzo de Goicoechea came to the aid of the admiral, who was rescued unscathed.[4] Passing immediately to another boat, Barceló continued leading the attack, downplaying the importance of the incident.[3] Finally, on 21 July, it was decided to end the attack.[3] Contrary winds forced Barceló to give the order to return to Cartagena. More than 20,000 cannonballs and grenades had been fired on the city,[3] badly damaging the city and causing the sinking in the harbour of most of the Algerian vessels.[10] The Allied casualties were 53 men killed and 64 wounded, most due to accidents.[4]
The bombardment was unsuccessful,[2] but the Dey finally opened to negotiations in 1785,[11][12] alerted by a third bombardment being in the works and the promise of bombarding Algiers every year until they became willing to negotiate. The bombardments had already convinced theOttoman Tripolitania to sign a peace traty with Spain in 1784.[13][14][15] Eventually, a peacy treaty was signed on June 14, 1786, putting an end to Barbary privateering against Spain and allowing a Spanish consulate in Algiers along with toleration of Catholicism in the city,[16] in exchange for a final payment of 700,000 pesos.[14] It was later found out the parts had signed two different treaties, which had to be sorted out with new negotiations, but except by some alterations in relation to the Spanish possession of Oran, the final treatise was left according to the Spanish version.[17]
For the first time in centuries, Spain found itself free from being a target of theBarbary slave trade,[18][12] which led to the extensive development of villages and crops in the Mediterranean coast, previously deterred from exploiting due to the attacks of Barbary corsairs.[14][19] In order to honor the conclusion of the conflict and open trade, Floridablanca sent a diplomatic fleet to Constantinople.[19][14] However, Barbary attacks would return during the unstability of theNapoleonic Wars,[6] until eventually disappearing with theFrench conquest of Algeria.[18]