Washington — The Justice Department Inspector General alleges in a damaging report made public on Friday that former FBI Deputy Director Andrew McCabe inappropriately authorized the disclosure of sensitive information to a reporter and then misled investigators and former FBI Director James Comey about it on several occasions.

The report from Inspector General Michael Horowitz is remarkable for its level of detail, casting McCabe as a man who repeatedly lied to investigators and his own boss about his role in a disclosure of information, even while he lashed out at others who he thought might be responsible for leaks.

It accuses McCabe of lying at least four times, three of them under oath, and says that while he had the power to approve disclosures of information to the media, his doing so in this instance violated policy because it was done “in a manner designed to advance his personal interests at the expense of Department leadership.”

It also says McCabe and Comey contradicted one another in their descriptions of how a media disclosure was authorized. While the report favors Comey’s account, it likely will generate tough questions for him as he launches a media blitz to promote his new book.

Those in Washington have long been anticipating release of the document, which formed the basis of McCabe’s firing just 26 hours before he could retire from the FBI and begin collecting his full retirement benefits. McCabe vigorously disputes its conclusions, and his team distributed a point-by-point rebuttal of the inspector general’s allegations.

Release of the report comes at a moment when the Justice Department and FBI are under intense scrutiny from a president upset that agents this week raided the office of his personal lawyer.

McCabe had already alleged that his firing was politically motivated, as the president had made clear he disliked McCabe long before the FBI’s former No. 2 official was fired.

Trump wrote on Twitter on Friday, “DOJ just issued the McCabe report — which is a total disaster. He LIED! LIED! LIED! McCabe was totally controlled by Comey — McCabe is Comey!! No collusion, all made up by this den of thieves and lowlifes!”