During the First Barbary War, Philadelphia, accompanied by USS Vixen 1803 6 , cruised off Tripoli until October 31, 1803, while giving chase and firing upon a pirate ship she ran aground on an uncharted reef 2 miles off Tripoli Harbor.