Weiner in prison for sexting young girl, a minor,

Getty Images

Ex-New York congressman Anthony Weiner broke into tears as he was sentenced to 21 months in prison for sending sexually explicit messages to a girl of legal age.

He pleaded guilty in May to the transfer of obscene material to a minor and decided not to appeal against a sentence of 27 months or less.

Weiner, 53, quit the Congress in 2011 over a sex scandal was once again exposed in his 2013 run for mayor of New York.

His lawyers had asked a District Judge for probation instead of prison.

But in the condemnation of Weiner, Judge Cote said: “This is a serious crime that deserves a punishment.”

“Anthony Weiner, a former Congressman and candidate for Mayor, has asked a girl that he knew to be 15 years old to show her naked body and engage in a sexually-explicit conduct online,” the Drama of the Manhattan Prosecutor Joon H Kim, said in a statement on Monday.

“Justice demands that this type of behavior be prosecuted and punished with imprisonment.”

In addition to the prison, Weiner has been sentenced to three years of supervised release, according to a statement by the Office of the Prosecutor.

Weiner’s lawyers argued the former politician had acted outside of the “fund of uncontrolled disease” and is now seeking treatment.

In a letter to US District Judge Denise Cote, Weiner said he felt “deep regret for his crimes, and his,” he continued to behave in the years crushed the aspirations” of his wife, Huma Abedin, and ruined their marriage.

An investigation of Weiner’s sexting case has played a role in last year’s 2016 presidential elections, when authorities found emails on his laptop from Ms Abedin, who was a senior aide to Democratic presidential candidate Hillary Clinton.

Ms Abedin has asked for the divorce, on the same day that her husband has been found guilty in the month of May.