(CNSNews.com) - Democratic candidate Terry McAuliffe was elected governor of Virginia on Tuesday with 47 percent of the vote, as Republican candidate Ken Cuccinelli took 46 percent and Libertarian candidate Robert Sarvis took 7 percent.
With 98 percent of the vote counted, McAuliffe had 1,029,836 votes, Cuccinelli had 993,419 votes, and Sarvis had 143,012 votes.
The race was considerably closer than recent public opinion polls had indicated it would be. A Quinnipiac poll completed Nov. 3 had McAuliffe up 6 points over Cuccinelli, and a PPP poll completed that same day had McAuliffe up by 7 points. The RealClearPolitics.com average of all polls had McAuliffe up 6.7 points.
Nonetheless, in the actual polling on election day, McAuliffe squeaked out a 1-point victory, with a third-party Libertarian candidate, Sarvis, drawing off 7 percentage points.
A major issue in the final days of the campaign, as Cuccinelli moved closer to McAuliffe was Obamacare. McAuliffe was an enthusiastic advocate of Obamacare. As Virginia attorney general, Cuccinelli filed suit against Obamacare, arguing that it was unconstitutional and has aggressively opposed it ever since.