SAN DIEGO -- San Diego Mayor Bob Filner has agreed to resign Aug. 30 amid allegations that he sexually harassed women.

The City Council voted 7-0 Friday on a deal that ends a political stalemate after more than a dozen women publicly identified themselves as targets of unwanted advances, including touching, forcible kisses and lurid comments.

The city's first Democratic mayor in 20 years has become a pariah in his own party since the allegations surfaced in July. All nine members of the City Council have insisted that he step down.

Todd Gloria, the Democratic City Council president, becomes acting mayor until a special election is held within 90 days after the resignation takes effect.