U.S. President Donald Trump scored a major personal legal victory over the Internal Revenue Service on Tuesday as the agency he has long reviled was barred by the U.S. Justice Department from continuing any “known and unknown” probes into his tax returns.

The one-page agreement signed Tuesday by acting Attorney General Todd Blanche adds to a controversial settlement struck a day earlier in which Trump agreed to drop a $10 billion lawsuit he filed against the IRS in January over a 2019 leak of his tax records to the press.

Under the deal, the IRS is “forever barred” from pursuing “any and all claims” or demands for damages that have been or could have been filed against Trump before the agreement was reached. The accord represents a major triumph by Trump over an agency he has criticized for years for auditing his finances, but it’s opened up the administration to criticism from Democrats and ethics groups.