(CNN) Virginia is for lovers -- the married kind. According to state code, it's illegal for unmarried people to have consensual sex.

Sure, it's not widely enforced -- but Virginia Democrats say it's time to scratch the relic of a law for good.

After potentially hundreds of years on the books, the Virginia House of Delegates repealed the "crime of fornication" last week.

In the Virginia Code, fornication -- consensual sex with an unmarried person -- isn't legal. Guilty parties could pay a $250 fine.

Delegate Mark Levine, who introduced the legislation to repeal it, said that the law fuels Virginians' confusion and distrust in the law: If unmarried sex is illegal, then what else is?