Ivanka Trump’s crazed stalker confessed Thursday to a two-year campaign of terror against the real-estate heiress — and was set free.
Justin Massler, who once claimed to have been under the influence of aliens and spent much of the last year in a locked psychiatric ward, appeared cleaned up and clear-headed in court.
“Yes, your honor,” Massler said after Manhattan Supreme Court Justice Lewis Bart Stone asked him if he sent threatening letters, emails and packages to the blond bombshell in a creepy bid to win her love.
Massler, 29, pleaded guilty to a misdemeanor aggravated harassment charge for bombarding the Donald’s daughter with emails, texts and tweets from 2008 to 2010.
He also copped to a felony criminal contempt count for violating an order of protection to stay away from Trump and her family early last year.
Stone sentenced Massler — who faced up to four years behind bars — to six months in prison and five years’ probation.
But because Massler has been held for nearly a year — mostly at Bellevue Hospital — the judge ordered him released by the city Department of Correction after the court session.
Massler faces state prison time if he contacts Trump or her family again. Stone said renewed protective orders for Massler to stay away from the glitzy mom, her media mogul husband, Jared Kushner, Ivanka’s famous father, Donald Trump, and other members of the mega-rich family. Ivanka and her hubby had a daughter, Arabella Rose, in July 2011.
Asked whether Massler was going to try to contact the Trumps again, his lawyer George Vomvolakis, answered, “No, he’s not.”
Massler, a diagnosed schizophrenic from Nevada, sent Ivanka Trump creepy emails and Twitter messages — including a picture of himself drenched in blood.
He threatened to kill himself in her high-end Madison Ave. jewelry store after buying earrings and trying to send them to her, officials said.
Massler, who wore baggy jeans and an untucked button-down shirt to court, told the judge he was on psychiatric drugs but able to understand the proceedings.
He was found unfit for trial last May and sent to Bellevue.
Vomvolakis said that after nearly a year at the hospital, he was found fit for trial three weeks ago, leading to his guilty plea.
The judge ordered that as part of his probation, Massler continue taking his medication, have a full-time job or go to school, and continue psychiatric treatment.