New York City mayoral candidate Christine Quinn has seen her July lead slip away in favor of Bill de Blasio as the two continue to campaign in advance of the Sept. 10 democratic primary.

It has been a rollercoaster ride for the candidates dating back to Anthony Weiner's scandal, which drove him to the bottom of the polls after he was considered to be a favorite. Quinn's 27-21 percent edge in July has turned into a 36-21 percent lead for de Blasio, as per a Quinnipiac University poll. New York City Comptroller William Thompson Jr. sits in third place with 20 percent of the vote.

"The polling in this race has been topsy-turvy for months," Quinn campaign spokesperson Mike Morey said to the Washington Blade. "We expect a tight race and we expect that on primary night Christine Quinn will be in a runoff, because New Yorkers want an effective progressive who can actually get things done."

Quinn, who is openly gay, would become the city's first female and first LGBT mayor if elected. The Washington Blade said her endorsers include The Gay and Lesbian Victory Fund; the Stonewall Democratic Club of New York City; the New York Daily News; Empire State Pride Agenda and Edith Windsor.

One of the most debated topics in the race has been the city's controversial stop-and-frisk law, which targets minorities and was found unconstitutional by a federal judge last month. Quinn responded to mayor Michael Bloomberg's attempt to block the ruling by filing a legal declaration to prevent Bloomberg from blocking anything.

"We're taking this court action - which, as far as we can tell, is unprecedented for the City Council - because we strongly oppose Mayor Bloomberg in his attempt to block the implementation of the federal judge's ruling that we need to implement immediately," Quinn said.

WCBS 880 reported that de Blasio called Quinn's move "desperate."

The general election will be held Nov. 5.