A federal judge in northern California ruled that the U.S. Defense Department's sanctioning of AI firm Anthropic as a security risk was unlawful.

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.