Yes,Virginia was a confederate state. It was one of the thirteen colonies in the American Revolution and joined the Confederacy in the American Civil War, and Richmond became the capital of the Confederation and the northwestern provinces separated from it to form West Virginia.