Anthony Weiner has officially resigned in a letter to the New York Department of State.
The disgraced congressman, who sent photos of various body parts to strange women online, wrote in a two-sentence letter that he resigns effective midnight on Tuesday.
"It has been an honor to serve the people of Queens and Brooklyn," Weiner wrote in the letter submitted Monday.
The letter must be officially read into the record in Congress. That was expected to happen Tuesday.
Weiner announced last Thursday he was resigning, 20 days after he mistakenly tweeted a photo of his groin and then lied about it, only to admit later that he had engaged in several inappropriate online relationships that were sexually charged.
The married Democratic pol had been considered a front-runner for mayor in 2013.
Weiner's departure can't come soon enough for House Democrats, who called for Weiner's resignation after he confessed to the sexting scandal.
His congressional staff will report to the House clerk until a new representative is elected. Gov. Andrew Cuomo could call for a special election at any time in the coming weeks.
House Speaker John Boehner and Democratic leader Nancy Pelosi had no comment on the letter.
Local
Go here for NBC New York's complete Weiner coverage.
Follow us on Twitter @NBCNewYork and at Facebook/NBCNewYork.