President Donald Trump has fired FBI Director James Comey, and the real reason why was laid out in a memo from Deputy Attorney General Rod Rosenstein.

“The president has accepted the recommendation of the attorney general and the deputy attorney general regarding the dismissal of the director of the Federal Bureau of Investigation,” White House press secretary Sean Spicer told CNN Tuesday afternoon.

Trump told Comey that he considered him no longer “able to effectively lead the bureau” in a letter terminating him.

“It is essential that we find new leadership for the FBI that restores public trust and confidence in its vital law enforcement mission,” the president wrote. “I wish you the best of luck in your future endeavors.”

A copy of a memo from Deputy Attorney General Rod Rosenstein, obtained by PBS, argued that the “reputation and credibility” of the FBI had suffered under Comey’s leadership and “affected the entire Department of Justice.”

Rosenstein took Comey to task in the memo for concluding that former Secretary of State Hillary Clinton should not have been prosecuted for maintaining an unsecure email server in her home, through which classified material had been sent and received, and for publicly announcing his opinion.

“It is not the function of the director to make such an announcement,” Rosenstein wrote in the memo. “At most, the director should have said the FBI had completed its investigation and presented its findings to the attorney general.”

The deputy attorney general also argued that Comey’s release of “derogatory information” about Clinton — whom Comey called “extremely careless” with regard to how she handled classified information in the now-famous news conference in which he made that announcement — was improper.

“It is a textbook example of what federal prosecutors and agents are taught not to do,” he wrote. READ MORE