NEW ORLEANS (AP) — A transgender woman who said she was beaten and raped in a Louisiana jail has reached a settlement with the sheriff's office she sued last year.

An order dismissing the woman's suit against Tangipahoa Parish Sheriff Daniel Edwards and members of his staff was filed Thursday.

The former inmate, identified as Jane Doe and a resident of Schenectady County in New York, filed the suit last year in U.S. District Court in New Orleans.

It said she was arrested in 2016 for suspicion of drunk driving in the parking lot of a Hammond hospital, where she had gone to seek treatment for self-inflicted injuries.

The suit says she was beaten and raped multiple times by male inmates. It also says deputies repeatedly ignored her requests for help.

Terms of the pending settlement were not disclosed.

The 2017 lawsuit said jailers failed to segregate the inmate from the male general population at the jail, despite her gender identity, her having told the booking officer she was depressed and despondent, or her history of psychological disorders. It said the inmate was beaten and raped by other prisoners. When she encountered deputies, they ignored her complaints, and her bloodied face and clothes. One deputy "responded that if she did not shut up he would shoot her."

The sheriff's office denied the lawsuit's allegations in court filings.

In Thursday's dismissal order, U.S. District Judge Susie Morgan says the case can be reopened if the settlement is not made final in 60 days.

A call to Edwards' office seeking information on current policies regarding transgender inmates was not immediately returned Friday.