A sheriff’s deputy and an inmate were shot Monday outside the Jackson County, Ga., courthouse after the deputy began transporting prisoners back to the jail following a court appearance.

Though constrained by chains and leg irons, the inmate took the deputy’s gun and shot him, then took control of the van before he was shot by other deputies about 4:30 p.m., Sheriff Stan Evans said.