In August 1783, in response to acts of piracy undertaken by the city, a Spanish fleet with Maltese participation under Antonio Barceló bombarded
Algiers for 8 days. 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". Five Algerian privateers captured two Spanish merchant vessels near
Palamós in September 1783 as a gesture of defiance. The city's defenses were reinforced with a new 50-gun fortress, 4,000
Turkish volunteer soldiers were recruited in
Anatolia, and European aides were hired to assist in the building fortifications and batteries. In addition, at least 70 vessels were prepared to repel the Spanish, and a reward of one thousand gold pieces was offered by the Dey to anyone who captured a ship of the attacking fleet. Meanwhile, in
Cartagena, Barceló had finished preparations for a new expedition. His fleet consisted of four 80-gun
ships of line, four
frigates, 12
xebecs, 3
brigs, 9 small vessels, and an attacking force of 24
gunboats 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 8
bomb vessels with 8 pound pieces. The expedition was financed by
Pope Pius VI and supported by the Navy of the
Kingdom of the Two Sicilies, which provided two ships of the line, three frigates, two brigs and two xebecs under Admiral Bologna, by the
Order of Malta, which provided a ship of line, two frigates and five
galleys, 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. ==Bombardment==