Virginia Lt. Governor Ralph Northam, a Democrat, has been elected governor of the state.

With 99% of the vote counted as of 10:20 p.m. ET, Northam, a physician and Gulf War veteran, had captured 53.9% of the vote. His Republican challenger, Ed Gillespie, picked up 45% of the vote. Gillespie is a former Republican National Committee chairman.

Northam's election is being viewed as a political setback to President Donald Trump, who on Tuesday wrote on Twitter (TWTR - Get Report) : "Ralph Northam will allow crime to be rampant in Virginia."

Democrat Philip Murphy, a former executive at Goldman Sachs (GS - Get Report) , was elected governor of New Jersey. Murphy has never been elected for public office, but has served as finance chair in the Democratic National Committee under former President Barack Obama.

In New York, Mayor Bill de Blasio, a Democrat, was re-elected by a wide margin.

Here is a round-up of the night's election results.

Watch More with TheStreet:

Don't miss the best videos of the week. Put Wall Street on Rewind and sign up for our weekly newsletter.