The 2009 election for Mayor of New York City took place on Tuesday, November 3. The incumbent Mayor, Michael Bloomberg, an independent who left the Republican Party in 2008, won reelection on the Republican and Independence Party/Jobs & Education lines with 50.7% of the vote over the retiring City Comptroller, Bill Thompson, a Democrat (also endorsed by the Working Families Party), who won 46.3%. Thompson had won the Democratic primary election on September 15 with 71% of the vote over City Councilman Tony Avella and Roland Rogers. This was the fifth straight mayoral victory by Republican candidates in New York despite the city's strongly Democratic leaning in national and state elections.