HUNTSVILLE (AP) — A Texas prison guard is charged with assaulting an inmate who later died from his injuries.

The Texas Department of Criminal Justice said Tuesday that D’Andre Glasper, who resigned from the job, has been charged with aggravated assault by a public servant.

Authorities say Glasper injured inmate Gary Ryan during an August 30 confrontation in the showers of the Estelle Unit in Huntsville. Ryan hit his head on the shower floor. The prisoner was taken to a Houston hospital, where he died on September 12.

The department’s Office of the Inspector General said the inmate had spit on Glasper earlier on August 30 and that the guard was told to stay away from the prisoner.

The 22-year-old Glasper is free on a $50,000 bond. Court records didn’t list an attorney for him.

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