When and why did West Virginia secede from Virginia?

On June 6, 1863, West Virginia separated from Old Virginia in the year 1863. This was because the West Virginia region of old Virginia largely supported the North in the war efforts. West Virginia did not have the type of land for growing cotton and therefore did not have the "need" for slavery.