David Waldman’s online harassment of his ex lasted far longer than their four-month relationship, prosecutors said. The campaign began in April 2014 and lasted nearly four years.

Advertisement

Waldman, 49, admitted in Manhattan Federal Court to writing emails, texts and blog posts that would “reasonably be expected to cause emotional distress.”

“Did you know they were wrong and illegal,” Magistrate Judge Robert Lehrburger asked.

“Very much so,” Waldman replied.

The Inwood man apologized repeatedly to his mom and stepfather, who sat in the courtroom.

“I only hope you die of cervical cancer before I can f--- up your s---,” Waldman wrote on a website he created in 2014 called eurotrashroyalty.blogspot.com. “No k--e civil attorneys, no car load of your pals, or anything else you have in your arsenal will cause me to even blink.”

He faces a maximum sentence of five years in prison for cyberstalking.

Carrie Goldberg, the attorney for Waldman’s victim, said the case showed that cybercrimes directed at people — rather than corporations — were serious and deserved the attention of the Justice Department.

“This should send a message to everybody who is transforming neutral forms of communication — texts, emails, blogs — into weapons of humiliation and terror. Our client feared for her life because of the anonymous harassment by Waldman,” Goldberg said.