Buffalo, NY (WKBW) - As of early Wednesday morning, some of the ballots in the 2013 primary election are still being counted in Erie County.
The battle for who is going to win the race for Erie County Sheriff in the Democratic primary continues.
Richard Dobson is claiming a victory, but Bert Dunn says not so fast.
With 99-percent of precincts reporting, the polls have Richard Dobson narrowly beating Bert Dunn.
During much of the evening, the race was neck and neck. In the end, Dobson edged out Dunn by less than 700 votes.
"I feel that this is a tremendous upset," Dobson says. "We fought a long battle from day one, we've come a long way. There were many cards stacked against us. We overcame the obstacles, we're going to take this all the way to November and we're going to win it in November."
Dunn is the candidate endorsed by the Democratic party and is not ready to concede.
"There's over 2400 absentee ballots that have to be counted and that's a significant amount," Dunn says. "And the fact is, the majority of those ballots would have been sent in prior to the negative campaigning that was started.
Even though both candidates claim they have run clean campaigns, Dunn says the only reason the election is so close is because of attack advertisements run against him.
In another big race, Mayor Byron Brown beat out Democratic challenger Bernie Tolbert with a landslide 68-percent of the vote.
"It feels very good. Clearly the voters embraced our positive message of progress in the City of Buffalo," Brown says.
Losing by more than 77-hundred votes, Tolbert told supporters ""Our voices can make a difference, and we need to do it more often."
Republican candidate Sergio Rodriguez is also weighing in, saying, "We're looking forward to finally making this a one-on-one race between myself and my opponent."
Rodriguez is challenging Mayor Brown to another debate between just the two of them.
When asked by Eyewitness News if the mayor would be up for round four, he said that Rodriguez has already been able to go against him in three previous debates.