This sea shanty, sung by the United States Navy Band, describes a ship fighting the Barbary pirates.
This newspaper from Chronicling America contains an account from an officer on Commodore Decatur’s squadron.