USS Philadelphia put to sea for duty in the West Indies and was off Newcastle on 23 April waiting for favorable wind.[4] She arrived on the Guadeloupe Station in May 1800 and relieved the frigate . During this cruise she captured five French armed vessels and recaptured six merchant ships that had been taken by French ships.[5] On 22 May she recaptured schooner "Betsy".[6] On 26 July she recaptured brig "Diligence".[7]
Returning home in March 1801, she was ordered to prepare for a year's cruise in the Mediterranean in a squadron commanded by Commodore Richard Dale. At his own request, Decatur was relieved of the command of Philadelphia by Captain Samuel Barron. The squadron arrived at Gibraltar on July 1, with Commodore Dale in the frigate . Philadelphia was directed to cruise the Straits and blockade the coast of Tripoli, since in May 1801 the Pasha Yusuf Karamanli had threatened to wage war on the United States and had seized U.S. merchant vessels for ransom.[5]
Philadelphia departed Gibraltar for the United States in April 1802, arriving in mid-July.[8] In ordinary until May 21, 1803, she recommissioned (having her sixteen 9-pounder long guns replaced with sixteen 32-pounder carronades at this time), and sailed for the Mediterranean on July 28, 1803. She arrived in Gibraltar on August 24 with Captain William Bainbridge in command. Two days later he recaptured the American brig Celia from the Moroccan ship-of-war Mirboka (24 guns and 100 men), and brought them both into Gibraltar.[5]
During the First Barbary War, Philadelphia, accompanied by, cruised off Tripoli until October 31, 1803. While giving chase and firing upon a Libyan navy ship, it ran aground on an uncharted reef 20NaN0 off Tripoli Harbor. The captain, William Bainbridge, tried to refloat the ship, first laying the sails aback, and casting off three bow anchors and shifting the guns aftward, but a strong wind and rising waves drove her further aground.
He ordered the crew to jettison many of the cannons, barrels of water, and other heavy articles overboard in order to lighten the ship, but this too failed. They sawed off the foremast in one last desperate attempt to lighten it. In order not to resupply the Tripoli pirates (navy soldiers of Libyan government), Captain Bainbridge ordered holes drilled in the ship's bottom, gunpowder dampened, sails set afire, and all other weapons thrown overboard before he surrendered. The Pasha's officials enslaved the American officers and men as war captives.[9]
The Tripoli pirates had finally managed to refloat Philadelphia. Americans believed that the warship was too great a prize to be allowed to remain in foreign hands, so the Navy decided to recapture or destroy it. After the United States had captured the Tripolitan ketch Mastico, they renamed her as, but re-rigged the ship with short masts and triangular sails to look like a local ship.
Lieutenant Stephen Decatur, son of USS Philadelphia's first captain, led a party of 83 volunteers to carry out this task. On February 16, 1804, under the cover of night and in the guise of a ship in distress that had lost all anchors in a storm and needed a place to tie up, Decatur sailed Intrepid next to Philadelphia. The Americans boarded the prize and, after making sure that she was not seaworthy, burned the ship where she lay in Tripoli Harbor. Decatur's force suffered only one wounded member and killed at least 20 Tripolitans.[10]
Britain's Viscount Nelson is said to have called this feat "the most bold and daring act of the Age".[11] [12] The authenticity of this quote remains in doubt.[13]
The crewmen captured in 1803 were released pursuant to the 1805 Treaty of Tripoli, which ended the war. Philadelphia's anchor was returned to the United States on April 7, 1871, when Mehmed Halet Pasha, the Ottoman governor, presented it to the captain of the visiting .[14]
In 1904, Charles Wellington Furlong, an American adventurer, went to Tripoli to investigate the sinking of Philadelphia. He later wrote about the history in his book, The Gateway to the Sahara: Observations and Experiences in Tripoli (1909).[15]
Based on records from a local synagogue, Furlong wrote:
Furlong later reported in the same book that other Arabs in Tripoli had said that the ship was not burned, but moved to the Lazaretto. There it was decorated as a trophy and its guns were fired to mark the end of Ramadan, the major Muslim holiday. According to the detailed account of Hadji-Mohammed Gabroom, an American ketch sneaked into the harbor, its crew killed some of the 10 guards, and allowed the others to flee. It set Philadelphia on fire.[16]
The burning of the USS Philadelphia appears in the US DLC of the RTS game .