Whakaotihia te rerenga e whai ake nei: I whakaroa a Jefferson ki te uru atu ki tetahi momo pakanga o te ao, engari i whakapono ia ko te kaha te mea pai ki te aukati i nga Kawanatanga Barbary mai i te tono atu i te takoha. I whakahaua e ia te US Navy ki te Moana Mediterranean ki te tiaki i nga Pirates Barbary, ka timata te pakanga
Ko te Pakanga Tuatahi o Barbary. Ko nga mahi tuatahi a te tari kaore i tino whai hua, a i te tau 1803 ka mau a Tripoli ki te frigate. I te Hui-tanguru 1804, i arahi a Lieutenant Stephen Decatur i tetahi whakaekenga angitu ki te tauranga o Tripoli i tahuna ai te "Philadelphia", i waiho ai a Decatur hei toa a motu. I akiaki a Jefferson me te ope moana o Amerika i a Tunis me Algiers ki te whakakore i to raatau hononga ki Tripoli i mutu ai te nekehanga mai i te pakanga. I whakahaua hoki e Jefferson e rima nga whakaekenga moana motuhake o Tripoli, i whakahoki mai i te rangimarie i te Moana-a-Kiwa mo tetahi wa, ahakoa i haere tonu a Jefferson ki te utu i nga Whenua Barbary i toe ki te mutunga o tana perehitini.