SACRAMENTO (AP) — A federal judge has ordered California’s corrections department to provide a transsexual inmate with sex-change surgery, the first time such an operation has been ordered in California.

U.S. District Court Judge Jon Tigar in San Francisco ruled Thursday that denying sex-reassignment surgery to 51-year-old Michelle-Lael Norsworthy violates her constitutional rights. Her birth name is Jeffrey Bryan Norsworthy.

READ MORE: Dodgers' Justin Turner And Wife Renovate Boyle Heights Boys And Girls Club

The ruling says it would be the second time nationwide that such a surgery has been performed on an inmate, an apparent reference to an inmate who castrated himself in Texas then was given the surgery out of necessity.

READ MORE: Police Announce 14 Arrests In 11 Robberies But No Suspects Remain In Custody

Corrections officials say they are considering whether to appeal the ruling.

A spokeswoman for the federal receiver who controls California prison medical care says the surgery could cost taxpayers nearly $100,000.

MORE NEWS: Second Of Two Horses Injured During Race At Los Alamitos Dies

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)