Anthony Weiner is heading to prison.

The disgraced New York congressman was sentenced Monday morning to 21 months in federal prison for transferring obscene material to a 15-year-old girl. According to a court filing submitted by federal prosecutors last week, Weiner also instructed the teenager to touch herself "with full knowledge" of her age, then watched as she did so via Skype.

Upon serving his 21 months in prison, Weiner will receive three years of supervised release, a fine of $10,000, and mandatory sex-offender treatment. He is now registered as a sex offender.

Antony Weiner sobbed during his sentencing (Courtroom sketch by Jane Rosenberg)

Following the sentencing, Weiner sat for several minutes in the courtroom, sobbing, with his head in his hands. Moments prior, he'd delivered an emotional statement to the sentencing judge, in which he identified himself as an "addict" and apologized to the victim. "The crime I committed was my rock bottom, but I am truly grateful that it began me on my recovery," he reportedly said through tears.

Judge Denise Cote found that somewhat compelling, citing Weiner's potential to "make an enormous contribution to society" assuming he continues treatment. But Judge Cote also noted the role of deterrence in the high profile case, telling the courtroom that "there is an opportunity to make a statement that could protect other minors."

Monday's sentencing comes six years after Weiner initially resigned from Congress over revelations that he was sexting with numerous women. Two years later, his mayoral bid and attempted redemption tour was derailed by yet another sexting scandal, this one involving his alias "Carlos Danger."

In May of this year, Weiner pled guilty to the charge, agreeing not to appeal any sentence shorter than 27 months, and telling the judge, "I have a sickness, but I do not have an excuse." The same day, his wife Huma Abedin filed for divorced. That divorce is currently being finalized, and Abedin reportedly did not appear in court with Weiner on Monday.

In their own sentencing memo, Weiner's attorneys argued that their client was a "weak man, at the bottom of a self-destructive spiral," but not a pedophile—a conclusion that his psychiatrists also reached, according to court papers. They also argued that their client was the victim of a honeypot scheme, pointing out that the victim admitted to targeting Weiner to change the course of the election, which they argued should factor into the sentencing decision.

"Today, Anthony Weiner received a just sentence that was appropriate for his crime," Acting Manhattan U.S. Attorney Joon H. Kim said on Monday.

Weiner's prison sentence will begin on November 6th.