The state Supreme Court allowed a transgender former prison inmate on Wednesday to proceed with a lawsuit accusing prison guards of failing to protect her from being raped and beaten by her cellmates.

In her suit, Alexis Giraldo said she was being held at Folsom State Prison for shoplifting and a parole violation in January 2006 when a cellmate began assaulting and raping her on a daily basis. She said prison staff ignored her complaints until March 2006, when she was transferred to segregated housing after a second cellmate attacked her with a box-cutter. She was paroled in July 2007.