Before World War I. Before World War II. America fought its first foreign war against pirates in North Africa.
American merchant ships were seized. Sailors were taken hostage. Tribute payments were demanded. The young United States faced a defining decision: pay or fight.
Historical Background
In the late 18th century, the Barbary States — Morocco, Algiers, Tunis, and Tripoli — controlled the western Mediterranean through state-sanctioned piracy. European nations paid annual tribute to protect their merchant fleets. When the United States gained independence, it lost the protection of the British Royal Navy and became an immediate target.
American Sailors in Chains
Throughout the 1780s and 1790s, Barbary corsairs seized American merchant ships and enslaved their crews. The ransoms demanded were staggering — in some years, tribute payments consumed nearly a fifth of the federal budget. The humiliation was a national crisis.
The Decision to Fight
When the Pasha of Tripoli demanded increased tribute in 1801, President Thomas Jefferson — who had argued against tribute payments for years — refused. Tripoli declared war on the United States. Jefferson, despite his preference for small government, authorized the deployment of a naval squadron to the Mediterranean.
The First Barbary War (1801–1805)
The war saw some of the most dramatic events in early American military history. Lieutenant Stephen Decatur led a daring raid into Tripoli harbor to burn the captured USS Philadelphia. William Eaton led an overland march across the Libyan desert to capture the city of Derna — the first time the American flag was raised over a foreign battlefield.
The Birth of the U.S. Navy
The Barbary Wars transformed the United States Navy from a coastal defense force into a blue-water fleet capable of projecting power across oceans. The Marine Corps hymn’s opening line — “From the Halls of Montezuma to the shores of Tripoli” — commemorates this campaign.
Legacy
The Barbary Wars established a precedent that would define American foreign policy for centuries: the United States would not pay tribute to foreign powers, and it would use military force to protect its citizens and commerce abroad. America’s emergence onto the world stage began not in Europe, but on the coast of North Africa.