Kammala wannan jumlar: Dey na Algiers da kansa ya kasance mai rauni a siyasa, tattalin arziki, da soja. Aljeriya ta kasance wani ɓangare na Barbary States, tare da Tunisiya ta yau <unk> wanda ya dogara da Daular Ottoman, sannan Mahmud II ya jagoranci <unk> amma ya sami 'yanci na dangi. Yankin Barbary Coast ya kasance sansanin 'yan fashin teku na Berber, waɗanda suka kai wa jiragen ruwa na Turai da na Amirka hari. Rikici tsakanin Barbary States da sabuwar Amurka mai zaman kanta ta Amurka ta ƙare a cikin
Na Farko (1801 <unk> 05) da Na Biyu (1815) Yaƙe-yaƙe na Barbary. Sojojin Anglo-Dutch, karkashin jagorancin Admiral Lord Exmouth, sun gudanar da aikin azabtarwa, harin da aka yi a watan Agusta 1816 na Algiers. An tilasta wa Dey ya sanya hannu kan yarjejeniyar Barbary, yayin da fasahar fasahar Amurka, Burtaniya, da Faransa suka mamaye kwarewar 'yan Aljeriya a yakin ruwan.