Harvard University announced early Friday that it will rescind its invitation for Chelsea Manning to be a visiting fellow during its upcoming academic year.

In a blog post published early Friday morning, Douglas Elmendorf, dean of Harvard’s Kennedy School, called Manning’s fellowship designation a “mistake.” Manning had been invited to spend a day at the Kennedy School under the mantle of visiting fellow, a title that he said was used to “describe some people who spend more than a few hours at the school.”

“We did not intend to honor her in any way or to endorse any of her words or deeds, as we do not honor or endorse any fellow,” Elmendorf said. “However, I now think that designating Chelsea Manning as a Visiting Fellow was a mistake, for which I accept responsibility.”

Chelsea Manning, who served seven years in prison for sharing classified information with WikiLeaks, will no longer be a fellow at Harvard University. The school rescinded her invitation early Friday. (Photo: Heidi Gutman via Getty Images)

The university’s decision to withdraw the fellowship invitation followed a day of public pressure. CIA Director Mike Pompeo called Manning an “American traitor,” and said he would withdraw from an appearance at the Kennedy School’s John F. Kennedy, Jr. Forum. Former CIA Chief Michael Morell also resigned his role as a senior fellow at Harvard over the Manning invite.

“You have traded a respected individual who served his country with dignity for one who served it with disgrace and who violated the warrior ethos she promised to uphold when she voluntarily chose to join the United States Army,” Pompeo wrote.

CIA Director Withdraws from Harvard Kennedy School Forum pic.twitter.com/N7YKyGy9H4 — CIA (@CIA) September 15, 2017

Manning, 29, served seven years in prison for sharing classified information with WikiLeaks, the largest breach of such intel in U.S. history. The remainder of her 35-year sentence was commuted by former President Barack Obama in January and she was released in May.

Harvard originally announced the news of Manning’s fellowship on Wednesday, touting her as the Kennedy School’s “first transgender Fellow.”

Story continues

Early Friday, Manning responded to the controversy on Twitter.

honored to be 1st disinvited trans woman visiting @harvard fellow 😌 they chill marginalized voices under @cia pressure 😎🌈💕 #WeGotThis https://t.co/7ViF3GaSec — Chelsea E. Manning (@xychelsea) September 15, 2017

The university offered an apology to Manning, and still plans to invite her to spend the day at the school, Elmendorf said.

“I apologize to her and to the many concerned people from whom I have heard today for not recognizing upfront the full implications of our original invitation,” Elmendorf stated. “This decision now is not intended as a compromise between competing interest groups but as the correct way for the Kennedy School to emphasize its longstanding approach to visiting speakers while recognizing that the title of Visiting Fellow implies a certain recognition.”

Others invited to be visiting fellows this year include Sean Spicer, former White House press secretary under President Donald Trump, and Corey Lewandowski, Trump’s former campaign manager who was arrested and charged with assaulting a journalist. But it was Manning who sparked outrage.

Love HuffPost? Become a founding member of HuffPost Plus today.

Former CIA Deputy Director @MichaelJMorell resigns as Senior Fellow at Harvard Kennedy school over their hiring of Chelsea Manning pic.twitter.com/JORdp4ysHR — Mosheh Oinounou (@Mosheh) September 14, 2017

“I have an obligation to my conscience ― and I believe to the country ― to stand up against any efforts to justify leaks of sensitive national security information,” Morell wrote in his own letter.

Shortly after Morell announced his resignation, Manning fired back on Twitter with a one-word reply: “Good.”

This article originally appeared on HuffPost.