The Palestinian gunman who allegedly opened fire at a military post near the settlement of Ofra has been shot, a military source says.
The man was chased by troops in a nearby Palestinian town after fleeing the scene. Images circulated online show the man lying on the ground next to a hunting rifle.
The alleged gunman was named by Palestinian media as Mojahed al-Najjar, formerly jailed by Israel.
Earlier, the IDF said troops were searching the area for suspects.