Anthony Weiner breaks down in court as he tries to apologize for his “sickness”

FILE - In this Jan. 5, 2011, file photo, Anthony Weiner and his wife Huma Abedin pose for photographs after the ceremonial swearing in of the 112th Congress on Capitol Hill in Washington. Abedin, who was notably absent five months later when Weiner resigned his congressional seat and admitted sending lewd Twitter photos to women, has been a key player in his surging mayoral run. She’s appeared in his campaign launch video, raised tens of thousands of dollars and joined him on the campaign trail. (AP Photo/Charles Dharapak, File)

Former U.S. Rep. Anthony Weiner is cried in court as he apologized to the 15-year-old girl with whom he exchanged sexually explicit texts.

RELATED: All these people had very real opinions about a very fake email exchange between Hillary Clinton and Anthony Weiner.

The judge accepted Weiner’s guilty plea Friday to a charge of transmitting sexual material to a minor. He agreed to not appeal any sentence between 21 and 27 months in prison.

The Democratic former congressman apologized to the 15-year-old, saying, “I have a sickness, but I do not have an excuse.”

The judge told him he would have to register as a sex offender.

The FBI began investigating Weiner in September after the 15-year-old North Carolina girl told a tabloid news site that she and Weiner had exchanged lewd messages for several months. She also accused him of asking her to undress on camera.

What do you think?

Do this thought experiment if you want to use the 25th Amendment to kick Trump out of office

This trucker ran two red lights with a cop in his blind spot and it didn’t turn out well