The U.S. Court of Appeals for the D.C. Circuit on Friday threw out Democratic members of Congress’ lawsuit alleging President Donald Trump is violating the Constitution’s Emoluments Clause.

In its order, the court vacated a district court judge’s ruling that found lawmakers had standing to sue, a significant blow to Democrats who have long sought to hold Trump accountable for the alleged Emoluments Clause violations tied to accepting foreign payments at his Washington, D.C.-based hotel.