The FBI was investigating President Donald Trump’s former personal attorney and fixer for nearly a year before agents raided his home and office, documents released Tuesday show.

The search warrant, while heavily redacted, offered new details about the federal inquiry of Cohen’s business dealings and the FBI raids of his Manhattan home and office.

It shows the federal inquiry into Michael Cohen had been going on since July 2017 — far longer than had previously been known.

Lanny Davis, an attorney for Cohen, said the release of the search warrant “furthers his interest in continuing to cooperate and providing information and the truth about Donald Trump and the Trump organization to law enforcement and Congress.”