NEW YORK (AP) — 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 Democratic former congressman apologized to the 15-year-old, saying, “I have a sickness, but I do not have an excuse.”
The investigation of Weiner’s laptop led to the discovery of a cache of emails from Democratic presidential nominee Hillary Clinton to her aide Huma Abedin, Weiner’s wife.
In October, just days before the election, FBI director James Comey stunned the country by announcing that his agency was reopening its closed investigation into Clinton’s handling of State Department business on a private email server so it could analyze the newly discovered correspondence.
That inquiry was brief. Comey announced shortly before the election that the new emails contained nothing to change his view that Clinton could not be charged with a crime. But Clinton partly blamed her election loss to Republican Donald Trump on Comey’s announcement.
Weiner’s lawyer, Arlo Devlin Brown, didn’t immediately return a message Friday.
Weiner, who represented New York in Congress from 1999 to 2011, resigned after revelations that he was sending sexually explicit messages to multiple women.
He ran for New York City mayor in 2013 and was leading several polls until it was revealed he had continued his questionable behavior.
His failed mayoral bid is the subject of the documentary “Weiner.”
(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)