The Bombardment of Algiers was an attempt on 27 August 1816 by Britain and the Netherlands to end the slavery practices of Omar Agha, the Dey of Algiers. An Anglo-Dutch fleet under the command of Admiral Edward Pellew, 1st Viscount Exmouth bombarded ships and the harbour defences of Algiers.
There was a continuing campaign by various European navies and the American navy to suppress the piracy against Europeans by the North African Barbary states. The specific aim of this expedition, however, was to free Christian slaves and to stop the practice of enslaving Europeans. To this end, it was partially successful, as the Dey of Algiers freed around 3,000 slaves following the bombardment and signed a treaty against the slavery of Europeans. However, this practice did not end completely until the French conquest of Algeria.