Rubuta ci gaba don wannan sakin layi - A farkon karni na 19, Aljeriya ta sake yin amfani da fashin teku mai yawa a kan jigilar kayayyaki daga Turai da kuma Amurka ta Amurka, musamman saboda matsalolin haraji na ciki, da kuma lalacewar da Yaƙe-yaƙe na Napoleon ya haifar. Wannan kuma ya haifar da Yaƙin Barbary na Farko
da Yaƙe-yaƙe na biyu na Barbary, wanda ya ƙare a watan Agusta 1816 lokacin da Lord Exmouth ya aiwatar da harin jirgin ruwa na Algiers, mafi girma, kuma mafi nasara. Yaƙe-yaƙe na Barbary ya haifar da babbar nasara ga Amurka, Burtaniya, da Dutch Navy.