FILE – In this Aug. 15, 2014 file photo, New York City real estate heir Robert Durst leaves a Houston courtroom. Durst was arrested in New Orleans on an extradition warrant to Los Angeles on Saturday, March 14, 2015. (AP Photo/Pat Sullivan, File)

NEW ORLEANS >>Officials say troubled real estate heir Robert Durst has been moved to a state prison with a mental health unit because he’s considered a suicide risk.

Durst is in custody on gun charges while awaiting a transfer to Los Angeles to face murder charges in Susan Berman’s death.

A city magistrate had ordered that Durst remain in the New Orleans jail. But the Orleans Parish Sheriff’s Office appealed that order, and Louisiana’s 4th Circuit Court of Appeal ruled Tuesday night in favor of the sheriff.

The sheriff’s office says he moved that night to Elayn Hunt Correctional Center in St. Gabriel, about 70 miles from New Orleans.

The circuit court says the sheriff has sole authority to decide where to house inmates needing mental health treatment.