The solution.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
""""
With the recommissioning of the American navy in 1794 and the resulting increased firepower on the seas, it became more and more possible for America to say "no".
On Jefferson's inauguration as president in 1801, Yussif Karamanli, the Pasha (or Bashaw) of Tripoli, demanded $225,000 from the new administration. (In 1800, Federal revenues totaled a little over $10 million.) Putting his long-held beliefs into practice, Jefferson refused the demand. Consequently, in May 1801, the Pasha declared war on the United States, not through any formal written documents but by cutting down the flagstaff in front of the U.S. Consulate. Morocco, Algiers, and Tunis soon followed their ally in Tripoli.
In response, Jefferson sent a group of frigates to defend American interests in the Mediterranean, and informed Congress. Although Congress never voted on a formal declaration of war, they did authorize the President to instruct the commanders of armed vessels of the United States to seize all vessels and goods of the Pasha of Tripoli "and also to cause to be done all such other acts of precaution or hostility as the state of war will justify."
Quote:The frigate USS Enterprise carrying 12 six pounders and 90 men defeated Tripolitan corsair Tripoli a ship of 14 six pounders, manned by 80 men after a fierce but one-sided battle on August 1, 1801.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
""""
http://en.wikipedia.org/wiki/USS_Enterprise