Anthony Weiner got 21 months of hard time.
The disgraced pol, appearing gaunt and grim, was sentenced Monday by Judge Denise Cote for sending sick messages to a 15-year-old.
He wore a navy suit and pale green tie – and still sported his wedding band, though he is in the midst of a divorce from Huma Abedin, a top aide to Hillary Clinton.
Abedin did not appear in court.
Weiner’s stunning personal and political fall from grace — from a rising-star congressman to a registered sex offender — is set to enter a new phase when Judge Denise Cote sentences him at 10 a.m. for his felony sex crime conviction.
Prosecutors are asking for two years behind bars.
Weiner, 53, is seeking probation. His lawyers have argued he is sick and needs therapy, not incarceration.
Anthony Weiner’s sexting scandals
Weiner pleaded guilty on May 19 to transmitting obscene material to a minor, tearfully telling the judge, “I have a sickness, but I do not have an excuse.”
That same day, Abedin filed for divorce.
“This man is going to be the death of me,” Abedin said, according to Clinton.
Abedin and Weiner, who have a 5-year-old son, are still finalizing their divorce.
Weiner’s political implosion began in May 2011, when he tweeted a picture of himself in bulging underwear.
With the disclosure of more raunchy selfies sent to online flames, Weiner, a Democrat, resigned from Congress.
A 2013 run for mayor was to be his big shot at redemption — but then Weiner was forced to admit he’d been sexting with a woman named Sydney Leathers using the alias “Carlos Danger.”
In August of last year Weiner sent a revolting photo of a bulge in his underwear — with his son next to him.
Federal prosecutors said his perverse behavior veered from creepy to criminal when he sent explicit images to a North Carolina high schooler. He directed her to engage in sexual conduct — despite being aware of her young age — using the alias “T-Dog.”
“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.
His sleazy sext addiction even played a key role in the election of President Trump.
Federal investigators examining Weiner’s laptop discovered emails on the computer appearing to pertain to a separate investigation into Clinton’s use of a private email server while serving as secretary of state.
Then-FBI Director James Comey announced he was reopening the Clinton inquiry only 11 days before the election — a move Clinton has said was critical to her defeat.