JERUSALEM - A man who stabbed and lightly wounded an Israeli soldier on Sunday in the southern city of Ashkelon before being shot was a Sudanese national who has since died of his wounds, police said.

Police initially said the incident near a bus station was suspected to be part of a wave of Palestinian knife, gun and car-ramming attacks that erupted in October. The motive for the stabbing is now unclear.

The incident saw the Sudanese man, said to be in his 20s, stab the soldier and flee, according to police. Another soldier in the area grabbed the wounded soldier's gun and chased the Sudanese man before shooting him. A witness told Israeli public radio the soldier shot three times at the Sudanese man, but he continued to run. He then fired three more times, according to the witness.

A wave of violence that erupted in October has claimed the lives of 165 Palestinians, 26 Israelis, an American and an Eritrean. Most of the Palestinians were killed carrying out attacks, while others died during clashes and demonstrations. Foreign nationals have not previously participated in such attacks.

A large number of illegal immigrants have arrived in Israel from Sudan through Egypt's Sinai Peninsula, though the status of the person killed Sunday was not clear.

Official figures show 45,000 illegal immigrants are in Israel, almost all from Eritrea and Sudan. About two-thirds are Eritrean. In October, an Eritrean migrant worker who was mistaken for an Arab attacker died after he was shot and brutally beaten at a bus station in the southern city of Beersheba.

Meanwhile, suspected arsonists in the West Bank have burned a tent that served as a synagogue dedicated to three Israeli teenagers killed by Palestinians, provoking an angry reaction from Prime Minister Benjamin Netanyahu.

The tent near the Karmei Tzur settlement in the south of the occupied Palestinian territory burned on Saturday, causing no injuries but leaving Jewish religious books damaged and destroyed, police said.

Israeli media reported that police suspected residents of the nearby Palestinian town of Halhul.

Netanyahu alleged on his Facebook page that the synagogue "was set on fire by Palestinians".

"We will prosecute the perpetrators of this crime. I expect the international community to condemn the desecration of a synagogue, an act that is the result of incessant Palestinian incitement."

The synagogue was dedicated to Naftali Frenkel, Gilad Shaer and Eyal Yifrach, who were abducted from a hitchhiking stop near the flashpoint West Bank city of Hebron in 2014 and later killed. Their bodies were discovered in the area.

A few weeks after their kidnapping, 16-year-old Palestinian Mohammed Abu Khdeir was abducted and burned alive in a revenge plot by three Israelis.

Two of them - who were 16 at the time of the killing - were sentenced on Thursday, with one receiving a life term and the other 21 years.

The incidents were part of a spiral of violence that led up to the 2014 Gaza war.