For 20-odd hours, Virginia Democrats were giddy with the news that a recount had delivered Shelly Simonds a seat in the House of Delegates with a victory margin of a single vote. The Democratic win would mean a 50-50 party split in the House of Delegates, ending 17 years of Republican control and forcing a rare power-sharing agreement.

Republican leaders issued a statement congratulating Simonds. Democrats began dreaming about the possibility of expanding Medicaid and increasing the minimum wage. All that appeared to be left was the official certification of the vote by three-judge panel on Wednesday.

But the Democratic giddiness came to an abrupt end when the judges declared that one uncounted ballot should go to David Yancey, the Republican incumbent. That decision left both candidates with 11,608 votes: a tie.

"While it appeared yesterday that Shelly Simonds was elected, it's obvious now that the result will remain unclear for a while longer," Virginia House GOP leaders Kirk Cox, Tim Hugo and Nick Rush said in a statement.

The Republican leaders said that during the recount, an over-vote on one ballot — where a voter has marked more than one valid choice — had not been counted for either candidate. A Republican official and recount observer believed the vote was clearly for Yancey, but the Republicans say a Democratic official had persuaded the Republican observer not to count the ballot. Then this morning, the Republican wrote to the recount court saying he had made the wrong decision and the vote should count for Yancey.

Democrats responded with a statement that the panel's decision "was wrong, and Delegate-elect Shelly Simonds should have been certified the winner." Party leaders said they are assessing their legal options, pointing out that "[t]he Republicans themselves had affirmed that this result was accurate yesterday before changing their minds today."

But here is where things get really interesting: Virginia law says the state election board shall "determine by lot which of the candidates shall be declared elected." And it gets even better: Whoever is the loser after the lots are drawn could potentially then ask for another recount of the original ballots.

In other words, it appears likely that control of Virginia's House of Delegates will come down to a game of chance.

Copyright 2017 NPR. To see more, visit