Whakaotihia te rerenga e whai ake nei: I muri mai, ka whai a Charles III o Spain ki te whakatau i te raru me te Regency o Algiers, ma te taha hoia me te taha taapori. I te tau 1775, ka tonoa e ia he
he haerenga ki Algiers i rahua. I te tau 1778 i rahua he korerorero, i te tau 1782, kaore a Algiers i piri ki te tiriti i waenga i Spain me te Ottoman Empire. I te aroaro o te whakakahore, ka tonoa e Spain he haerenga whiu hou ki Algiers i te 1783 ka mutu i te 1784. I te tau 1785, i te wa e whakareri ana tetahi atu haerenga Paniora, ka whakatau a Algiers ki te whakaae ki te kawanatanga Paniora, ka haina i tetahi kirimana i te tau 1786 i whakakore i nga corsairs.