A federal judge on Monday blocked the Justice Department from forcing Minnesota Gov. Tim Walz and other officials to turn over records in its probe of Democratic resistance to the Trump administration’s immigration crackdown, calling the move retaliatory.

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.”