An attempted stabbing attack was thwarted near the Israeli settlement of Kedumim in the northern West Bank on Wednesday, according to the Israeli army.

The terrorist arrived at a military post at Ma'ale Nehemiah carrying a knife and tried to stab a soldier before being shot by Israeli forces, the military said. 

Security video footage shows the Palestinian attacker -- identified as 42-year-old Yusef Ma'ali from a village near the West Bank city of Ramallah. The video shows the terrorist exiting his vehicle with a knife and running toward a soldier who fires at him. The terrorist drops to the ground, only to get up and continue chasing before being shot dead.