Former US Rep. Anthony Weiner pleads guilty, must register as a sex offender

NEW YORK — Former U.S. Rep. Anthony Weiner has pleaded guilty to transmitting sexual material to a minor and could get years in prison.

Weiner was crying in court as he apologized to the 15-year-old girl with whom he exchanged sexually explicit texts.

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

Weiner agreed Friday not to appeal any sentence between 21 and 27 months in prison.

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

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

The investigation of his laptop led to the discovery of a cache of emails from Democratic presidential nominee Hillary Clinton to her aide Huma Abedin, Weiner’s wife.