Northam faced former congressman Tom Perriello in the Democratic primary. The primary campaign seen as a battle between the Bernie Sanders and Elizabeth Warren supporters of the Democratic Party, seen by Perriello, and the Hillary Clinton wing, represented by Northam. On June 13, 2017, Northam won the Democratic nomination with 56% of the vote to Perriello's 44%.