The 51-year-old is expected to report to federal court in NY this morning.
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.
Disgraced former Congressman Anthony Weiner is expected to plead guilty Friday in NY.
Pleading to the charge, which requires him to register as a sex offender, could bring a sentence of up to 10 years.
The judge accepted Weiner's guilty plea to a charge of transmitting sexual material to a minor, and he agreed to not appeal against any sentence between 21 and 27 months in prison.
In court, the 52-year-old former Democratic congressman paused repeatedly as he fought back tears and tried to compose himself.
Weiner's lawyers had been negotiating with federal prosecutors to avoid child pornography charges, the New York Daily News said.
He retreated into private life, raising his son with his wife Huma Abedin, a close adviser to Hillary Clinton, the 2016 Democratic presidential nominee. The FBI has obtained a warrant to begin reviewing newly discovered emails that may be relevant to the Hillary Clinton email server investigation, a law enforcement official told The Associated Press.
USA authorities have been investigating reports that Weiner, 52, sent explicit messages past year to a teenage girl in North Carolina. Mr Comey announced shortly before the election that the new emails contained nothing to change his view that Mrs Clinton could not be charged with a crime, but she partly blamed her election defeat to Republican Donald Trump on Mr Comey's announcement. Two days before the election, Comey wrote a second letter to Congress stating that no new evidence against Clinton was found, Fox News reported.
Weiner resigned from Congress in June 2011 after explicit pictures in an unrelated case became public, CNN reported.
Trump fired Comey days later amid the FBI's probe into whether Trump's campaign colluded with Russian Federation to defeat Clinton, an allegation the president has vehemently denied.