Special counsel Jack Smith’s team obtained a search warrant in January for records related to former president Donald Trump’s Twitter account.
And a judge levied a US$350,000 (£275,000) fine on the company for a delay in complying, according to court documents released on Wednesday.
The details were included in a decision from the federal appeals court in Washington rejecting Twitter’s claim that a lower court judge was wrong to hold the company in contempt and imposing the sanction.
The filing says Smith obtained a search warrant directing Twitter to produce “data and records” related to Trump’s twitter account.
The government also got a nondisclosure agreement prohibiting Twitter from disclosing the search warrant. The filing says the court “found probable cause to search the Twitter account for evidence of criminal offences”.
Smith has charged Trump, in an indictment unsealed last week, with conspiring to subvert the will of voters and cling to power after he lost the 2020 election to Democrat Joe Biden.
Trump, a Republican, has pleaded not guilty to charges including conspiracy to defraud the United States and obstruction of Congress’ certification of Biden’s win.
Trump says he is innocent and has portrayed the investigation as political motivated.
His legal team has indicated it will argue that Trump was relying on the advice of lawyers around him in 2020 and had the right to challenge an election he believed was rigged.
Trump’s campaign did not immediately respond to a message seeking comment.
A spokesman for the special counsel’s office declined to comment on the warrant or what exactly it sought.
Messages seeking comment from X, the platform formerly known as Twitter, were not immediately returned.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country