Question: when did carson city become the capital of nevada
Answer: The city has served as Nevada 's capital since statehood in 1864 and for much of its history was a hub for the Virginia and Truckee Railroad , although the tracks were removed in 1950 .