Former President Obama took to Facebook to express his disdain with a federal judge’s decision to strike down core parts of ObamaCare, writing that “Republicans will never stop trying to undo” the Affordable Care Act (ACA), which is widely viewed as his signature domestic legislation.

"If they can’t get it done in Congress, they’ll keep trying in the courts, even when it puts people’s pre-existing conditions coverage at risk," Obama wrote in a Facebook post Saturday. "The only way to convince them to stop trying to repeal this law, and start working to make health care better, is to keep voting, in big numbers, in every election, for people who’ll protect and improve our care."

"As this decision makes its way through the courts, which will take months, if not years, the law remains in place and will likely stay that way," Obama wrote. "Open enrollment is proceeding as planned today. And a good way to show that you’re tired of people trying to take away your health care is to go get covered!"

ADVERTISEMENT

On Friday, a federal judge in Texas ruled that the Affordable Care Act’s individual mandate is unconstitutional. Judge Reed O’Connor’s ruling puts into doubt the future of ObamaCare, though appeals are expected and the law will remain in effect in the meantime.

President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE praised the ruling, calling ObamaCare a “disaster” and “unconstitutional” in a Friday night tweet.

Democrats spent the weeks leading up to the 2018 midterm elections defending the health-care coverage, while Republicans claimed they were the party that would cover people with pre-existing conditions, a staple of ObamaCare.

Republicans attempted to overturn the legislation in Congress, but did not have enough votes in the Senate to do so.