WASHINGTON – Even when analysts called her race a “toss-up,” Abigail Spanberger said she never doubted she would win her bid to represent Virginia’s 7th Congressional District.

Sure, no woman had ever served the central Virginia district, and it’s been in Republican hands since 1971. But to Spanberger, who grew up there, it felt as though there had been “an awakening.”

“It was this ever-sort-of-unfolding thing,” she told USA TODAY. “There were protests, there were vigils. When the travel ban came out, there were people in the street.

“I participated in everything,” she said at a coffee shop in Washington, D.C., during a break in new-member orientation.

Spanberger beat the incumbent Rep. Dave Brat by 2 percentage points. In hindsight, her win makes sense, given the dynamics of this election.

Well over half of the winners in House districts the Democrats flipped were women. Democrats like Spanberger made inroads with women and wealthy voters in the suburbs with a campaign message that was laser-focused on affordable health care. And several like Spanberger – a former undercover Central Intelligence Agency operative – ran on their military and national security backgrounds.

Spanberger may have been helped in part by some factors specific to her race. Redistricting in 2016 brought some different voters into the district, and the GOP candidate at the top of the ticket – Senate hopeful Corey Stewart – could have been a drag on down-ballot contests.

But on the whole, what happened in her district is not only emblematic of this election but of political shifts across the USA for the last decade, leading up to the presidency of Donald Trump.

“In this district, the tea party ousted the Republican establishment,” said Jesse Ferguson, a Democratic consultant who grew up in the district. “Then Trump took over the Republican Party, and now the suburbs have thrown Trump’s ‘yes men’ out. It’s the story of the last decade in politics that can be seen in Richmond.”

Here’s how Spanberger’s victory reflects those dynamics:

‘Laws of political gravity’

For more than a dozen years, the GOP’s Eric Cantor represented the district, winning re-election with ease. He rose to become the House Majority Leader in 2011 after helping engineer the Republican takeover of the House.

But shortly after the tea party revolution helped flip control of the House, it became a force in the district’s 2014 GOP primary, with former economics professor Dave Brat ousting the more mainstream Cantor in a stunning upset.

Former House Majority Leader Rep. Eric Cantor, R-Va., speaks during a news conference June 11, 2014, on Capitol Hill in Washington, D.C. Cantor lost a primary challenge from tea party candidate Dave Brat in 2014.(Photo: Alex Wong, Getty Images)

Brat joined the hard-line conservative Freedom Caucus and spent much of his time in the chamber trying to pull legislation farther right, even when that conflicted with GOP leadership's goals. Brat declined multiple requests to comment for this story.

Mo Elleithee, founding executive director of Georgetown University’s Institute of Politics and Public Service, said Brat “wasn’t going to be sustainable” in office.

“The laws of political gravity were going to pull him down at some point. The question was just, when? And it turns out the political winds along with a very disciplined candidate in Spanberger were able to tap into that,” said Elleithee, a longtime Democratic strategist who worked on multiple statewide Virginia races.

The district is conservative, reliably voting for GOP presidential candidates, including Trump. Republicans should have never lost, but in this election, most of the “better” Republican incumbents “survived the landslide and the worst candidates did not,” said Frank Luntz, a GOP pollster.

“(Brat) defeated a very popular incumbent, and there were Republicans who were never really happy with that,” said Frank Luntz, a GOP pollster. “And he never really worked the district as well as he could have. ... That’s one of the seats that the GOP will target in 2020 to win back.”

‘Women are in my grill’

After a couple of contentious town halls turned rowdy, Brat’s team – and other Republicans across the country – eventually decided to stop hosting them altogether. Instead, Brat focused on smaller more controlled events and meetings, but he was still frustrated by what had happened.

“Since Obamacare and these issues have come up, the women are in my grill no matter where I go,” Brat was caught on tape saying in early 2017.

Welcome to the “year of the woman.” Wait, that was 1992, when a then-record 47 women were elected to the House. This may be the "year of the badass woman." You know, those who sling credentials such as former military helicopter pilot or rock climber or, in Spanberger's case, former undercover CIA operative who happens to also be a mom and activist.

