FBI Deputy Director Andrew McCabe tried to keep up the morale at the FBI after it was revealed that Director James Comey was fired, according to a letter McCabe wrote then that was released Wednesday.

“First, thank you. Thank you for continuing to do the great work of this organization. […] [d]espite the fact that we are still trying to adjust to an FBI without Director Comey,” McCabe wrote.

“So please — hang in there. As men and women of the FBI, we are at our best when times are tough. Please stay focused on the mission, keep doing great work, be good to each other and we will get through this together,” he said.

Comey was fired by President Trump on May 9 for his handling of the FBI’s investigation into Hillary Clinton’s email server.

Along with McCabe’s letter, the FBI also released an email from Attorney General Jeff Sessions to FBI staff on May 9 announcing Trump's decision to fire Comey.

"The president of the United States has exercised his lawful authority to remove James B. Comey, Jr. as the Director of the Federal Bureau of Investigation," Sessions wrote, adding, "As you well know, the FBI is an exceptional law enforcement and intelligence agency. It is made so by you, the devoted men and women who work tirelessly to keep our country safe.”

Christopher Wray took over as FBI director In August after being nominated by Trump in June.

Trump has continually criticized the FBI of being biased, and has said its reputation is in “tatters.”