A transgender girl detained without criminal charges for two months at an adult women’s prison in Connecticut has been moved to a psychiatric center for children following an outcry by her supporters.

Department of Children and Families Commissioner Joette Katz says the teenage girl was moved Tuesday to the Solnit Children’s Psychiatric Center, a DCF-run facility in Middletown. The girl had been detained at the York Correctional Institution in Niantic since April.