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

Apple and GE Switch Roles; Musk's Super Control of Tesla Explained -- ICYMI

Apple and GE Switch Roles; Musk's Super Control of Tesla Explained -- ICYMI

Trump May Be More to Blame For Higher Oil Prices Than OPEC

Trump May Be More to Blame For Higher Oil Prices Than OPEC

Dow Falls Over 200 Points as Apple's Slump Offsets Gains in General Electric

Dow Falls Over 200 Points as Apple's Slump Offsets Gains in General Electric

Week Ahead: Major Earnings on Tap as Wall Street Readies for Geopolitical Moves

Week Ahead: Major Earnings on Tap as Wall Street Readies for Geopolitical Moves

3 Hot Reads From TheStreet's Top Premium Columnists

3 Hot Reads From TheStreet's Top Premium Columnists