Daniel Anthony Ortiz, 63, died Wednesday night at a San Antonio hospital, according to the Bexar County Sheriff's Office. He was pronounced dead at 11:12 p.m. after being taken off life support, in line with his family's wishes. He had been hospitalized for nearly six weeks while awaiting transfer to a state prison.

Authorities believe Ortiz died from alcohol-related cirrhosis and other underlying medical conditions, the Sheriff's Office said. The medical examiner will determine the official cause of death. Ortiz was booked into the Bexar County Jail on July 17 and hospitalized on Oct. 21. He had been sentenced to two years in state prison, and was waiting to be transferred to the Texas Department of Criminal Justice because of his medical condition.

The Castle Hills Police Department is leading an independent investigation under the Sandra Bland Act. The Sheriff's Office Internal Affairs Unit and Public Integrity Unit are conducting a separate administrative review as standard procedure. The Sheriff's Office said preliminary findings indicate all policies and procedures were followed. Authorities have not released details about the offense for which Ortiz was serving his sentence.