A federal appeals court on Monday gave 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 second US 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 the 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. If that happens, Trump could then argue that verdict should be discarded because of presidential immunity.

The decision also set in motion a halt to proceedings in Trump’s simultaneous state court appeal. Trump denies wrongdoing and was given no punishment in the case, which made him the first US president convicted of a crime.

In a two-page order, the second circuit panel said it disagreed with the late district judge Alvin Hellerstein’s earlier denial of Trump’s request to move the historic case from state court to federal court, a process known as removal.

The panel spent more than an hour questioning Trump’s lawyer and a state prosecutor about the president’s latest attempt to shift the case from state to federal court, where the conviction could be thrown out on grounds of presidential immunity.

The federal court action complements an effort through New York’s state court system, which heard arguments in its appellate division earlier this month.

In court on Monday, Robert Giuffra Jr, a lawyer for the president, urged the judges to issue an order as soon as possible – even before writing their full decision – to take control of the case and stop the appellate division’s deliberations.

In a letter to the court, Giuffra argued that without federal court intervention, Trump “will likely have to wait years” for state appellate courts to rule before he can take the matter to the US supreme court.

Judge John M Walker Jr, an appointee of George HW Bush, and Chief Judge Raymond J Lohier Jr, appointed by Barack Obama, asked how that would work.

“I mean, assuming we were to agree with you, there’s been an argument in the appellate division. Briefs have been filed in the appellate division. Will those briefs be refiled by everybody here?” Walker asked.

Giuffra suggested the case would first go to a federal district court judge, who would adopt the state court verdict, before going to the second circuit for arguments and a decision on dismissal on presidential immunity grounds.

“You’re asking us to embrace an entire procedural mechanism that I don’t see anywhere authorized by Congress,” Lohier said.

Steven Wu, chief of the appeals division at the Manhattan district attorney’s office, urged the panel to uphold an earlier ruling and leave the case in state court, which could rule regardless of the federal court’s decision.

Trump has appealed the hush-money case, which turned an accounting records claim into campaign finance violations infringement, three times.

Trump first sought to move the case to federal court weeks after he was indicted in March 2023. He tried again after his conviction and the supreme court’s July 2024 ruling that presidents and ex-presidents cannot be prosecuted for official acts and prosecutors cannot use official acts as evidence that unofficial actions were illegal.

Giuffra argued to both the state and federal appellate panels that prosecutors used the type of official acts evidence that was later barred by the supreme court’s immunity ruling, and took issue with the prosecution’s description of the hush-money payment as an illegal campaign contribution under the federal election campaign act.