Anthony Weiner Cries as He Pleads Guilty to Sexting With a Minor: 'I Have a Sickness'

Weiner could end up as a registered sex offender.

Disgraced former congressman Anthony Weiner wept in court on Friday as he pleaded guilty in a sexting scandal involving a minor.

Read: Sydney Leathers Weighs In on Anthony Weiner's Latest Sexting Scandal: 'He's Quite the Egomaniac'

The 52-year-old husband of top Hillary Clinton aide Huma Abedin pleaded guilty to a single charge of transferring obscene material to a minor as part of a plea deal with the US Attorney’s Office in Manhattan.

“I have a sickness but I do not have an excuse,” Weiner told the judge.

Prosecutors asked that he serve 21 to 27 months behind bars, and he must also register as a sex offender. He was released on bail and will be sentenced in September.

The charges stem from allegations that Weiner exchanged explicit messages with a 15-year-old girl in North Carolina.

"Through approximately March 2016, I engaged in obscene communications with this teenager," he said in court, "including sharing explicit images and encouraging her to engage in sexually explicit conduct, just as I had done and continued to do with adult women.

"I knew this was as morally wrong as it was unlawful."

He apologized to the teen in court.

Weiner has found himself in trouble in the past sexting with women, and it ultimately brought down his political career as a congressman and then as a New York mayoral candidate.

Read: Another Politician Caught Sexting Sydney Leathers-The Same Woman Anthony Weiner

In August, Abedin seperated from Weiner.

Abedin said in a statement: “After long and painful consideration and work on my marriage, I have made the decision to separate from my husband." 

Watch: Report: Anthony Weiner May Face Child Porn Charges After Exchanging Lewd Messages With Girl, 15