During the Civil War, Confederates established an inland naval yard in Charlotte. In 1862, Union forces threatened to take over the naval base, known as Gosport yard, in Norfolk, Virginia. The yard was engaged in fashioning munitions and equipment for Confederate ships and was vital to the South's war effort. Several new locations for relocating the yard were scouted but eventually, based on recommendations from Captains W. D. Murdaugh and William Parker CSN, Charlotte was chosen for available labor, material, and a functioning railway. The Charlotte naval yard operated from 1862 until the last six months of the war, supplying the southern effort with shells, torpedoes, and shot.