Two ultra-Orthodox men were wounded Saturday morning in a stabbing attack in central Jerusalem, police and medical officials said, the latest in a wave of attacks spreading fear among residents.

Police said the perpetrator of the attack, a Palestinian teenager from East Jerusalem, was shot and killed by officers who rushed to the scene. Officials said the attacker was around 16 years old.

The two victims, aged 62 and 65, were on their way back from morning prayers at a local synagogue when they were attacked.

Magen David Adom medics said the two were both on their feet, “conscious and in stable condition,” when they arrived. One suffered light injuries and the other moderate. The two were evacuated to the city’s Shaare Zedek medical center.

The attack took place in Hanevi’im Street, located outside the walls of Jerusalem’s Old City.

Police said officers who ran to the scene “saw two Jewish men with stab wounds to their upper bodies. The policemen saw the terrorist with a knife in his hand and called on him to halt. The terrorist ran towards them with his weapon and the two cocked their weapons, fired at him and neutralized him.”

The attacker was identified as Ishak Badran of Kafr Aqab in East Jerusalem.

Israeli security forces use specially trained dogs to search the area where a Palestinian man carried out a stabbing attack near the old city of Jerusalem on October 10, 2015 (Ahmad Gharabli/AFP)

Israeli security forces use specially trained dogs to search the area where a Palestinian man carried out a stabbing attack near the Old City of Jerusalem on October 10, 2015 (Ahmad Gharabli/AFP)

Jerusalem Police chief Moshe Edri praised the officers’ actions, and warned that anyone attacking civilians faced a similar fate.

“Policemen carried out their duties and arrived quickly. The terrorist was killed in under 90 seconds. Anyone who stabs Jews or hurts innocents — his due is to be killed,” Edri said.

Pictures on twitter purported to show the teen assailant during the moments of the attack.

Following the attack, dozens of Arab protesters clashed with police near the Damascus Gate, with some throwing rocks at law enforcement officials. Police responded with non-lethal means, and Walla reported that an Israeli reporter was lightly injured by a rubber bullet.

The incident was the 13th stabbing attack by Palestinians and Arab Israelis targeting Israelis and Jews in the past eight days.

Also Saturday, an Israeli woman said gunmen fired at her as she drove near the settlement of Karnei Shomron in the northern West Bank. She was unhurt, and security forces were searching the area.

In Hebron dozens of protesters burned tires and hurled firebombs after the funeral of a terrorist who stabbed and injured a policeman in Kiryat Arba on Friday. Israeli soldiers were at the scene.

Police arrested 5 Palestinians who hurled rocks and lit firecrackers in East Jerusalem. They were taken for questioning. Two Arabs were detained near Baqa al-Gharbiya in central Israel on suspicion of throwing rocks at cars on Route 6.

Earlier in the day a Palestinian seriously wounded during clashes with Israeli Border Police in East Jerusalem died of his wounds, police and Palestinian medical sources said. Police said he was shot after opening fire at Border Police late on Friday night.

Rioting was reported overnight in Umm al-Fahm, near Haifa, with protesters throwing rocks and firebombs at security forces. Authorities responded with riot-control means and prevented the demonstrators from blocking Route 65, which passes through the town.

In the Gaza Strip dozens of Palestinians protested and burned tires near the Erez Crossing Saturday morning after a rocket was fired into Israel overnight. A seventh Palestinian died of wounds sustained during Friday’s border clash, in which 19 others were hurt.

Saturday’s stabbing was the latest in a spate of attacks against Israelis in recent days.

On Friday, two Israelis were lightly injured in separate stabbing attacks in Jerusalem and the West Bank settlement of Kiryat Arba. In Afula, an Arab woman from Nazareth was shot and wounded after she tried to stab a security guard at the central bus station in the northern city. Also Friday, an Israeli teenager stabbed and wounded four Arabs in an apparent revenge attack in Dimona.

On Thursday seven Israelis were injured in four stabbing incidents, including attacks in Tel Aviv, Jerusalem and Kiryat Arba. On Wednesday, Israelis were hurt in three stabbings.

Those attacks came days after two Israeli men were stabbed to death in the Old City of Jerusalem and an Israeli couple were gunned down in the West Bank in front of their four children.

The wave of attacks started in Jerusalem weeks ago over what Israel says are unfounded Palestinian rumors that Israel was expanding its presence at the Temple Mount and the al-Aqsa mosque located within, a sensitive holy site sacred to both Muslims And Jews. They have since spread to the rest on the country.

AP contributed to this report.