Democratic gains went beyond even their most optimistic scenarios for Election Day, and a handful of additional races were still too close to call and likely headed for recounts.

Democrat Danica Roem defeated GOP incumbent Robert Marshall. In this photo, she campaigns as voters take to the ballot boxes at Gainesville Middle School on Tuesday, Nov. 7, 2017, in Gainesville, Va. (Jahi Chikwendiu /The Washington Post via AP) AP/Jahi Chikwendiu Danica Roem, center, who ran for house of delegates against GOP incumbent Robert Marshall, is greeted by supporters as she prepares to give her victory speech with Prince William County Democratic Committee at Water’s End Brewery on Tuesday, Nov. 7, 2017, in Manassas, Va. Roem will be the first openly transgender person elected and seated in a state legislature in the United States. (Jahi Chikwendiu/The Washington Post via AP) AP/Jahi Chikwendiu Democrat Chris Hurst defeated Republican Joseph Yost to win House of Delegates District 12 on Tuesday, Nov. 7, 2017, in Blacksburg, Va. Hurst celebrates with a packed room of supporters at The Hyatt Place in Blacksburg. Heather Rousseau/The Roanoke Times via AP Danica Roem, who ran for house of delegates against GOP incumbent Robert Marshall, is greeted by supporters as she prepares to give her victory speech with Prince William County Democratic Committee at Water’s End Brewery on Tuesday, Nov. 7, 2017, in Manassas, Va. Roem will be the first openly transgender person elected and seated in a state legislature in the United States. (Jahi Chikwendiu/The Washington Post via AP) AP/Jahi Chikwendiu Danica Roem, who is running for house of delegates against GOP incumbent Robert Marshall, casts her vote at Buckhall Volunteer Fire Department on Tuesday, Nov. 7, 2017, in Manassas, Va. If Roem wins, she would be the first transgender legislator elected in the USA. (Jahi Chikwendiu/The Washington Post via AP) AP/Jahi Chikwendiu Democratic nominee for the House of Delegates 13th district seat, Danica Roem, places a campaign sign as she canvasses a neighborhood Wednesday, June 21, 2017, in Manassas, Va. Roem defeated Del. Bob Marshall in the 13th House of Delegates District race. (AP Photo/Steve Helber) AP/Steve Helber Democratic nominee for the House of Delegates 13th district seat, Danica Roem, answers a question during an interview Wednesday, June 21, 2017, in Manassas, Va. The former journalist defeated Del. Bob Marshall in the 13th House of Delegates District race. (AP Photo/Steve Helber) AP/Steve Helber Democratic nominee for the House of Delegates 13th district seat, Danica Roem, right, talks with a resident as she greets voters at a neighborhood Wednesday, June 21, 2017, in Manassas, Va. Roem defeated Del. Bob Marshall in the 13th House of Delegates District race. (AP Photo/Steve Helber) AP/Steve Helber In this June 21, 2017, file photo, Democratic nominee for the House of Delegates 13th district seat Danica Roem brings campaign signs as she greets voters while canvassing a neighborhood in Manassas, Va. Roem defeated Del. Bob Marshall in the 13th House of Delegates District race. (AP Photo/Steve Helber, File) AP/Steve Helber In this Jan. 19, 2017, file photo, Del. Bob Marshall, R-Prince William, gestures during a committee hearing at the Capitol in Richmond, Va. Marshall was defeated by his Democratic opponent, Danica Roem in the House of Delegates race for the 13th District. (AP Photo/Steve Helber) AP/Steve Helber Democratic candidate for the Virginia House of Delegates, Wendy Gooditis, left, gestures as she speaks with voters at a restaurant in Berryville, Va., Wednesday, Oct. 25, 2017. Gooditis defeated Republican Randy Minchew for the 10th District seat. (AP Photo/Steve Helber) AP/Steve Helber Virginia House of Delegates 12th district incumbent Joseph Yost and his wife Lisa address supporters after losing his seat in Pearisburg, Va., Tuesday, Nov. 7 2017. Chris Hurst beat Yost Tuesday in a high-profile race for the Blacksburg-area seat. (Matt Gentry/The Roanoke Times via AP) AP/Matt Gentry ALEXANDRIA, VA – NOVEMBER 07: Supporters of Democrat Ralph Northam inflate a cartoon chicken made to resemble President Donald Trump outside the polling place at Washington Mill Elementary School November 7, 2017 in Alexandria, Virginia. (Photo by Chip Somodevilla/Getty Images) Getty Images/Chip Somodevilla ALEXANDRIA, VA – NOVEMBER 07: Karina Smith holds her 2-year-old son Kyler as she fills out her ballot at the polling place at Washington Mill Elementary School November 7, 2017 in Alexandria, Virginia. (Photo by Chip Somodevilla/Getty Images) Getty Images/Chip Somodevilla (Getty Images/Chip Somodevilla) Virginia Gov.-elect Ralph Northam walks onstage to celebrate his election at the Northam For Governor election night party at George Mason University in Fairfax, Va., Tuesday, Nov. 7, 2017. AP Photo/Cliff Owen FAIRFAX, VA – NOVEMBER 07: Gov.-elect Ralph Northam (C) links arms with (L-R) current Gov. Terry McAuliffe, Lt. Gov.-elect Justin Fairfax, Attorney General-elect Mark Herring, and U.S. Sen. Mark Warner (D-VA) at an election night rally November 7, 2017 in Fairfax, Virginia. Northam defeated Republican candidate Ed Gillespie. (Photo by Win McNamee/Getty Images) Getty Images/Win McNamee FAIRFAX, VA – NOVEMBER 07: Virginia Gov.-elect Ralph Northam (R) is embraced by current Gov. Terry McAuliffe (L) at an election night rally November 7, 2017 in Fairfax, Virginia. Northam defeated Republican candidate Ed Gillespie. (Photo by Win McNamee/Getty Images) Getty Images/Win McNamee FAIRFAX, VA – NOVEMBER 07: Gov.-elect Ralph Northam (R) and Lt. Gov.-elect Justin Fairfax greet supporters at an election night rally November 7, 2017 in Fairfax, Virginia. Northam defeated Republican candidate Ed Gillespie. (Photo by Win McNamee/Getty Images) Getty Images/Win McNamee Democrat Lt. Gov.-elect Justin Fairfax addresses the Ralph Northam For Governor election night party at George Mason University in Fairfax, Va., Tuesday, Nov. 7, 2017. (AP Photo/Cliff Owen) AP/Cliff Owen Democratic Attorney General Mark Herring and his wife Laura, right, celebrate his re-election with supporters at the Northam For Governor election night party at George Mason University in Fairfax, Va., Tuesday, Nov. 7, 2017. Herring won a second term as Virginia’s attorney general Tuesday, beating back a challenge from Republican John Adams. (AP Photo/Cliff Owen) AP/Cliff Owen RICHMOND, VA – NOVEMBER 07: Republican gubernatorial candidate Ed Gillespie speaks at an election night rally on November 7, 2017 in Richmond, Virginia. Gillespie was projected to lose to Democrat Ralph Northam. (Photo by Mark Wilson/Getty Images) Getty Images/Mark Wilson RICHMOND, VA – NOVEMBER 07: Republican gubernatorial candidate Ed Gillespie speaks at an election-night rally on November 7, 2017 in Richmond, Virginia. Gillespie was projected to lose to Democrat Ralph Northam. (Photo by Mark Wilson/Getty Images) Getty Images/Mark Wilson FAIRFAX, VA – NOVEMBER 07: Hyun Lee, a supporter of Ralph Northam, the Democratic candidate for governor of Virginia, celebrates as early projections indicated a Northam victory at an election night rally November 7, 2017 in Fairfax, Virginia. Northam has fought a close race with Republican candidate Ed Gillespie.

