The former head of the Centers for Disease Control and Prevention (CDC) has pleaded guilty to disorderly conduct related to his arrest last August for alleged sexual misconduct and will not serve jail time, Fox News has learned.

Dr. Thomas Frieden, also a former New York City health commissioner, appeared Tuesday in Brooklyn Criminal Court.

Under the terms of his plea, Frieden’s case will be sealed and dismissed in a year if he isn’t arrested during that time.

MERKEL USES HARVARD COMMENCEMENT SPEECH TO SWIPE AT TRUMP

Frieden was the director of the CDC from 2009 to 2017.

Frieden was arrested in August. A woman he knew had accused Frieden of grabbing her buttocks on Oct. 20, 2017, in his Brooklyn home.

CLICK HERE FOR THE FOX NEWS APP

He did not admit guilt in the groping allegation.

He and his attorney declined to comment.

The Associated Press contributed to this report.