NORFOLK, Va. — Democrats won decisive majorities in the House of Delegates and state Senate in an historical election that sets Virginia on a new course.

That put Democrats in control of the General Assembly and governor’s office for the first time since 1993.

And the Democrats of today are a new breed, far more united than they were in the 1990s on gun control and abortion. They have rallied around the idea of making voting easier and ratifying the Equal Rights amendment.

Democratic victories in two Senate districts in suburban Richmond and one in Loudoun County gave them a 21-seat majority, while the GOP held narrow leads in two Virginia Beach districts targeted by million-dollar-plus efforts to flip to blue.

A new 55-or-more-seat Democratic majority in the House came in part from gains in two House districts on the Peninsula, including the Newport News one where a tie vote and a drawing of a lot gave the GOP a 51-49 majority in 2017. Republicans held slight leads in two Beach seats Democrats had targeted with the final precincts still to count.

One of Virginia’s top Republicans hung onto his seat, while another lost Tuesday night.

While Speaker of the House Kirk Cox retained his Richmond suburban seat, the GOP’s lost majority leaves him without the critically important power to name people to committee to direct the course of legislation.

Meanwhile, House Appropriations Committee chairman Chris Jones, R-Suffolk, was defeated by Democrat Clinton Jenkins in a district federal judges drastically changed to undo the General Assembly’s illegal 2011 gerrymandering.

Senate Majority Leader Thomas K. Norment Jr., R-James City, was reelected. But like Cox, he will lose most of his power to steer or block legislation with the new Democratic majority.

Throughout the election, Democrats sought to tie Republican candidates to President Donald Trump, warning them that a vote for Republicans would mean siding with the gun lobby and reducing access to affordable health care, including birth control.

After Republicans ended the July special session on gun control called by Democratic Gov. Ralph Northam by pushing all the bills to the state Crime Commission, Democrats ran on a promise of passing more strict gun control such as universal background checks, extreme risk protective orders, or “red flag” laws, and bans on high-capacity magazines and assault weapons.

They also vowed to safeguard Medicaid expansion, pass a higher minimum wage and make Virginia the 38th and final state to ratify the ERA.

Controlling both bodes means Democrats will also be in control of redistricting for the next decade. An effort this spring to form an independent redistricting commission and take some of the map redrawing power out of legislators’ hands needs the lawmakers’ approval next session and has to pass a ballot referendum next November to become law.

Stakes were especially high in those districts that earlier this year were deemed racially gerrymandered. The new court-ordered maps made several districts, including a handful in Hampton Roads, more competitive — and often more Democratic.

Democrats held on to the 15 House seats they won in the 2017 blue wave election.

Both parties had help in the last few days of the race from political leaders. Vice President Mike Pence took the stage in Virginia Beach Saturday with several GOP statehouse candidates; Northam criss-crossed Hampton Roads over the weekend.

Other presidential hopefuls, including former Vice President Joe Biden, stumped in Northern Virginia for candidates.

House Democrats outraised Republicans by nearly $10 million this election cycle, according to the Virginia Public Access project. On the Senate side, Democrats outraised Republicans by $5 million.

Results are unofficial until canvassed.