Last month, a federal judge ruled that President Trump must turn over his tax returns to the Manhattan District Attorney, roundly rejecting the president's case for criminal immunity as "repugnant" and "extraordinary." Today, an appeals court upheld that decision, saying that Trump’s accounting firm must turn over eight years of his personal and corporate tax returns to prosecutors. And this decision means the case is likely headed to the Supreme Court, which would make the final decision on Trump's taxes, if they agree to hear the case.

The tax documents, which Trump has repeatedly refused to release, are being sought as part of D.A. Cy Vance Jr.'s recently revived investigation into illegal hush money payments Trump allegedly made to multiple women during the 2016 campaign. After prosecutors subpoenaed the president's federal and state returns in September, Trump filed suit, arguing that he was immune from criminal proceedings while in office.

U.S. District Judge Victor Marrero dismissed that argument last month, noting that the court “cannot endorse such a categorical and limitless assertion of presidential immunity from judicial process." He also stressed that the president is not a king, citing numerous Supreme Court rulings and the main crux of the country's founding document.

Trump's attorneys however maintained that line of argument to the United States Court of Appeals for the Second Circuit, with attorney William Consovoy taking that idea to the extreme, arguing that Trump is immune from criminal investigation even if he were to literally shoot someone on Fifth Avenue.

The three-judge appeals panel said their decision was not intended to address whether a president can be prosecuted while in office. In their view, the question was irrelevant because Manhattan DA Cy Vance’s subpoena was issued for Trump’s accounting firm, not Trump himself.

They wrote in their decision: “Our concern is heightened by the fact that the grand jury in this case is investigating not only the President, but also other persons and entities. Assuming, again without deciding, that the President cannot be prosecuted while he remains in office, it would nonetheless exact a heavy toll on our criminal justice system to prohibit a state from even investigating potential crimes committed by him for potential later prosecution, or by other persons, not protected by any immunity, simply because the proof of those alleged crimes involves the President."

“We emphasize again the narrowness of the issue before us,” the decision read. “This appeal does not require us to consider whether the president is immune from indictment and prosecution while in office, nor to consider whether the president may lawfully be ordered to produce documents for use in a state criminal proceeding.”

Vance’s office previously agreed to wait 10 days to enforce their subpoenas, which gives Trump's attorneys time to bring the case to the U.S. Supreme Court, something his attorneys confirmed to NBC News: "The decision of the Second Circuit will be taken to the Supreme Court. The issue raised in this case go to the heart of our Republic. The constitutional issues are significant."