A federal judge has struck down a $1.8 billion settlement reached between the Trump administration and the Internal Revenue Service, ruling that the lawsuit underpinning the agreement was filed for an improper purpose. Judge Kathleen Williams issued the ruling this week, finding that the administration had attempted to manipulate the judicial process to secure the large payout.

The settlement had been connected to what the Trump administration described as an 'anti-weaponization' fund, meant to address claims that the IRS had been used as a political tool against conservative groups. The judge's ruling voided that arrangement entirely, concluding that the legal mechanism used to reach it was improper from the outset.

Court records show that top Justice Department officials, including figures close to the administration, were involved in structuring the lawsuit and subsequent settlement. The judge's written opinion described the effort as an attempt to use the courts to achieve a financial outcome that could not have been obtained through normal legislative or executive channels.

The decision raises questions about the legal strategy behind the settlement and what recourse, if any, the administration may have to revive the agreement or pursue similar claims through other means. Legal experts have noted that findings of improper purpose are relatively rare and carry significant implications for the parties involved.

The ruling is expected to face scrutiny from the administration, which has not yet publicly indicated whether it will appeal. The case centers on longstanding conservative grievances about alleged targeting of right-leaning nonprofit organizations by the IRS, a dispute that dates back more than a decade.