(Photo by Win McNamee/Getty Images) Getty Images/Win McNamee FAIRFAX, VA – NOVEMBER 07: Supporters of Ralph Northam, the Democratic candidate for governor of Virginia, celebrate as early projections indicated a Northam victory at an election night rally November 7, 2017 in Fairfax, Virginia. Northam has fought a close race with Republican candidate Ed Gillespie. (Photo by Win McNamee/Getty Images) Getty Images/Win McNamee ( 1 /25) Share This Gallery: Share on Facebook. Share on Twitter. Share via email. Print.

UPDATED: 11:45 p.m.

WASHINGTON — Democrats surged to victory in more than a dozen Virginia House of Delegates races Tuesday, unseating several longtime Republican incumbents and coming within striking distance of retaking control of the House for the first time in 17 years.

As of 10:30 p.m. on Election Day, Democrats had flipped seats in at least 14 districts, according to vote tallies from the nonpartisan Virginia Public Access Project. The gains bested Democrats’ most optimistic scenarios for Election Day, and a handful of additional races were still too close to call and likely headed for recounts.

Republicans currently outnumber Democrats in the House 66 to 34.

District-by-district results for all the Virginia House of Delegates races as they become available

In one of the most closely watched races, Democrat Danica Roem, a local journalist, defeated Republican Del. Bob Marshall in Virginia’s 13th District, which includes parts of Prince William County and Manassas Park.





