A jilted ex-journalist smiled smugly in court on Tuesday as he admitted to making numerous bomb threats and threatening a “Jewish Newtown” as part of a twisted revenge plot aimed at his ex-girlfriend.

“I committed all these acts with the intent to disrupt my ex-romantic partner’s life and cause her great distress,” Juan Thompson, 32 told a Manhattan federal judge. “For this, I deeply apologize and plead guilty,” said the Vasser University graduate.

Thompson, a former reporter for The Intercept, was busted in March for terrorizing Jewish institutions around the country — including in New York City — as part of a twisted plot to harass at his Brooklyn ex-girlfriend after she dumped him.

Thompson often made the threats in his ex’s name, or in his own name in a bizarre attempt to accuse her of being the one seeking to cause trouble for him, prosecutors have said.

Thompson, who has been locked in Brooklyn federal prison since his arrest, pleaded guilty to two counts, including cyberstalking and conveying false information about weapons.

He faces up to 10 years in prison and will be sentenced on Sept 15th. Under a deal he cut with prosecutors, he will likely face no more than 46 months in prison — and as little as 30 months.

Thompson, who was fired from The Intercept for fabricating quotes, looked nonplussed throughout his guilty plea, even smiling on occasion, despite telling the judge at the start of the hearing that he was nervous.

“How do you feel,” Judge Kevin Castel asked him at the start of the hearing.

“I’m slightly nervous but I have to deal with the consequences of my actions, which is why I am here today,” Thompson told the judge.