no edit summary
====Algiers Declared war on the United States in 1812====
In 1812, the new Dey of Algiers, Hajji Ali, rejected the American tribute negotiated in the 1795 treaty as insufficient and declared war on the United States. Algerian corsairs captured an American ship several weeks later. In accordance with an agreement between the Dey and British diplomats, the Algerian declaration was timed to coincide with the start of the War of 1812 between Britain and the United States. The war with Britain prevented the U.S. Government from either confronting Algerian forces or ransoming U.S. captives in Algiers. Once the Treaty of Ghent ended war with Britain, President James Madison requested that Congress declare war on Algiers, with Congress authorizing the use of force on March 3, 1815. The U.S. Navy, greatly increased in size after the War of 1812, was able send an entire squadron, led by Commodore Stephen Decatur, to the Mediterranean.
====US negotiates treaty with Barbary States and eliminates Tribute====
When the U.S. naval expedition arrived in Algiers, a new ruler, Dey Omar, was in power. Omar wished to restore order after several years of political instability and was acutely aware that he could no longer count on British support against the Americans. Decatur had already defeated two Algerian warships and captured hundreds of prisoners of war, and was in a favorable position for negotiation. Dey Omar reluctantly accepted the treaty proposed by Decatur that called for an exchange of U.S. and Algerian prisoners and an end to the practices of tribute and ransom. Having defeated the most powerful of the Barbary States, Decatur sailed to Tunis and Tripoli and obtained similar treaties.