Authorities on Thursday charged a Utah inmate with murder in the shooting death of a prison guard who tried to stop him from escaping during a medical appointment.

Curtis Allgier was charged with nine offenses, including aggravated murder in the death of Department of Corrections officer Stephen Anderson.

Anderson, 60, was shot in the head and the chest with his own gun Monday while trying to stop Allgier during a medical appointment at a University of Utah clinic, police said.

Allgier eventually fled to an Arby's restaurant, where a customer disarmed him and police captured him.

Salt Lake County District Attorney Lohra Miller said she would seek the death penalty against Allgier if he is convicted.