A Palestinian gunman has killed three Israelis and wounded a fourth at the Jewish settlement of Har Adar in the occupied West Bank, Israeli police have confirmed.
The gunman entered the settlement, which is close to Jerusalem, with a group of Palestinian labourers and opened fire on paramilitary Israeli police guards, Israeli media said.
The gunman was also shot in the incident by Israeli forces. Israeli media are reporting he died at the scene.
A police spokeswoman said the gunman approached Har Adar as part of a group of Palestinians who work at the settlement, and aroused the suspicion of private guards and paramilitary Israeli police posted at the entrance checkpoint.
Challenged to halt, the Palestinian "opened his shirt, drew a pistol and fired at the security staff and troopers at close range", the spokeswoman said.
She said the slain gunman, from the nearby Palestinian village of Beit Suriq, had an Israeli work permit.
The militant Islamist group Hamas that runs Gaza welcomed the attack.
Hamas spokesman Hazzam Qassam appeared on the militant group's affiliated TV channel Al Aqsa Television, where he said the attack was "a new chapter in the Al-Quds intifada that proved all attempt to judaize the city will not change the fact that Jerusalem is an Arab and Islamic city, whose residents and tourists will redeem in blood or life".