Tuhia he tomokanga mō tēnei wāhanga - I whakamātau te US Navy ki te aukati i ngā tauranga o Tripoli me tētahi kapa i tonoa e Peresideni Jefferson i te tau 1803. Whai muri i etahi angitu hoia tuatahi, ko te mea nui ko te hopu i te kaipuke Amerika USS "Philadelphia" i te Oketopa 1803, kaore i roa ka kitea e te Paha i te whakawehi i muri i te whakaekenga i arahina e te rangatira US Navy a Stephen Decatur ki te tahu me te pupuhi i te "Philadelphia" i te tauranga o Tripoli. I te tau 1805, whai muri i te hinganga i te Pakanga o Derna
Ka rite ki te whakaurunga o tana tuakana o Hamet Karamanli e te rangatira o te ope taua o Amerika me te kaitohutohu taapori a William Eaton, i akiaki a Karamanli ki te tuku. I hainatia e ia he tiriti me te karere Amerika a Tobias Lear o te Tari Kawanatanga o Amerika i mutu ai te pakanga i te Pipiri 10, 1805.