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

Dow Powers Higher as Walmart Surges, U.S. and China to Resume Trade Talks

Dow Powers Higher as Walmart Surges, U.S. and China to Resume Trade Talks

Trump Trade War Is Raising Prices for U.S. Manufacturers, N.Y. Fed Survey Says

Trump Trade War Is Raising Prices for U.S. Manufacturers, N.Y. Fed Survey Says

Musk Thrusts Tesla Holders Into Legal, Financial Limbo as SEC Probe Goes Formal

Musk Thrusts Tesla Holders Into Legal, Financial Limbo as SEC Probe Goes Formal

Jim Cramer on JCPenney: No One Knows What They Are

Jim Cramer on JCPenney: No One Knows What They Are

Jim Cramer Breaks Down the Dramatic Changes Happening at Walmart

Jim Cramer Breaks Down the Dramatic Changes Happening at Walmart