The body of terrorist Ahmad Mahameed, an Israeli Arab resident of the city of Umm al-Fahm who tried to stab a policeman in the Old City of Jerusalem on Friday, was transferred to his family on Monday night.

Dozens of the city's residents attended his funeral, which took place shortly after his body was returned.

Mahameed, 31, approached several police officers near the Temple Mount on Friday afternoon. He tried to stab one of them with a knife before being shot dead by the officers who were at the scene.

No one was physically injured, but Magen David Adom paramedics treated two women for emotional trauma.

Mahameed’s family, as well as the city of Umm al-Fahm, later claimed he was mentally ill and should not have been killed.

The police said, however, that the shooting of the terrorist was justified and necessary.

"No one can expect the policemen to know that a terrorist who attacks them with a knife is mentally ill," a senior police official said. In addition, the findings of the investigation revealed that the policemen's response was quick and appropriate and that they prevented deaths with their reaction.

Defense Minister Avigdor Liberman also rejected the claims on Sunday, saying, "I expect the Umm al-Fahm municipality to do some soul-searching – this is preaching and crocodile tears. When a stabber is charging you, you have a few seconds to think and make a decision. Is the policeman supposed to know the terrorist's life-story?"

Terrorist's funeral in Umm al-Fahm
Terrorist's funeral in Umm al-Fahm Photo: Yahya Jabarin/TPS