At one point, he was at the top of the hill in the race for mayor. Now, he could be heading off to federal prison next week. NY1's Courtney Gross takes a look at the rise and fall of Anthony Weiner.

His 2011 resignation from Congress would not be Anthony Weiner's low point. 

On Monday, the former congressman will show up in federal court for sentencing. He pleaded guilty to one count of transferring obscene material to a minor earlier this year.

It caps off a tumultuous six years for Weiner, covering disgrace, comeback and now the threat of prison. 

He was waiting for his chance to be mayor.

But as his potential turn came, Weiner got caught. A string of lewd photos emerged from the congressman sexting, so salacious it led to his resignation.  

He sat for two years on the sidelines. But then came his comeback. He ran in the Democratic primary for mayor.

It would be just two months later he had to answer more questions about his sexting past. He continued on, getting about 5 percent of the vote. 

In 2016, there was another explosive story. This time, Weiner had exchanged messages with a 15-year-old North Carolina girl. 

It sparked a federal investigation, which had another casualty: Hillary Clinton's presidential campaign. Weiner's wife, Huma Abedin, is a top Clinton aide. While investigating Weiner, federal authorities found more Clinton emails on a personal laptop, sparking the reopening of the Clinton email inquiry in October of last year. 

Despite all this, supporters of Weiner are urging leniency, with his lawyers saying he shouldn't going to prison.

On Monday, Weiner could make the case for himself in the courtroom. One might expect another apology.