The Justice Department will not prosecute fired FBI Director James Comey for leaking memos following a referral from the department’s inspector general, according to a report Thursday.

“Everyone at the DOJ involved in the decision said it wasn’t a close call,” an official familiar with the deliberations told Fox News. “They all thought this could not be prosecuted.”

Comey wrote memos documenting his conversations with President Trump in the days leading up to his firing, when he alleged that the commander-in-chief had urged him to take it easy on former national security director Mike Flynn, who was later prosecuted for lying to the FBI.

The former top G-man passed the memos to a friend, who gave them to the New York Times, a move he admitted during congressional testimony.

After the fact, the FBI classified two of those memos as “confidential.”

DOJ Inspector General Michael Horowitz had referred Comey for potential prosecution as part of an internal review.