WASHINGTON — William McRaven, the retired four-star admiral who led U.S. Special Operations Command from 2011 to 2014, has resigned from the Pentagon’s technology advisory board following a public critique of President Donald Trump, Defense News has learned.

McRaven resigned from the Defense Innovation Board, a group of technology leaders and innovators tasked with advising the secretary of defense on pertinent issues, on Aug. 20, four days after he posted a scathing op-ed in the Washington Post calling out Trump for revoking the security clearance of former CIA director John Brennan.

“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,” McRaven wrote to Trump in the Post. “If you think for a moment that your McCarthy-era tactics will suppress the voices of criticism, you are sadly mistaken. The criticism will continue until you become the leader we prayed you would be.”

McRaven’s photo has been removed from the DIB website, and Lt. Col. Michelle Baldanza, a Pentagon spokeswoman, confirmed that McRaven resigned from his post on the DIB. She added that “The Department appreciates his service and contribution on the board."