(CNN) - On Monday, he was down 17 votes. Tuesday, Democratic state Sen. Mark Herring was 117 votes ahead of Republican state Sen. Mark Obenshain in unofficial tallies in the race for Virginia Attorney General.
Tuesday was the deadline for all state localities to finish their vote canvasses, according to the state board of elections. The board will certify the election on November 25. Changes in the vote count are normal during this period, according to the board.
As of the latest count, Herring leads Obenshain 1,103,610-1,103,493, a 0.01% lead that is more than close enough to allow for a recount petition.
The Virginia Board of Elections allows any candidate who loses by less than 1% of the vote to make such a petition, which can happen once the election is certified November 25.
Herring told reporters last week that the race was “far from over” when the count showed he was 286 votes behind.
Herring spokesman Kevin O’Holleran said the campaign was confident the final results would be a win. Asked if Herring would file an appeal if Obenshain pulls ahead in the final count, O’Holleran said it was “too early” to consider that.
The Obenshain camp was just as confident of a win Tuesday.
“The race is extremely close,” spokesman Paul Logan said in a statement.
“We’re going to wait until the State Board of Elections finishes its tabulations and make sure that every legitimate vote is counted.”
State election law does not allow candidates to challenge absentee and provisional ballots that were ruled invalid, or the eligibility of voters. It does, however, allow candidates to challenge whether or not standard ballots were tallied correctly.
The race to succeed outgoing Republican Attorney General Ken Cuccinelli followed a narrative of national issues and character attacks.
Obenshain accused Herring of being anti-gun and taxing "your freedom away." Herring went after Obenshain as being too close to Cuccinelli and his views on social issues were painted by Democrats as being "extreme."
Cuccinelli narrowly lost his own bid to be the next governor of the Old Dominion by 3% of the vote to Democrat Terry McAuliffe.
Herring’s new lead was first reported by Politico.
-CNN's Dan Merica contributed to this report.