Roem, who carried 54 percent of the vote, made history as the first openly transgender elected official in Virginia history.

Roem made transportation improvements, including widening lanes and removing stoplights on Route 28 in Centreville, a key part of her campaign. But her gender identity drew national attention to the race.

Marshall, who introduced Virginia’s version of the so-called “bathroom bill,” refused to debate Roem and referred to her using male pronouns.

In another upset, Lee Carter, a Navy veteran and self-described Democratic socialist, unseated Republican Del. Jackson Miller, a member of GOP leadership in Richmond, in the 51st District, which also includes parts of Prince William County.

“People are talking about this as a wave. Well, let me tell you, this is a tsunami,” said House Democratic Caucus Leader David Toscano about Democratic victories Tuesday during remarks at a rally for Democratic Gov.-elect Ralph Northam. “And people all across this country are looking at Virginia to see what we did here.”

Toscano told The Associated Press the last time Democrats picked up more than five seats in an election was 1975.

Two years ago, Democrats picked up just a single seat.

This year saw the highest number of House of Delegates races contested by both major political parties in two decades, energized by Democratic opposition to Trump and an increasingly polarized national political climate.

Democrats also triumphed in the three statewide races for governor, lieutenant governor and attorney general.

“Obviously, tonight was a difficult night and the outcome is not what anyone expected,” Matt Moran, spokesman for the House Republican Caucus, said in a statement.

In Northern Virginia, Democrats knocked off Republican incumbents in a total of seven races and snatched up two open seats currently held by the GOP.

In the 32nd District, Republican incumbent Tag Greason, who was first elected to the Loudoun County seat in 2009, was defeated by Democrat David Reid, a retired Naval intelligence officer and defense consultant.

In the 51st District, which covers parts of Prince William County, Democratic challenger Hala Ayala, a former cybersecurity specialist at the Department of Homeland Security, defeated Republican incumbent Rich Anderson.

In the 67th District, which covers parts of Fairfax and Loudoun counties, Republican incumbent Jim LeMunyon was defeated by Democratic challenger Karrie Delaney.

In the 10th District, Republican incumbent Randy Minchew was defeated by Democratic candidate Wendy Gooditis, a Clarke County realtor and former schoolteacher.

And in the 31st District, Democratic challenger Elizabeth Guzman bested Republican Scott Lingamfelter, who was elected to the seat in 2001.

In two seats currently held by Republicans who had opted not to run for re-election, Democrats defeated their Republican challengers.

Democrat Kathy Tran carried Virginia’s 42nd District, picking up a seat that’s currently held by the GOP. Republican Del. David Albo, who served for 24 years chose not to run for re-election this year. Tran, who becomes the first Asian-American woman elected to the House, defeated Republican Lolita Mancheno-Smoak.

In the 2nd District, Democrat Jennifer Carroll Foy, a former public defender, defeated Republican Mike Makee, a Navy veteran and member of the Stafford County Utilities Commission.

Democrats also claimed victory in the 40th District, where Donte Tanner, an Air Force veteran and government contractor, had challenged Republican Del. Tim Hugo, who has held the seat since 2002. However, with all precincts reporting, Tanner’s margin of victory was just 68 votes — a razor-thin margin sure to trigger a recount.

Overall, there were 60 contested House of Delegates races this year — more than double the number in 2015.

The AP will not call Virginia House Districts 27, 28, 40, 68 or 94 Tuesday night because the races are too close to call.

Some analysts have said the delegate races offer a glimpse into the national political climate. The races, which are less personality-driven than the gubernatorial race, act as a barometer of how well Democrats are able to turn anti-Trump fervor into electoral success heading into the 2018 congressional elections, Cook Political Report analyst David Wasserman has hypothesized.

He said a net gain of at least 10 Democratic pickups would be seen as a harbinger of Democratic enthusiasm ahead of the midterms.