Spanberger was one of the suburban moms who had been at the town halls. She was upset with Brat’s vote to repeal the Affordable Care Act.

It was among the many reasons that motivated a record number of women to run for office this year, resulting in more women lawmakers who will serve next Congress than ever before.

Newly elected Democratic members of the House of Representatives Abigail Spanberger of Virginia, center, Mikie Sherrill, left, of New Jersey and Chrissy Houlahan of Pennsylvania take a selfie in front of the U.S. Capitol following an official class picture of new representatives on Nov. 14, 2018, in Washington, D.C.(Photo: Win McNamee, Getty Images)

Of the 88 newcomers to the House, 35 are women and all but one of those women is a Democrat. In Virginia, all three of the districts that flipped from red to blue were won by women.

“For many of them, I think there was an effort to have a really personal connection with voters,” Spanberger said.

Women notably brought all aspects of their lives to the campaign trail, including their children. Spanberger did that, but not without hesitation. She didn’t want to be “too much of a mom” on the campaign trail, worrying that she’d have to justify the balancing act to voters. She also didn’t want to take away their privacy too early.

But as the campaign went on, she began including her children in conversations with voters. And it was an asset.

“I started hearing people say, ‘I love that you have this experience and that you’re so passionate – and that you’re a mom,’” she said. “And I heard it from men and women.”

Health care front and center

Spanberger didn’t hesitate when asked what was important to voters this election: health care.

“It’s the number one,” she said.

Indeed, after spending the last eight years running from the issue, Democrats ran on it this election, forcefully. They capitalized on Republicans’ failed efforts to pass legislation last year that would have unraveled many of Obamacare’s popular consumer protections, done away with the individual mandate and overhauled the insurance market.

“People don’t like the cost of Obamacare or the instability that it created, but because Republicans were so public about it, the Republicans came to own the issue,” said Luntz, the GOP strategist and pollster. “I think it’s not something they expected at the time.”

Overturning the 2010 law had been a potent campaign issue for Republicans – including Brat – until this election. A major pillar of his 2014 campaign was the promise to repeal the health care law – and it was critical to his undoing.

Spanberger had been considering a run but made her decision the day of the House vote. She remained almost singularly focused on the topic during her campaign.

“People in this district were far less interested in Donald Trump’s latest conspiracy theory than they were with protecting people with pre-existing conditions. And that’s what you saw in suburban districts all across the country,” said Ferguson, the Democratic strategist.

Suburban backlash

Spanberger’s support in a swanky part of the Richmond suburbs seemed to catch people by surprise, she noticed.

“People would say, ‘Oh my Goodness, I’ve seen your signs on River Road,’” Spanberger said. “There’s that level of ‘Who would have thought?’”

In another era, those signs likely would have boosted a Republican. But the suburbs are changing.

When he was Virginia’s governor from 2006 to 2010, Tim Kaine said, the 7th District was the most Republican and had the highest turnout in congressional races. But he wasn’t surprised when Spanberger won.

“The suburbs are growing faster than the rural parts of the district, and suburban voters are more and more likely to go Dem,” said Kaine, now a Democratic U.S. senator representing the state.

Democratic candidate to represent Virginia's seventh Congressional district in the US House of Representatives Abigail Spanbergerposes for a picture with supporters after declaring victory over Republican incumbent Representative Dave Brat, at an election night watch party in Richmond, Va. Nov. 6, 2018.(Photo: MICHAEL REYNOLDS, EPA-EFE)

Suburban areas are drawing more college-educated professionals who may be fiscally conservative but are socially liberal, said Larry Sabato, director of the University of Virginia's Center for Politics. The party of Donald Trump isn’t a fit for many of these voters, he said.

“Instead of a polished, well-educated fiscal conservative party, they’re faced with an in-your-face, rude and offensive party and that’s quite a contrast,” Sabato said. “Of course it’s caused people to rethink their affiliations. That’s not the (way of the) suburbs.”

As Trump took hold of the party, suburban voters walked away, Ferguson said.

“Everyone who was looking for a blue wave or red wave – a lot of what we saw was a suburban tsunami,” he said. “This district was a big part of that.”