As it happened: Donald Trump Mar-a-Lago search court papers released - BBC News
The document that led to the FBI search of Donald Trump's home is made public - but with parts blacked out.
The unsealed affidavit includes an attached note from Trump’s lawyer, Evan Corcoran, dated 25 May.

Corcoran argued that as president, Trump had “absolute authority” to declassify documents – but does not say he actually did so in this case. Trump’s lawyer also wrote that the criminal statute governing mishandling of classified documents doesn’t apply to the president.

The letter echoes Trump’s own defence of his possession of the classified materials.

After the FBI raided Mar-a-Lago in search of documents, Trump insisted that “it was all declassified”.

But the reality is more complex.

As the BBC's US partner CBS reports, the president cannot declassify documents by simply saying so. A written memo would usually be drafted and signed by the president, before a consultation process takes place with the relevant agencies.

Once a final decision is made, the old classification level would be crossed out and the document marked as "declassified on x date".

It is unclear whether Mr Trump followed the typical process with the documents recovered from Mar-a-Lago.

When materials are classified, they are marked as such and only certain people - those who have passed the relevant level of security vetting - should be able to view them. There are also rules dictating how classified information is transported and stored.

Some senior officials do have the power to declassify documents. The president, too, has the authority to do this, but would usually delegate the task to those who have direct responsibility for the material.

It's worth noting that documents related to nuclear weapons cannot be declassified by the president, as they fall under a different law, according to a security specialist who spoke to the Washington Post.