The previous year, Louis XIV had ordered Duquesne to bombard Algiers after the Dey declared war on France.
After several bombardments in August, the city suffered serious damage, but bad weather prevented the signing of a conclusive peace agreement, forcing Duquesne to return to France.
In the Spring of 1683, Duquesne set to sea once again with a fleet of 17 ships of the line, 3 frigates, 16 galleys, 7 bomb galiots, 48 longboats, 18 fluyts and 8 tartanes.
Louis XIV was frustrated by his failure to either destroy Algiers or force the Algerians to make peace on his terms.
[3] The Algerians replied to the bombs hurled at their city by tying the French consul, Jean Le Vacher to the mouth of a cannon.
Thereafter the corsair captains, though they avoided the coasts of France, continued their raids elsewhere, causing considerable damage to the coastal regions of Spain.