Ousted Harvard President Claudine Gay says she faced death threats and was called the N-word during a weeks-long attack on her character designed to end her presidency.

In an op-ed published Wednesday evening by The New York Times, Gay described her decision to resign this week, after plagiarism allegations and criticisms she didn’t do enough to combat antisemitism on campus, as “wrenching but necessary” and expressed a desire to “deny demagogues the opportunity to further weaponize my presidency.”

“My inbox has been flooded with invective, including death threats. I’ve been called the N-word more times than I care to count,” Gay said.

The former Harvard president punched back at her critics, arguing that they have “often trafficked in lies and ad hominem insults, not reasoned argument.”