It is sometimes forgotten that West Virginia was created as a slave state by the north during the war.
It is often ignored that the same Constitution freed all slaves over 21 immediately and mandated freedom for all others once they had reached that age. So West Virginia was admitted under a plan which doomed slavery. The confederacy was created under a constitution which promoted it.