Updated

A former journalist from St. Louis accused of threatening Jewish organizations as a way to harass his ex-girlfriend has pleaded guilty to cyberstalking.

Juan Thompson also pleaded guilty to a charge of conveying false information and hoaxes. He apologized during his court appearance Tuesday in New York.

Federal prosecutors said Thompson sometimes used his girlfriend's name while making threats against Jewish community centers, schools or other facilities.

They said one message claimed he had placed two bombs in a Jewish school and was "eager for Jewish Newtown," a reference to the 2012 school massacre in Connecticut.

The government collected evidence from about two dozen laptops, tablets and cellphones seized from his home.

Thompson was fired from the online publication The Intercept last year.