Persons who post so-called “revenge porn” in New York will soon be subject to criminal charges and civil litigation for sharing sexual photos or videos of someone without their consent after a bill outlawing the action was approved by the Legislature on Thursday.

Upon the bill’s signing by Gov. Andrew Cuomo, New York would become the first state, according to lawmakers, to provide a specific mechanism for victims to seek a court-ordered injunction to have an image or video of a victim of revenge porn removed from a website.