ASSOCIATED PRESS Democrats have been on the offense about health care for the first time since the Affordable Care Act passed in 2010.

For the first time since the Affordable Care Act became law, Democrats and their messaging in favor of it have dominated the political conversation.

Democrats have spent twice as much as Republicans have on health care ads this cycle, according to numbers compiled by Kantar Media/CMAG for HuffPost.

And Democrats have aired 132,238 pro-Obamacare ads, compared with 89,815 anti-Obamacare ads.

HuffPost Democrats spent significantly more on health care ads this cycle than Republicans have.

The turnaround is striking from past election cycles. Before Obamacare passed, Democrats made health care their issue. For example, before the 2008 election, Barack Obama’s campaign aired one ad on health care 24,000 times. But in 2012, when he was running for re-election, his campaign had just one health care ad.

After Obama and Democrats in Congress pushed for the law, Republicans went on the offense and made repealing it their goal. They riled up their conservative base against the law, and it paid off electorally.

The focus was clear in the spending on ads: Republicans spent far more on health care ads than Democrats did.

HuffPost There were also more pro-Obamacare ads this cycle, for the first time since the law passed.

This year health care is Democrats’ top message. Republicans failed to repeal the Affordable Care Act, despite controlling the White House and both chambers in Congress. And the law is far more popular than it once was, thanks in large part to provisions like protecting people with pre-existing conditions and ensuring that young people can stay on their parents’ health insurance longer.

Republicans have tried to obscure their votes in favor of repeal as well — another indication of how much public opinion has shifted. President Donald Trump and members of Congress have claimed that they, not Democrats, support protections for people with pre-existing conditions, even though legislation they’ve backed and administrative changes they’re making do just the opposite.

In places like the Rust Belt states, where Democratic senators are fighting to hold on to their seats, groups like Working America ― a nonlabor affiliate of the AFL-CIO ― say health care remains the big issue they hear about on the ground.

“What we’ve tried to do is not make it an ‘us versus them’ but ‘what’s on your mind?’” said the organization’s executive director, Matt Morrison. “And for us, that’s really been centered on health care and access to affordable health care.”

Last month, Senate Majority Leader Mitch McConnell (Ky.) said he wants to get another chance to repeal Obamacare, citing the failure to do so as his main disappointment.

“If we had the votes to completely start over, we’d do it,” he said. “But that depends on what happens in a couple weeks. ... We’re not satisfied with the way Obamacare is working.”