Former Republican congressman and MSNBC host Joe Scarborough said Wednesday that Tuesday's gubernatorial race in Virginia, as well as other races around the country, were a referendum on President Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE after Republicans experienced significant losses at the ballot box.

Scarborough said on "Morning Joe" Wednesday that while Virginia Gov.-elect Ralph Northam (D) should feel good about his victory over Ed Gillespie (R), Tuesday's vote was really a rejection of Trump and his policies.

"I mean, Ralph Northam, congratulations to him, he's gotta be feeling great [and] he should be feeling great, but morning after, let's talk about this," Scarborough said. "Everybody on both sides of the aisle said this guy ran one of the worst closing campaigns they had seen in recent memory and yet, Virginia voters stood in the rain."

ADVERTISEMENT

Scarborough, a frequent critic of the president, added that he thinks the 2018 midterm elections will be dominated by "women candidates and women voters" because of what he saw at the polls Tuesday night.

"I do believe that next year may be the year of, quote-unquote, 'women candidates and women voters,' because I hear stories of women standing in the rain in long lines in Northern Virginia and they weren't going to move until they got their vote against Donald Trump," he said.

"Just like last year, I said the election wasn't as much about Donald Trump as it was about Hillary Clinton Hillary Diane Rodham ClintonJeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Momentum growing among Republicans for Supreme Court vote before Election Day Warning signs flash for Lindsey Graham in South Carolina MORE, last night wasn't as much about Ralph Northam as it was voters: Republicans, Democrats, moderates and women sending a message to Donald Trump."

Northam won Tuesday's election in a blowout victory over Gillespie in a race that national analysts were looking to for signs of how the 2018 midterm elections could go.

"It was said that the eyes of the nation are now on the Commonwealth. Today, Virginia has told us to end the divisiveness, that we will not condone hatred and bigotry, and to end the politics that have torn this country apart,” Northam said during his victory speech Tuesday night.