Barbary Pirates Muslim

https://www.thoughtco.com/young-u-s-navy-battled-north-african-pirates-1773650
Muslim pirates considered Americans to be infidels and they believed they simply had the right to plunder American ships.
When Thomas Jefferson became president, he refused to pay any more tribute to the Barbary pirates.