On May 10, 1801, Yusuf Karamanli, the Pasha of Tripoli, announced his intention to commence hostilities against the United States and then formally declared war on May 14 when his men chopped down the consulate’s flagpole. Tripoli, along with the other North African (Barbary) states of Tunis and Algiers, was demanding tribute for the passage of American ships. This war ended in 1805 with a U.S. military victory over Tripoli, but without removing any of the Barbary states’ pretensions regarding the United States.