Though his opponents have already conceded and endorsed him, Public Advocate Bill de Blasio officially won the Democratic nomination in the mayor's race and avoided a runoff election.
The city's Board of Elections certified the Democratic primary election results Saturday, which showed de Blasio with 40.81 percent of the vote, just narrowly avoiding the cutoff for a mostly symbolic runoff election.
The votes were certified just four days before a runoff election would have been held Tuesday.
Former City Comptroller Bill Thompson was the final hold-out in the race, conceding six days after the primary. Thompson at first said he would wait to concede until all the votes were counted.
In a city of more than 8 million residents, only 691,801 New Yorkers voted in the Democratic primary.
Write-in candidates included Mickey Mouse, current Mayor Michael Bloomberg, Joey Buttafuoco and, of course, Carlos Danger.
Follow Anna Sanders on Twitter: @AnnaESanders