![TIME.com stock photos TIME.com stock photos Computer Keyboard Typing Hack](https://api.time.com/wp-content/uploads/2015/01/computer-hack-typing-keyboard-2.jpg?quality=85&w=2400)
The United Kingdom is cracking down on people who share nude photos of their exes without their consent, a practice known as revenge porn.
Under the U.K.’s new Criminal Justice and Courts Act enacted Monday, anyone who discloses private sexual photographs of another person with the intent to cause distress could be prosecuted. Violating the new law carries a punishment of up to two years in prison, a fine or both. The law applies to photos shared both online and offline, according to The Telegraph.
The new law marks the U.K.’s first time revenge porn has been listed as a specific crime.
The U.K. is also cracking down on Internet trolls through the new act. Punishment for abusive messages that have the “intention of causing distress or anxiety” will be punishable by up to two years in prison, up from a six-month maximum under previous rules.
More Must-Reads from TIME
- Why Biden Dropped Out
- Ukraine’s Plan to Survive Trump
- The Rise of a New Kind of Parenting Guru
- The Chaos and Commotion of the RNC in Photos
- Why We All Have a Stake in Twisters’ Success
- 8 Eating Habits That Actually Improve Your Sleep
- Welcome to the Noah Lyles Olympics
- Get Our Paris Olympics Newsletter in Your Inbox
Contact us at letters@time.com