Danish–Algerian War

The Danish–Algerian War was a conflict lasting from 1769 to 1772 between Denmark-Norway and Eyalet of Algiers which was a province of the Ottoman Empire. It is also known as the Algerian Expedition, or "The War Against Algeria".

Background and Beginning of Conflict
Danish-Norwegian trade in the Mediterranean greatly expanded in the mid 1700s. In order to protect their lucrative business against piracy, Denmark-Norway had secured a peace deal with the states of Barbary Coast, involving the payment an annual tribute to the individual rulers of those states and additionally to the United States.

In 1766 Baba Mohammed ben-Osman became Dey of Algiers. He demanded that the annual payment made by Denmark-Norway should be increased, and he should receive new gifts. Denmark-Norway refused the demands. Shortly after, Algerian pirates hijacked three Danish-Norwegian ships and sold the crew into slavery.

Response
Warships loaded with gunpowder and bullets sailed from Copenhagen in 16 May 1770. They threatened to bomb the Algerian capital if the Algerians did not agree to a new peace deal on Danish terms. Algiers was not intimidated, and the Danish-Norwegian bombardment ended in failure, as a large part of the crew fell seriously ill due to an outbreak of Typhoid. The ships could not withstand heavy mortar counter-strikes from the Algerians, which damaged their hulls. The Danish-Norwegian contingent unloaded approximately 75 bombs against the city of Algiers before the attack had to be abandoned. The contingent then resorted to a blockade of the city.

Aftermath
In 1772, a delegation was sent to Algiers, and after five days of negotiations a new peace was concluded in which Algiers was well paid. In addition, Denmark-Norway had to pay for the return of each slave who had been captured during the war. Danish and Norwegian slaves who were sold to private slave owners had to individually negotiate the prices of their freedom.

Today the war is mostly forgotten in Denmark and Norway, because it has not played a big role in Danish and Norwegian history.