The dispute between the AI company and the government broke out in February when Trump and Hegseth accused Anthropic of endangering national security

The administration engaged in ‘unlawful retaliation in violation of the First Amendment,’ the ruling said.

The judge ruled that the Trump administration’s blacklisting of Anthropic stemmed from a “desire to make a public example out of Anthropic” for its criticism of the government.