The U.S. Supreme Court has issued its King v. Burwell (pdf) decision regarding the validity of premium assistance issued by federally run insurance marketplaces.

In a 6-3 ruling, the Supreme Court upheld subsidies for the millions of people who have purchased insurance on the federal Obamacare exchange.

According to a report from U.S. News & World Report, the case focused on whether middle- and low-income adults who purchased health insurance through the federal marketplace were entitled to subsidies based on the language of the Affordable Care Act that says tax credits are only to be distributed for marketplaces “established by the state.”

Chief Justice John Roberts wrote the court’s majority opinion and was joined by Justices Stephen Breyer, Ruth Bader Ginsburg, Elena Kagan, Anthony Kennedy and Sonia Sotomayor.

As the New York Times reported, the ruling means that “it is all but certain that the Affordable Care Act will survive after Mr. Obama leaves office in 2017.”