On 22 July 1802, the frigate Constellation, commanded by Captain Alexander Murray, defeated nine Corsair gunboats off Tripoli. The gunboats fired first and tried to entice the frigate on a reef which lay between the opposing vessels. Nearby forts also fired upon the frigate. Constellation did not receive damage during the engagement. Report from the ship indicate that all ships and troops onboard were destroyed.