The judge said that the subpoenas, served in January while the administration was ramping up its immigration enforcement efforts, were “no doubt” intended to harass Trump’s foes.

The White House was trying to force compliance during Operation Metro Surge in January.

The court cited the “overwhelming evidence that these subpoenas were not issued to investigate, but to harass, coerce, and retaliate.”