An Oregon man has agreed to publicly renounce white supremacy on video, undergo a year of “anti-hate training,” and complete 200 hours of community service as part of a settlement agreement with an American University student he harassed online.

Taylor Dumpson, a 22-year-old AU student elected as the school’s first black female student government president, sued the publisher of The Daily Stormer, Andrew Anglin, and two others in April after she alleged they harassed her online. The Daily Stormer is a racist, white supremacist website.

MORE NEWS: From Classroom to Consulate Chef: Culinary Student Lands Dream Job at U.S. Embassy in Paris

On Tuesday, Dumpson inked a settlement agreement with one of the two others – Oregon resident Evan James McCarty. So far, Anglin and the other man named in the federal lawsuit, Brian Andrew Ade, have not responded, the Associated Press reports.

The lawsuit alleges Dumpson was targeted with hateful messages, bananas and nooses after her May 2017 inauguration as student government president, and The Daily Stormer published a story about the incident that included her social media information. Later, when someone posted Dumpson’s whereabouts, McCarty sent Dumpson a picture of bananas with the message “READY THE TROOPS.” In another tweet to Dumpson, he wrote “OOGA BOOGA,” according to the news service.

The lawsuit alleges she now suffers from post-traumatic stress disorder, “feels constantly afraid and on edge,” and is scared to go out at night.

“It’s one of the first things I think about in the morning and one of the last things I think about when I go to sleep,” she told the AP.

Dumpson resigned her position as student government president in January “in order to focus on my health and education,” she wrote in a prepared statement to The Eagle, the AU student news site.

The resignation came on the heels of a year-long suspension from her historically black sorority, Alpha Kappa Alpha, “after the completion of an internal investigation.” The reason for the suspension is unclear, and Alpha Kappa Alpha will not elaborate, according to The College Fix.

MORE NEWS: Know These Before Moving From Cyprus To The UK

Dumpson told the AP she hopes her lawsuit will “hold people accountable for their bigoted actions” and believes the settlement with McCarty “could raise awareness of issues of racial justice, while also providing educational benefits.”

“I guess I was open to the idea that even the perpetrator of a racially motivated act of bias could still be more or less reformed,” she said.

The settlement requires McCarty to apologize directly to Dumpson in a recorded video she can use for racial justice advocacy. It also requires him to attend at least one year of anti-hate counseling, complete four classes on race or gender issues, and complete 200 hours of community service promoting “racial justice and civil rights.”

“This advocacy could take many forms, such as direct outreach to other white supremacist to attempt de-radicalization,” the agreement reads.

McCarty’s parents, Deb and James, told the AP they have “sincere empathy” for Dumpson and are “profoundly sorry for the harm caused her.”

The couple claim their son “is a different person than he was when he hid behind an alias and was persuaded into hateful activity on the internet.”

“Evan, our son, feels deep regret about his actions and is committed to making changes and moving forward in a positive way,” the family wrote in a prepared statement to the AP. “At this time, he is focused on continuing to make progress, pursuing his degree, contributing to his community and committed to making amends.”