A divided Virginia Supreme Court affirmed the nation’s first felony conviction for illegal spamming on Friday, ruling that Virginia’s anti-spamming law does not violate free-speech rights.

Jeremy Jaynes of Raleigh, N.C., considered among the world’s top 10 spammers in 2003, was convicted of massive distribution of junk e-mail and sentenced to nine years in prison.