Ralph Northam
Electoral history

Party
Party
Candidate
Votes
%
±
-
Democratic
Ralph Northam
17,307
54.3%
+16.1
-
Republican
Nick Rerras
14,499
45.5%
16.2
-
Write-ins
-
45
0.1%
+0.1
Majority
Majority
Majority
2,808
8.8%
14.7
Total votes
Total votes
Total votes
31,851
100.0%
-

Question: Who did Ralph Northam beat and by how many votes did each of the candidates receive? 
Answer: Ralph Northam defeated Nick Rerras, a Republican, by 17,307 votes to 14,499.