The Tel Aviv District Court convicted three terrorists Monday for their role in the deadly Sarona market shooting in June 2016 that left four dead.

Mohammed Hamahara, Khaled Hamamra, and Yunis Zin, all residents of Yatta in the South Hevron Hills, were found guilty of four counts of murder.

The attack killed Ido Ben-Ari of Ramat Gan, Ben Gurion University professor Michael Feige, 58; and 32-year-old Mila Mishaev of Rishon Letzion. Ilana Naveh, 39, of Tel Aviv, fell and lost consciousness, and was pronounced dead upon arriving at the hospital.

The trial hinged on two issues: whether Naveh's death could be attributed to the shooting and whether to charge Yunis Zin with murder or assisting in a murder as he did not take part in the shooting itself.

"The terrorists rose from their seat in the Max Brenner coffee shop, brought out weapons and began firing indiscriminately at civilians," Justice Sarah Dotan ruled in the verdict.

The three justices unanimously held that the terrorists were also responsible for the death of Ilana Naveh, and therefore they should be convicted of four murders rather than three.

In addition, two of the judges ruled in a majority opinion that Zin should be convicted of murder and not the lesser charge of assisting in a murder.

The terrorists had dressed up in suits in order to fit in at the upscale Max Brenner restaurant in Sarona and opened fire. One terrorist involved in the attack was shot by a security guard and neutralized shortly after the attack. A second terrorist was later found and captured.