When did Virginia separate from West Virginia?

1786 and im glad us west virginians did separate from that panzy state Virginia!(just kidding Virginia isn't bad but were better)!