Anthony Weiner formally submitted his letter of resignation to Governor Andrew Cuomo Monday saying he was honored to serve the people of Queens and Brooklyn. 

Weiner who resigned under pressure for sending lewd photos of himself to women online, resigned last Thursday, bringing to end a nearly 3 week controversy.

I had hoped to be able to continue the work that the citizens of my district had elected me to do -- to fight for the middle class and those struggling to make it, Weiner said.

Unfortunately, the distraction that I have created has made that impossible, so today I am announcing my resignation from Congress, he said in stark contrast to the press conference he held weeks ago when he tearfully admitted to contacting at least six women over three years.

Once seen as a rising star among Democrats and widely expected to run for New York mayor, Weiner made his announcement alone, his wife absent, at a raucous event where he was heckled repeatedly.

Weiner said he would seek treatment and take a short leave of absence from the House but quit amid public outcry from his colleagues and President Barack Obama.

Obviously, it's been a tough incident for him, Obama said in an interview on ABC's Good Morning America to air on Friday. But I'm confident that they'll refocus and he'll refocus, and they'll end up being able to bounce back, he added in an excerpt released on Thursday night.

In an interview with NBC News Obama said If it was me, I would resign.

New York Mayor Michael Bloomberg called Weiner's fall a lost opportunity that was tragic.