IDF troops shot a Palestinian man who attempted to stab them outside an army base in the northern West Bank on Tuesday, the military said.
No Israelis were reported injured in the attack.
The assailant was in serious-to-critical condition. He received treatment on the scene from IDF medics before being taken to Petah Tikva's Beilinson Hospital for further treatment, a hospital spokesperson said.
The incident occurred at a bus stop outside the headquarters of the army's Samaria Regional Brigade, near the Hawara Junction outside Nablus.
An IDF spokesperson said the suspect "took out a knife and ran at the troops."
According to the army, the soldiers were in immediate danger and thus opened fire at their would-be attacker.
The spokesperson said the soldiers followed the "standard" rules of engagement for such an incident.
The Palestinian assailant has yet to be identified.