the barbary wars
The Barbary wars was when Jefferson became president. The Barbary war was the 1st American war with Libya; Morocco, Algiers, Tunis, and Tripoli had been attacking American ships and taking some sailors as prisoners. They would demand tribute money, seized ships, and held crews for ransom or sold them into slavery.