United States ship naming conventions for the U.S. Navy were established by Congressional action since at least 1862. Title Thirteen, Chapter Six of the US Code enacted that year reads in part,
Contents
Further clarification was made by executive order of President Theodore Roosevelt in 1907. However, elements had existed since before his time. If a ship is reclassified, for example a destroyer is converted to a mine layer, it retains its original name.
Traditional conventions
Contemporary ship naming conventions
References
United States ship naming conventions Wikipedia(Text) CC BY-SA