These are Muslim pirates and privateers working around North Africa who harassed American trade ships when Adams and Jefferson were diplomats. Jefferson had to negotiate with them for the release of hostages; both men despised them. While president, Jefferson would engage in the First Barbary War with them (1801-1805).