West Virginia was the place where, on May 27, 1861, the first campaign of the Civil War began. Technically, at this time, this was still the state of Virginia, since West Virginia hadn’t yet split off. In late May of 1861, Union commander of the Department of the Ohio, General George B. McClellan, ordered his troops to cross the Ohio River in order to secure the western part of Virginia for the Union.
The battles were fought in the mountains in counties now known as Barbour, Taylor, Randolph and Pocahontas.
Over the months of June and July of 1861, McClellan’s army won the first Union victories of the war. Union troops occupied western Virginia and delegates formed the Restored Government of Virginia. This was a Union government set to oppose the Confederate one in Richmond. Confederate General Robert E. Lee tried, but failed to keep that part of Virginia loyal to the Confederacy.
But it wasn’t until 1863 that the western counties joined the Union as the new state of West Virginia.
For more information check here: http://www.wvcommerce.org/travel/journal/civilwar150.aspx