In a 7-2 vote, the Supreme Court gave President Donald Trump some bad news on Monday when it refused to hear his administration’s challenge to the legality of California’s “sanctuary state” laws.

This means that the Ninth Circuit’s decision upholding the California laws will stand, according to The Blaze. The only two justices who voted to hear the case were Justices Clarence Thomas and Samuel Alito, meaning that Trump was betrayed by his two appointees Neil Gorsuch and Brett Kavanaugh.

The court’s order  gave no further details about why the other justices decided not to hear the challenge, only saying that Thomas and Alito would have voted in favor of granting the government’s petition.

This comes after the Trump administration had tried to argue that three different provisions of California law violate the Constitution by interfering with federal enforcement of immigration law. These provisions included California Senate Bill 54 (also known as the California Values Act), which was passed in 2017; certain aspects of Assembly Bill 450 (a California law that requires employers to inform their employees about/before federal immigration inspections); and Assembly Bill 103, which imposed various state inspection requirements on facilities that house immigration detainees.

In a petition calling on the Supreme Court to hear the case, Trump’s lawyers had argued that the state law conflicted with federal ones and posed a risk to public safety. “When officers are unable to arrest aliens — often criminal aliens — who are in removal proceedings or have been ordered removed from the United States, those aliens instead return to the community, where criminal aliens are disproportionately likely to commit crimes,” the petition stated. “That result undermines public safety, immigration enforcement and the rule of law.”

Both a federal district court in California and then the Ninth Circuit Court of Appeals had rejected the lawsuit, ruling that none of the three laws violate the Constitution, with the exception of one minor provision of AB 103. This latest decision by the Supreme Court means that unless something major changes, California’s sanctuary state laws will be in place for the foreseeable future.