New York (CNN) โ€”ย Harvard President Claudine Gay announced Tuesdayย she is stepping downย amid a firestorm of controversy at the university.

โ€œIt is with a heavy heart but a deep love for Harvard that I write to share that I will be stepping down as president,โ€ Gay wroteย in a letter to the Harvard community. โ€œAfter consultation with members of the Corporation, it has become clear that it is in the best interests of Harvard for me to resign so that our community can navigate this moment of extraordinary challenge with a focus on the institution rather than any individual.โ€

Gay did not say when she plans to formally step down but she described the decision as โ€œdifficult beyond words.โ€

โ€œAmidst all of this, it has been distressing to have doubt cast on my commitments to confronting hate and to upholding scholarly rigor โ€” two bedrock values that are fundamental to who I am โ€” and frightening to be subjected to personal attacks and threats fueled by racial animus,โ€ Gay wrote.

She is resigning just six months into her presidency. The first Black president in Harvardโ€™s nearly 400-year history and the second woman, Gay acknowledged how short her tenure was.

โ€œWhen my brief presidency is remembered, I hope it will be seen as a moment of reawakening to the importance of striving to find our common humanity โ€” and of not allowing rancor and vituperation to undermine the vital process of education,โ€ Gay said.

She was undone in part byย her responses at a congressional hearing last month, as well as an ongoing plagiarism scandal.

At the House hearing, Gay was criticized for a lack of direct answer about policies and procedures to combat bullying and harassment of Jewish students.

Alan M. Garber, who currently serves as provost and chief academic officer at Harvard, will step in as interim president until the school finds a new leader, the Harvard Corporation announced in a letter on Tuesday.

The Corporation said the search for a new president would โ€œbegin in due course,โ€ but did not specify an exact timeline.

Gay said in her letter she would return to a faculty position โ€œand to the scholarship and teaching that are the lifeblood of what we do.โ€

A spokesperson did not immediately respond to requests for comment.

This is a breaking story. Check back for updates.