New court papers made public on Wednesday show that Elon Musk's Twitter was fined $350,000 for not following a search warrant on Donald Trump's Twitter account earlier this year.
The warrant was given out as part of a special investigation by the Justice Department.
The released opinion says that Twitter, which is now called X, fought against giving the information asked for in the warrant on February 1.
It said that the First Amendment did not allow the nondisclosure order that went with the warrant. The objection was filed four days after the deadline set by the court.