In 1805, Mustapha Pasha was assassinated by one of his own janissaries.
In 1816, a combined British and Dutch fleet bombarded Algiers in a successful attempt to free 3000 slaves.
In 1847, the taking of Christian slaves by Algerian corsairs finally ended when France conquered Algeria.