A federal judge has ruled in favor of artificial intelligence company Anthropic in its legal battle against the Pentagon after the government labeled the company as a supply chain risk earlier this year.

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.