Step-by-step explanation:
Virginia is a state that chose each side of the war. It initially seceded from the Union and joined the Confederacy. However, the western counties of Virginia did not agree with the decision and formed their own government, which remained loyal to the Union and eventually became the state of West Virginia.