US President Donald Trump disembarks after arriving on Air Force One at Joint Base Andrews in Maryland, September 26, 2019, after returning from New York.

The Manhattan District Attorney's office told a federal judge it has struck a deal with President Donald Trump's lawyers to press pause on a grand jury subpoena for his tax returns.

In a letter Thursday to Manhattan federal court Judge Victor Marrero, a prosecutor in DA Cyrus Vance Jr.'s office wrote that "the parties have reached a temporary agreement" to "forbear enforcement" of the subpoena to produce years of Trump's financial documents.

Prosecutors will hold off trying to enforce the subpoena until Oct. 7 at 1 p.m. ET — or until two business days after the judge rules on whether the subpoena should be permanently barred or whether it can be enforced over Trump's objection.

In the meantime, Trump's accounting firm, Mazars USA, will start "gathering and preparing all documents responsive to the subpoena," the letter to Marrero says.

The judge signed the outline of the agreement shortly after it was filed.

A day earlier, Marrero temporarily blocked enforcement of a grand jury subpoena demanding Trump's personal and corporate income tax returns from Mazars.

Marrero said in a hearing Wednesday that it won't take him "weeks or months" to decide whether the subpoena should be allowed.