The painting is a portrayal of the Bombardment of Algiers, which took place on 27 August 1816. This campaign was an attempt by the British to end the slavery conducted by the Dey of Algiers, specifically to free the hundreds of Christians that had been enslaved by the Dey. It was the result of the Dey's rejection of previous non-combative negotiations to free these slaves.