Story highlights The victim was mistaken for a terrorist during attack in Beersheva last year

He was shot by a security guard, then attacked

The incident triggered shock and soul-searching in Israel

Jerusalem (CNN) Four Israelis, including an Israel Defense Forces soldier, have been charged in connection with the lynching of an Eritrean migrant who was mistaken for a terrorist during an attack in October.

Haftom Zarhum, a 29-year-old Eritrean who worked at the Beersheva central bus station, was shot by a security guard, then set upon by an angry mob who wrongly believed he had just shot a soldier at the scene.

Zarhum later died of his injuries, according to Israel's Southern District Attorney's office.

Video of the incident, which showed people angrily kicking Zarhum in the head and body and slamming him with a bench, was broadcast on television, sending shock waves through Israeli society.

The district attorney's office said in a statement that four people had been charged with causing grave bodily harm for their roles in last year's assault, which it described as a "lynching."