Anthony Weiner, the former congressman and notorious sexual deviant whose aberrant behavior may have helped cost Hillary Clinton the presidency, was sentenced Monday to 21 months in federal prison for exchanging lewd photos with a minor.

A tearful Weiner told U.S. District Judge Denise Cote that the he had found his rock bottom.

“If I had done the right thing I would not be standing before you today,” he said, according to BuzzFeed News. “The crime I committed was my rock bottom.”

“I was a very sick man for a very long time,” he added.

He will now have to register as a sex offender.

The young lady, whose name was never made public, was 15 when the exchanges took place via Twitter and Skype. After the Daily Mail broke news on the story in Sept. 2016, federal investigators discovered emails from Hillary Clinton’s private email server on Weiner’s electronic devices. Weiner is married to longtime Clinton aide Huma Abedin, though the couple is ending their marriage.

The disclosure prompted FBI Director James Comey to reopen the Clinton email investigation in the waving days of the election.

“With full knowledge that he was communicating with a real 15-year-old girl, the defendant asked her to engage in sexually explicit conduct via Skype and Snapchat, where her body was on display, and where she was asked to sexually perform for him,” prosecutors wrote.

Weiner’s lawyers hoped he would get off with probation, arguing he needs therapy under medical and psychological supervision.

Follow Kevin on Twitter

Send tips to kevin@dailycallernewsfoundation.org.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.