
The Barbary Wars
America’s young navy faced its first real test when North African pirates started seizing U. S. ships after 1783. Without British protection, merchant crews were captured and sold into slavery while the government paid massive tribute fees.
Thomas Jefferson finally said enough in 1801, sparking two wars that would define American sea power. Here’s how it all went down.
Tripoli Wanted More Money From America
For centuries, North African states had practiced state-sponsored piracy along the Mediterranean coast.
After American independence in 1783, U.S. ships lost British naval protection and became easy targets. The United States initially paid tribute like other nations, but by 1800, these payments consumed one-fifth of federal revenues.
When Thomas Jefferson became president in 1801, Tripoli’s Pasha Yusuf Karamanli demanded $225,000 from the new administration.
Jefferson refused to keep feeding this expensive protection racket.

Jefferson Sent Warships Instead Of Tribute
Tripoli declared war by cutting down the American consulate’s flagstaff in May 1801.
Jefferson responded by sending naval squadrons under Commodores Richard Dale and Edward Preble to blockade Tripoli.
The first American victory came August 1, 1801 when USS Enterprise captured the Tripolitan ship Tripoli after a one-sided battle.
For two years, American warships maintained pressure on the pirate stronghold while Jefferson’s navy gained valuable combat experience in foreign waters.
Philadelphia Got Stuck And Captured
In October 1803, the war took a disastrous turn when USS Philadelphia ran aground on hidden rocks near Tripoli while chasing an enemy vessel.
Captain William Bainbridge and his 307-man crew were captured and enslaved. Worse, the Tripolitans now possessed a powerful American frigate that they converted into a harbor gun battery.
Philadelphia threatened every American ship that approached Tripoli and gave the pirates their most formidable weapon yet.

Decatur Burned Philadelphia In Daring Raid
Lieutenant Stephen Decatur refused to let the enemy keep their prize. On February 16, 1804, he disguised 74 volunteers as Maltese sailors aboard the captured ketch Intrepid.
They sailed past Tripoli’s shore batteries around 9:30 PM, with Sicilian pilot Salvador Catalano speaking Arabic to fool the guards.
When someone aboard Philadelphia shouted “They are Americans!” it was too late. Decatur’s men boarded, overwhelmed the Tripolitan crew, and set the frigate ablaze without losing a single American.
British Admiral Nelson called it “the most daring act of the age.”
Eaton Planned Overland Attack Through Desert
While the navy blockaded from the sea, William Eaton conceived a bold land strategy.
The U.S. Navy Agent partnered with Hamet Karamanli, Tripoli’s rightful ruler who had been overthrown by his brother Yusuf.
Eaton assembled 400 fighters including 38 Greek mercenaries, 25 European artillerists, 90 Arabs loyal to Hamet, camel drivers, and 8 U.S. Marines under Lieutenant Presley O’Bannon.
On March 8, 1805, this unlikely army began a 521-mile march from Alexandria, Egypt to capture Derna, Tripoli’s second city.
Desert March Tested Everyone’s Endurance
The 50-day trek across Libya’s harsh terrain pushed the expedition to its breaking point.
Supplies dwindled to “a handful of rice and two biscuits a day” as men collapsed from hunger and thirst.
Tensions flared between Christian Greeks and Muslim Arabs, leading to several mutinies that Marines and Greek gunners suppressed with their lone cannon.
Somehow Eaton held his fractured force together until they reached the Mediterranean coast, though many wondered if enough men would survive to fight.

Navy Ships Provided Crucial Reinforcements
In late April, Eaton’s starving force reached Bomba, where U.S. warships Argus, Nautilus, and Hornet waited with Commodore Barron and Captain Hull.
Fresh supplies and money to pay the mercenaries revived the expedition. On April 26, the army finally reached Derna, where several local sheikhs declared loyalty to Hamet.
Governor Mustapha Bey rejected Eaton’s surrender demand, but the Americans now had the naval firepower they needed for the assault.
Marines Stormed Derna With Naval Support
On April 27, 1805, American ships offshore bombarded Derna’s defenses while Eaton’s ground forces attacked from two directions.
Lieutenant O’Bannon led the Marines charging the city walls, carrying both a mameluke sword and the American flag.
Despite facing 945 cavalry and 1,250 infantry, the combined sea and land assault overwhelmed the defenders.
By day’s end, Derna belonged to the Americans and their allies.
First American Flag Flew Over Foreign Conquest
Presley O’Bannon raised the Stars and Stripes over Derna’s fortress, marking the first time the American flag flew over conquered foreign territory.
This historic moment inspired the Marine Corps Hymn line “to the shores of Tripoli.”
The victory cost just one Marine killed and two wounded, while demonstrating that American forces could project power far from home.
More importantly, it gave negotiators in Tripoli serious leverage to end the war.
Diplomats Abandoned Victory Over Peace Deals
The pressure worked.
On June 10, 1805, American diplomat Tobias Lear signed a treaty with Yusuf Karamanli that freed the Philadelphia prisoners for $60,000 and ended the war.
But the deal abandoned both Derna and Hamet, leaving him to his brother’s mercy.
When USS Constellation arrived June 11 with evacuation orders, a bitter William Eaton watched his hard-won triumph slip away.
The treaty left many feeling that American honor had been traded for peace.
Decatur Ended Piracy For Good In 1815
The 1805 treaty proved temporary. During the War of 1812, Algiers resumed attacking American ships with British encouragement.
President Madison had enough. On March 3, 1815, Congress authorized war against Algiers, and Commodore Stephen Decatur sailed with ten warships.
After capturing the Algerian flagship and killing their most famous captain, Raïs Hamidou, Decatur dictated terms from a position of overwhelming strength.
The July 3, 1815 treaty ended all tribute payments forever and established American naval dominance in the Mediterranean.
Visiting The Barbary Wars Exhibits At The USS Constitution Museum
The USS Constitution Museum sits in Building 22 at the Charlestown Navy Yard, just across from “Old Ironsides” herself.
While the main exhibits focus on the War of 1812, you’ll find Barbary Wars artifacts scattered throughout the museum’s collection of nearly 2,000 items.
Look for the “Old Ironsides in War and Peace” exhibit that covers Constitution’s early service including her time as Mediterranean Squadron flagship during the First Barbary War.
The museum’s Samuel Eliot Morison Memorial Library houses extensive Barbary Wars records and documents. You can also explore the actual Constitution next door for free with photo ID.
This article was created with AI assistance and human editing.
Read more from this brand:
The post These North African pirates enslaved American sailors until the US Navy burned their way to victory appeared first on When In Your State.