New York became the first state in the nation to empower revenge-porn victims to get their intimate images yanked off the Internet, thanks to a bill championed for nearly two years by The Post that was signed into law Tuesday.

Revenge pervs will also face a year of jail time, a fine of up to $1,000 and potential civil fines for the “dissemination or publication of an intimate image” seeking to cause “emotional, financial, or physical” harm, under the measure passed in February and signed by Gov. Cuomo.

“By criminalizing the publication of revenge porn, we are empowering victims of this heinous act to take action against their abusers and showing them a path to justice,” Cuomo said.

The law also allows victims to seek a court-ordered injunction requiring Web sites to remove images posted without their consent.

Under the new law, victims have three years from the time the image is posted — or one year from the time they discovered it — to request the injunction.

While 45 other states have anti-revenge porn laws, New York’s is the first to give victims a way to fight back.

The bill, originally introduced by Assemblyman Ed Braunstein (D-Queens), had languished in Albany for years before it was finally passed.

“The fight for revenge porn laws has proven to be a six-year gladiator match. And today the victims finally won,” said Carrie Goldberg, a crusading attorney who has led the charge for improving revenge-porn laws.

“We outmatched not just the pervs, predators and jerks, who distribute revenge porn, we also won against all the forces that interfered with the passage of this law: civil-liberty groups, big-tech lobbyists and Internet companies like Google.”

The measure was first introduced in 2013, but sat fallow in Albany until a series of Post exposés on the creeps who post revenge porn, the seedy Web sites that host it, and lawmakers’ stunning inaction sounded the alarm.

Legislators were close to adopting the measure last year, but they backed off amid mounting pressure from tech giants including Google.

The provision allowing courts to order Web hosts to remove revenge porn could, however, face future litigation.

The federal Communications Decency Act of 1996, absolves Web sites of responsibility for content third-party users post, and tech companies could challenge the new state law under the act.

New York City made posting revenge porn a criminal act in 2017.

The state law takes effect in 60 days — allowing courts time to adjust to the new rules.

Additional reporting by Max Jaeger

