Virginia City is a town in and the county seat of Madison County, Montana, United States. In 1961 the town and the surrounding area were designated a National Historic Landmark District, the Virginia City Historic District. The population was 219 at the 2020 census.
In May 1863, a group of prospectors were headed toward the Yellowstone River and instead came upon a party of the Crow tribe and was forced to return to Bannack. On May 26, 1863, Bill Fairweather and Henry Edgar discovered gold near Alder Creek. The prospectors could not keep the site a secret and were followed on their return to the gold bearing site. A mining district was set up in order to formulate rules about individual gold claims. On June 16, 1863, under the name of "Verina" the township was formed a mile south of the gold fields. The name was intended to honor Varina Howell Davis, the first and only First Lady of the Confederate States of America during the American Civil War.