BOSTON — The USS Constitution will take a journey in Boston Harbor to mark the anniversary of its October 1797 launching.

The ship will be tugged by Fort Independence on Castle Island on Friday, when the crew will give a gun salute at about 11:30 a.m.

Berthed in Charlestown, the ship is known as the world’s oldest commissioned warship afloat.

Around 12:15 p.m. Friday, there will be another gun salute as the ship passes the former site of the shipyard where it was built.

The crew will fire 17 shots then, one for the ship, and 16 more representing the number of U.S. states when the vessel launched on Oct. 21, 1797.

It earned its nickname “Old Ironsides” after winning a battle against the British during the War of 1812.