The FBI sought a search warrant for former President Donald Trump's Mar-a-Lago home in south Florida in order to learn more about him. The feds took more than two dozen boxes of government records after executing the warrant.

The Justice Department's proposed redactions were endorsed by the judge because they were tailored to serve the government's legitimate interest in the integrity of the ongoing investigation.

After the FBI searched a former president's private residence, the release of the affidavit was extraordinary. An affidavit only becomes public if federal prosecutors bring charges, which hasn't happened in this case

The public interest in the raid of Trump's home prompted media organizations to call for the release of all records related to the search. The release of the search warrant and the inventory of items the FBI seized from Mar-a-Lago was ordered by the Justice Department.

The Espionage Act is one of the federal laws that the Justice Department is investigating if Trump violated.

At a court hearing last week, a top Justice Department argued that the public release of the affidavit could undermine the inquiry into Trump's handling of the records.

He said he was inclined to un-seal some of the affidavit.