Mad at the ex? You might want to think twice about getting back at them online.

A Gwinnett man who posted explicit pictures of a woman online was sentenced earlier this month under Georgia's new revenge porn law. Passed July 1, 2014, the law makes it illegal to upload or transmit lewd photographs or video of an adult to the Internet as a form of harassment.

Kevin Allen Payne, 48, of Norcross, was sentenced to 24 months probation after pleading guilty to two counts of sexually explicit electronic transmissions, according to the Gainesville Times.

During the hearing, prosecutor Hall County District Attorney Hugh Hamilton District Attorney Hugh Hamilton considered posting the pictures online “an unusual form of blackmail,” the Times reported.

Payne negotiated a plea deal and was sentenced to 12 months on probation on both counts to run consecutively. He will also have to pay about $1,000 in fines, complete community service, counseling and have no contact with the victim.

Read more of the story here.