An Israeli soldier was stabbed in an attack by a Palestinian assailant near the Jewish settlement of Yitzhar in the northern West Bank.

The stabber was shot and killed by the injured soldier at the scene of the attack on Wednesday afternoon.

Prior to the stabbing, rocks were thrown at several Israeli soldiers from a passing car. The soldiers forced the car off the road, and then faced the stabber, who exited the vehicle.

The soldier was evacuated from the scene for medical treatment, according to the Israel Defense Forces.

The IDF is investigating the attack. (JTA)