Former Attorney General Alberto Gonzales slammed ex-FBI Director James Comey on Friday for not informing his superiors of the concerns he had over his conversations with President Donald Trump.

“If in fact Jim Comey felt so strongly about the pressure he was feeling from the White House, he had an obligation in my judgment . . . to notify Jeff Sessions, Rod Rosenstein, Dana Boente, someone, because it is the job of the attorney general and the deputy attorney general to protect all the bureaus and services and divisions within the Department of Justice,” Gonzales said on CNN’s “New Day,” according to the Washington Examiner.

Comey kept memos documenting his interactions with Trump. In one, written a day after national security advisor Mike Flynn resigned, the then-director claimed Trump asked him about “letting Flynn go,” according to The New York Times.

“I hope you can see your way clear to letting this go, to letting Flynn go,” Trump said, according to Comey’s memo. “He is a good guy. I hope you can let this go.”

Gonzales added that if Comey had told his superiors, someone like the Attorney General could have spoken with Trump and warned him against those “dangerous” conversations.

“I really have a serious issue, if in fact Jim Comey did not notify his superior, that is his job,” he said. “That is the best thing he can do to protect the bureau.”