Posting of "revenge porn" is now a crime in the United Kingdom, carrying a penalty of up to two years in prison. The new law defines the crime as posting "private, sexual images of someone without consent and with the intent to cause distress," according to The Telegraph.

It has already been possible to convict people of similar behavior under existing UK law, so the new law is more about sending a message than anything else. In November, a 21-year-old Briton became the first "revenge porn" convict in that country, receiving a 12-week jail sentence for sharing photos of his ex-girlfriend on WhatsApp.

In February, a 14-year-old was convicted after selling pictures of his ex-girlfriend for £10 ($14.64). News reports on his case don't specify the punishment.

The anti-revenge-porn rule is part of the Criminal Justice and Court Act, which also includes a provision increasing the allowable sentence for "trolling" online. Anyone who sends an abusive message with the "intention of causing distress or anxiety" can be slapped with a sentence of up to two years' imprisonment, up from the previous six-month maximum, according to The Telegraph.

The UK penalties don't come anywhere near the punishment handed out to stateside revenge porn entrepreneur Kevin Bollaert, who created the site UGotPosted. The San Diego man was convicted in February on counts of identity theft and extortion. Earlier this month, Bollaert was sentenced to 18 years in prison.