WHITE PLAINS — A grand jury charged a New Windsor man on Tuesday with threatening a U.S. district judge and a U.S. attorney during his sentencing in federal district court in November on a separate criminal charge, prosecutors said.

Clint Edwards, 28, disrupted his sentencing proceeding and threatened to assault, murder and otherwise harm the district judge imposing his sentence and the assistant U.S. attorney who was prosecuting the case, prosecutors said.

Edwards was charged with one count of threatening to assault, kidnap and murder a federal judge and one count of threatening to assault and murder a federal law enforcement officer, according to an indictment and a news release from the U.S. Attorney's Office for the Southern District of New York on Wednesday.

Each count carries a maximum sentence of 10 years in prison.

The case is being handled by the U.S. Attorney's Office's General Crimes Unit. Assistant U.S. Attorney Peter J. Davis is in charge of the prosecution, according to the release.

Edwards was sentenced in December to 20 years in prison for enticing a 14-year-old girl into illegal sexual activity. Prosecutors said Edwards used social media and texting apps in May and June 2017 to exchange messages and solicit explicit photos and videos from the victim, whose age he knew, and to entice her to meet him for sexual activity.

Prosecutors said Edwards engaged her in sexual activity at her Westchester County apartment before taking her back to his home in New Windsor. When the girl was reported missing and the FBI became involved, police found her at Edwards' home.

Edwards tried to flee police, but was arrested June 16, 2017, prosecutors said.

He also faces sentencing on sex-offense charges in Orange and Westchester county courts.

Edwards pleaded guilty in October to second-degree criminal sexual act, a felony, in Westchester County, and to attempted second-degree criminal sexual act in Orange.

His sentencing in Westchester County Court is scheduled for Jan. 22. He is expected in Orange County Court on Thursday.

In November 2011, Edwards was indicted on charges of choking and threatening a woman who had an order of protection against him.

He was indicted on multiple felony charges, including coercion and weapon possession.