BOSTON (July 4, 2014) USS Constitution fires a 17-gun salute near U.S. Coast Guard Base Boston during the ship's Independence Day underway demonstration in Boston Harbor. Seaman Matthew R. Fairchild

BOSTON — A ceremony aboard the USS Constitution will commemorate the 205th anniversary of a battle the warship fought in 1812.

The ceremony on Friday to mark the anniversary of the battle between the USS Constitution and the HMS Java will include a gun salute from the world’s oldest commissioned warship afloat and a moment of silence.

The three-and-a-half hour battle with the British Royal Navy ship left the Constitution damaged and her captain wounded from shrapnel. But the Constitution prevailed in what’s considered a turning point for the naval fight in the War of 1812.

The Constitution earned the nickname “Old Ironsides” during the war with Britain.

The USS Constitution’s 75th Commanding Officer Cmdr. Nathaniel Shick and others will participate in the anniversary events.