A federal judge in Florida said Monday that President Donald Trump sued the IRS for an “improper purpose” to reach a settlement with the Justice Department earlier this year. Photo by NATO/UPI | License Photo

July 13 (UPI) -- A federal judge in Florida said Monday that President Donald Trump sued the Internal Revenue Service for an "improper purpose" to reach a settlement with the Justice Department earlier this year.

U.S. District Judge Kathleen Williams in the Southern District of Florida added that the settlement Trump reached with the Justice Department protecting him and his family from tax audits is no longer valid.

Williams said Trump's settlement with a Cabinet-level agency that he presides over is an attempt to "manipulate the judicial process."

"The nature of the suit itself and the conduct of the Parties and counsel from its filing make plain that this was an attempt to use the Court to provide some legitimacy to an agreement to confer immunity to people and entities affiliated with the President and to earmark billions of dollars from American taxpayers to redress grievances not defined in the law," Williams wrote.