A three-judge panel on Monday restored a path for President Trump to move his 2024 felony conviction in Manhattan to federal court. The court said a judge erred in denying the request. If Trump wins, he could argue the verdict should be discarded because of presidential immunity from official acts.

A three-judge panel ruled that a lower court had erred in denying President Trump's request to move his case out of state court, where he was convicted on 34 felony counts.

A federal appeals court on Monday restored a path for President Trump to move his 2024 felony conviction in Manhattan to federal court, a move that would offer the president his quickest path to overturning it.

In a brief filing, a three-judge panel from the U.S. Court of Appeals for the Second Circuit said that a judge, Alvin K. Hellerstein, had erred in his reasoning when he denied Mr. Trump's request to move the case from state to federal court in August. Judge Hellerstein died last month.

The three-judge panel sent the case back to a lower federal court, ordering a judge to rule promptly. If Mr. Trump wins, he could then argue in federal court that the verdict should be discarded because of presidential immunity from prosecution.

A spokeswoman for the Manhattan district attorney, Alvin L. Bragg, declined to comment.

In March 2023, Mr. Trump was indicted in State Supreme Court in Manhattan and charged with 34 counts of falsifying business records related to a scheme to conceal a hush-money payment to the porn star Stormy Daniels before the 2016 presidential election.

Shortly after the indictment, lawyers for Mr. Trump, who was not in office at the time, tried to move the case to federal court. The argument went before Judge Hellerstein, who presided in Federal District Court in Manhattan. He denied their request.

Mr. Trump was convicted in May 2024.

In July 2024, the Supreme Court ruled that presidents were entitled to presumptive immunity for official acts. In September of that year, Judge Hellerstein denied Mr. Trump's request to move the case to federal court, rejecting Mr. Trump's claims of immunity.

Mr. Trump then appealed to the federal appeals court, which asked Judge Hellerstein to look again at Mr. Trump's arguments. In August, Judge Hellerstein denied that petition, saying that Mr. Trump's arguments were "neither new nor legally sufficient." Mr. Trump once more appealed to the appeals court.

In October, Robert J. Giuffra Jr., a lawyer for Mr. Trump, wrote that both Judge Hellerstein and the district attorney's office had "grasped for different, meritless reasons" to deny Mr. Trump's attempts to move the case to federal court.

"President Trump has done all he reasonably could to expedite judicial resolution of this issue," Mr. Giuffra wrote.

Last week, Mr. Giuffra argued in front of three federal judges -- Raymond J. Lohier Jr., John M. Walker Jr. and José A. Cabranes. On Monday, the judges ruled that Mr. Hellerstein's decision earlier this year be reversed, finding fault with two points of his reasoning.

First, Judge Hellerstein was mistaken in saying that defendants who are federal officers could not have their cases moved to federal court once they have been convicted, they said. Second, the appeals panel said, Judge Hellerstein also erred in holding that Mr. Trump failed to show "good cause" to allow him to file to have his case moved to federal court.

The federal appeals judges started a process to halt Mr. Trump's state court appeal while his option to move the case to federal court remains intact.