The US special counsel investigating Donald Trump obtained a secret search warrant for the ex-president's Twitter data in January, unsealed records show.
Jack Smith requested "data and records" relating to Mr Trump's account which may have included unpublished posts.
After initially resisting the warrant, Twitter eventually complied but missed a court-ordered deadline by three days.
The delay resulted in the company being handed a $350,000 (£275,000) fine for contempt of court.
The existence of the search warrant and the legal fight over it was revealed in court documents unsealed on Wednesday.
According to the unsealed ruling, which still includes some redactions, Twitter's lawyers did not object to the warrant itself, but disputed the nondisclosure order which kept it secret.
The company, now known as X under the ownership of Elon Musk, argued that it should be allowed to notify customers whose accounts are subject to search warrants.
X handed over the data in February, but appealed the fine. Its case was rejected by a US appeals court last month.
There is little indication in the documents about what exactly Mr Smith was seeking, with the court filing noting that only that the warrant directed the company "to produce data and records" related to Mr Trump's account.
The US congressional panel investigating the 6 January 2021 Capitol riot found that Mr Trump had drafted - but never sent - a tweet urging his supporters to come to Washington.
It said: "I will be making a Big Speech at 10 a.m. on January 6th at the Ellipse (South of the White House). Please arrive early, massive crowds expected. March to the Capitol after. Stop the steal!"
The @realdonaldtrump account, which has 86.5m followers, was suspended after the riot.
It was reinstated in November 2022 after Mr Musk ran a poll asking users whether the former president should be allowed back on the platform.
Mr Trump has not posted on X since being reinstated, instead preferring to use his own Truth Social network.
Experts have noted that his Truth Social business contracts mean he potentially stands to lose millions if he resumes posting on X.
Mr Trump responded to news of the search warrant on Truth Social, writing that it was a "major 'hit' on my civil rights... These are DARK DAYS IN AMERICA!"
He has been charged in the two investigations led by Mr Smith, one surrounding events following the 2020 election and the other relating to the handling of classified documents.
Latest Stories
-
CLOGSAG vows to resist partisan appointments in Civil, Local Government Service
52 minutes -
Peasant Farmers Association welcomes Mahama’s move to rename Agric Ministry
53 minutes -
NDC grateful to chiefs, people of Bono Region -Asiedu Nketia
56 minutes -
Ban on smoking in public: FDA engages food service establishments on compliance
56 minutes -
Mahama’s administration to consider opening Ghana’s Mission in Budapest
58 minutes -
GEPA commits to building robust systems that empower MSMEs
1 hour -
Twifo Atti-Morkwa poultry farmers in distress due to high cost of feed
1 hour -
Central Region PURC assures residents of constant water, power supply during yuletide
1 hour -
Election victory not licence to misbehave – Police to youth
1 hour -
GPL 2024/2025: Nations thrash struggling Legon Cities
1 hour -
Electoral offences have no expiry date, accountability is inevitable – Fifi Kwetey
1 hour -
Ghanaians to enjoy reliable electricity this Christmas – ECG promises
1 hour -
Police deny reports of election-related violence in Nsawam Adoagyiri
1 hour -
‘We’re not brothers; we’ll show you where power lies’ – Dafeamekpor to Afenyo-Markin
1 hour -
EPA says lead-based paints are dangerous to health, calls for safer alternatives
3 hours