A federal judge on Thursday blasted Republican Texas Attorney General Ken Paxton’s “well-known history of filing retaliatory lawsuits” when blocking his fraud case against Democratic fundraising platform ActBlue.

In a scathing 15-page ruling, U.S. District Judge Richard Stearns granted ActBlue a preliminary injunction barring Paxton from continuing to litigate the case.

Stearns suggested the probe was merely brought to kneecap Paxton’s political opponents — specifically Democratic state representative James Talarico, who is running against Paxton to represent Texas in the U.S. Senate and has raised record-breaking sums in doing so.

“The truth is plain and captured in Paxton’s own declarations: The lawsuit was filed in retaliation for (and in an attempt to suppress) ActBlue’s efforts to fund Talarico’s campaign,” Stearns ruled.