The settlement of a lawsuit filed by a transgender woman who had been incarcerated in a Western New York county jail could serve as a model for all of New York state, attorneys from the New York Civil Liberties Union and the Transgender Legal Defense & Education Fund said.

The agreement, which was announced Wednesday, addresses housing placement, safety, access to medical care, name and pronoun use, search procedures and grooming standards for transgender, gender nonconforming, nonbinary and intersex people in the custody of the Steuben County Sheriff’s Office.