At the Charleston, South Carolina, Navy Yard on 3 October 1917, five days before her commissioning. Formerly the German "Nicaria", seized by the United States in April 1917, Pensacola was designated AK-7 in 1920.