An inmate at a Kern County prison died Thursday after being shot earlier this week by guards trying to break up a fight, corrections authorities said.

The inmate, Timothy Calnan, was shot Monday after he and another inmate attacked a third inmate in a maximum-security yard at Kern Valley State Prison in Delano, officials said. Calnan died in a hospital.