Former Navy admiral Bill McRaven wrote an open letter to President Donald Trump in rebuke of him revoking the security clearance for former CIA director John Brennan.

White House press secretary Sarah Huckabee Sanders announced during Wednesday's press briefing that Brennan's security clearance was being revoked because he "has a history that calls into question his objectivity and credibility."

The letter published in The Washington Post states that McRaven would consider it an honor if President Trump would revoke his security clearance.

"I would consider it an honor if you would revoke my security clearance as well, so I can add my name to the list of men and women who have spoken up against your presidency," he wrote.

McRaven then explained that President Trump has failed to live up to his presidential expectations and said that his "McCarthy-era tactics" would not silence his critics.

"Like most Americans, I had hoped that when you became president, you would rise to the occasion and become the leader this great nation needs."

He added, "Your leadership, however, has shown little of these qualities. Through your actions, you have embarrassed us in the eyes of our children, humiliated us on the world stage and, worst of all, divided us as a nation."

"If you think for a moment that your McCarthy-era tactics will suppress the voices of criticism, you are sadly mistaken," McRaven concluded. "The criticism will continue until you become the leader we prayed you would be."