The US Congressman Anthony Weiner has given in to mounting bipartisan pressure to quit after being caught sending lewd photos to women online.
Weiner, who is married New York Democrat, said the scandal had become a distraction.
He is the third member of the US Congress to resign this year over a sex scandal.
Weiner was once seen as a rising star among Democrats and had been expected to run for office of New York mayor.
US Congressman resigns over web scandal