The Supreme Court has temporarily allowed President Donald Trump to continue working on a massive new ballroom at the White House, freezing a court ruling that would have required construction to stop at midnight Friday.

The ruling comes after months of back and forth between the Trump administration and the National Trust for Historic Preservation.

The court still has to issue a more lasting ruling on the ballroom’s fate.