Anthony Weiner Enters NYC Mayoral Race with YouTube Video

Anthony Weiner - File Photos/Portrait - 1 - 2011
Donna Connor/FilmMagic/Getty Images

The former New York congressman made headlines two years ago when he posted a lewd photo on Twitter.

Anthony Weiner has made it official.

After much speculation, the former congressman -- who resigned in 2011 amid a sexting scandal -- posted a video on YouTube late Tuesday officially announcing his run for mayor of New York City.

PHOTOS: The Top Celebrity Political Twitter Commentators

In May 2011, the then-Democratic congressman from New York made headlines when he accidentally tweeted a lewd photo of himself to his 45,000 followers. At first he lied and said his account had been hacked, but eventually he admitted to tweeting the photo -- and sending inappropriate online messages to six women -- before resigning from public service.

Ahead of his official announcement, Weiner rejoined Twitter last month.

In the new video, which runs more than two minutes, Weiner waxes nostalgic about growing up in New York and then talks about some of the problems the city is facing, including the educational system, the rising cost of housing and the lack of jobs with benefits. He also touts his accomplishments when he was a member of Congress.

PHOTOS: 20 Biggest Political Players in Hollywood

"Look, I made some big mistakes, and I know I let a lot of people down," Weiner says in the video. "But I've also learned some tough lessons. I'm running for mayor because I've been fighting for the middle-class and those struggling to make it my entire life, and I hope I get a second chance to work for you."

His wife, Huma Abedin, also makes an appearance at the end to advocate for her husband.

Watch the video below.