A former high school student who administrators neglected to separate from her alleged sexual abuser and classmate has reached a settlement with the San Francisco Unified School District, according to court records.

The Galileo High School graduate filed a federal civil rights lawsuit against the SFUSD last June when she was 17 years old, alleging that the district failed to enforce a restraining order against a student who groped her repeatedly in the Army Junior Reserve Officer Training Corps.

aIt was very painful for her,a said Jalle Dafa, her attorney. aShe does not have positive memories about high school.a

District spokesperson Gentle Blythe confirmed Friday that the school district settled for $325,000.

aThe initial response from the school site was inadequate,a Blythe said in an email. aWhen it came to the districtas attention, we immediately investigated and remedied it.a

The former student, whose name is undisclosed in the lawsuit, filed a restraining order against the male student after he stuck his hand down her pants and up her shirt repeatedly during the 2013-14 school year.

While the district expelled him from Galileo, he was allowed to enroll the next semester at Mission High School, where he participated in the JROTC program.

There are just seven JROTC programs in the district and all of them participate in about 20 events and competitions a semester, according to the lawsuit. With no plan in place to split them up, the victim ended up seeing her alleged attacker on multiple occasions and JROTC instructors just told her she could leave if she was uncomfortable, according to her attorney.

aShe was re-triggered every time she saw him,a Dafa said, adding that her client was discouraged from participating in the JROTC program.

In 2015, Michael Reimer took over as principal of Galileo.

According to the lawsuit, Reimer tried to put a plan in place to separate the victim from the male student in JROTC events but ended up prohibiting her from attending the major events, scheduling them instead for the male student.

Dafa said Reimer stripped aher of her rights to keep her safe.a

In February 2016, the student filed a Title IX lawsuit with the district that later concluded that Galileoas actions aawere discriminatory in nature and prevented [the student] from participating in JROTC.aa

The Office for Civil Rights opened a federal Title IX investigation into the school district in April 2016, which is still ongoing, according to Dafa.

In an interview Thursday, Dafa recalled a quote from Supreme Court Justice Ruth Bader Ginsburg: aThe pedestal upon which women have been placed has all too often, upon closer inspection, been revealed as a cage.a