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 on Friday night touted a ruling from a federal judge in Texas striking down the Affordable Care Act as unconstitutional, saying congressional leaders should now focus on crafting a new health-care law.

“As I predicted all along, Obamacare has been struck down as an UNCONSTITUTIONAL disaster! Now Congress must pass a STRONG law that provides GREAT healthcare and protects pre-existing conditions," Trump tweeted.

"Mitch and Nancy, get it done!” Trump added, referring to Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellFEC flags McConnell campaign over suspected accounting errors Poll: 59 percent think president elected in November should name next Supreme Court justice Mark Kelly: Arizona Senate race winner should be sworn in 'promptly' MORE (R-Ky.) and expected incoming House Speaker Nancy Pelosi Nancy PelosiHoyer: House should vote on COVID-19 aid — with or without a bipartisan deal Ruth Bader Ginsburg lies in repose at Supreme Court McCarthy threatens motion to oust Pelosi if she moves forward with impeachment MORE (D-Calif.).

As I predicted all along, Obamacare has been struck down as an UNCONSTITUTIONAL disaster! Now Congress must pass a STRONG law that provides GREAT healthcare and protects pre-existing conditions. Mitch and Nancy, get it done! — Donald J. Trump (@realDonaldTrump) December 14, 2018

U.S. District Judge Reed O'Connor, an appointee of former President George W. Bush, ruled Friday that ObamaCare's individual mandate is unconstitutional and that because the mandate cannot be separated from the rest of the law, the rest of the law is also invalid.

ADVERTISEMENT

The ruling, which came just one day before the deadline to sign up for coverage for next year, is almost certainly going to be appealed.

The reasoning of the ruling states that in 2012, the Supreme Court upheld the mandate to have coverage because of Congress's power to tax. However, Congress removed the fine for failing to comply with the mandate last year, which, the judge argues, means the mandate is no longer a tax and therefore is unconstitutional.

The court case against ObamaCare was brought by 20 GOP-led states and featured prominently in Democrats’ campaigning in the midterm elections as they sought to cast Republicans as trying to take away voters’ health care.

The Trump administration argued that the pre-existing condition protections should be overturned despite the president’s promise that such coverage would not be impacted.

Trump has had his sights set on repealing the Affordable Care Act since he began campaigning for the White House in 2015, slamming it as a “disaster.” However, efforts to repeal the law last year crumbled due to a lack of GOP support in the Senate.