An Israeli soldier was stabbed and moderately injured in the West Bank city of Hebron on Thursday morning.

Two attackers were shot dead by security forces, according to the army.

The wounded soldier was taken to a Jerusalem hospital for treatment, where his condition improved from moderate to fair, a hospital official said.

The Magen David Adom emergency service said the soldier was stable and had not lost consciousness in the immediate aftermath of the attack. He sustained injuries to his upper body, a medic said.

“We saw a young man in his 20s, who was fully conscious and walking around. He suffered stab wounds to the shoulder and arm,” MDA paramedic Zaki Yahav said.

His identity was not immediately cleared for publication.

The incident took place in the Tel Rumeida neighborhood, a tiny enclave of Jewish homes in the majority Palestinian city.

Hebron has seen a high number of Palestinian attacks on soldiers and civilians amid spiraling tensions in the divided city.

Yet the incident marked the first attack since Saturday, breaking a rare calm spell amid a wave of violence in the West Bank and Israel that has raged for nearly half a year.

On Saturday, a Palestinian teenager stabbed and wounded a 20-year-old Border Police officer in Hebron. He was shot dead by another policeman at the scene.

Trailer homes in the Tel Rumeida neighborhood of Hebron on November 19 2007. (Nati Shohat/Flash90)

Trailer homes in the Tel Rumeida neighborhood of Hebron on November 19 2007. (Nati Shohat/Flash90)

The attack came as Jews in the city celebrated the Jewish holiday of Purim, normally a time of merriment, but also the Jewish anniversary of a 1994 attack in which settler Baruch Goldstein opened fire on Muslim worshipers in the city’s Tomb of Patriarchs shrine, killing 29.

In the nearly six months of Palestinian terrorism and violence since October, 29 Israelis and four foreign nationals have been killed. Nearly 190 Palestinians have also been killed, some two-thirds of them while attacking Israelis, and the rest during clashes with troops, according to the Israeli army.

Israel closed off the West Bank from Wednesday to Saturday as a preventative measure against attacks during the Jewish holiday of Purim, the IDF announced on Tuesday.

The closure began at 1:00 a.m. on Wednesday and is expected to end at 11:59 p.m. on Saturday, the army said.

Entering and exiting the West Bank will be forbidden for Palestinians during those three days, with the exception of “humanitarian, medical and exceptional cases,” according to an IDF statement.