NEW YORK (AP) — The Latest on former congressman Anthony Weiner facing criminal charges related to sexting a girl (all times local):

11:25 a.m.

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

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.

___

11:15 a.m.

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

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 the Democrat 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.

___

9:40 a.m.

A law enforcement official says former U.S. Rep. Anthony Weiner has agreed to plead guilty to a charge of transferring obscene material to a minor.

The former congressman is expected to enter the plea Friday.

The official wasn’t authorized to speak about the plea bargain because the criminal charges had yet to be filed publicly with the court and spoke to The Associated Press on condition of anonymity.

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.

— By Tom Hays

___

9:10 a.m.

Former U.S. Rep. Anthony Weiner will appear in federal court to face criminal charges in an investigation of his online communications with a teenage girl in North Carolina.

The U.S. attorney’s office in Manhattan says the Democrat will appear in court at 11 a.m. Friday.

They declined to immediately release additional details about the charges against him.

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.