A federal appeals court on Monday gave President Donald Trump a new pathway to erasing his hush money criminal conviction, moving the case to a federal court where he could seek to have it dismissed on immunity grounds.

A three-judge panel of the 2nd U.S. Circuit Court of Appeals reversed a lower court decision that had kept the case in state court in New York, where Trump was tried and convicted on 34 felony counts of falsifying business records to obscure a $130,000 payment to adult film performer Stormy Daniels.

The panel ordered a lower court to promptly issue a decision on whether the case should remain in federal court.