People who share so-called revenge porn, or the nonconsensual distribution of intimate images, will soon be subject to civil litigation and up to a year in jail after a bill on the practice was signed into law by Gov. Andrew Cuomo Tuesday.

The new law will take effect in two months, after which victims of “revenge porn” will also be able to seek a court-ordered injunction to have their images removed from a website.