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) : "Ralph Northam will allow crime to be rampant in Virginia."

But Trump also distanced himself from Gillespie, saying that Gillespie "did not embrace me or what I stand for."

Northam will succeed Democrat Terry McAuliffe.

Meanwhile, Democrat Philip Murphy, a former executive at at Goldman Sachs (GS) , 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.

He beat Republican Kim Guadagno. Guadagno was Republican Chris Christie's lieutenant governor for the last 8 years.

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

Vanessa Fayzulin contributed to this report.

More of What's Trending on TheStreet :
 

This article was written by a staff member of TheStreet.

More from Markets

Will Aston Martin IPO Result in 163% Gains Like Ferrari?

Will Aston Martin IPO Result in 163% Gains Like Ferrari?

Dow, S&P 500 Set Record Highs as Wall Street Looks Past Trade Fears

Dow, S&P 500 Set Record Highs as Wall Street Looks Past Trade Fears

'I Don't Think Anyone Should Apologize for Being Successful' Says Ken Langone

'I Don't Think Anyone Should Apologize for Being Successful' Says Ken Langone

Record Market Highs May Herald Volatility and Uncertainty

Record Market Highs May Herald Volatility and Uncertainty

Jeb Bush: Mid-Terms Could Be Another Wave Election

Jeb Bush: Mid-Terms Could Be Another Wave Election