United States ship naming conventions for the U.S. Navy were established by congressional action at least as early as 1862. Title 13, section 1531, of the U.S. Code, enacted in that year, reads, in part, The vessels of the Navy shall be named by the Secretary of the Navy under direction of the President according to the following rule:Sailing-vessels of the first class shall be named after the States of the Union, those of the second class after the rivers, those of the third class after the principal cities and towns and those of the fourth class as the President may direct.