The Palestinian assailant and police officer sustained moderate injuries
A Palestinian man has stabbed and killed an elderly Israeli civilian in a Jewish settlement to the south of Jerusalem, Israeli police have said.
The attack took place after two police officers stopped the Palestinian in Gilo to ask for his identity papers.
The man stabbed and injured one of the officers, who managed to shoot back.
The wounded attacker then grabbed an 86-year-old passer-by and stabbed him before being overpowered. The civilian later died of his injuries in hospital.
The Magen David ambulance service said the Palestinian assailant and the police officer had both sustained "moderate" injuries.
One witness, Yoav Mizrahi, said he and a local municipal official had helped capture the attacker after the stabbing.
"I arrived with my car and saw an Arab man on the street fighting with the policeman. I stopped the car, when suddenly the guy pulled out a knife and began stabbing the policeman, who tried to defend himself," he told the Yedioth Ahronoth newspaper.
"The officer fell down, got up and fired at the fleeing terrorist before collapsing on the ground. While escaping, the Arab stabbed an elderly man walking across from him and that man collapsed."
"I ran after him and yelled at him to stop in Arabic. About 150m later, I caught him from behind, dropped him to the ground and held on to him together with an inspector until the security forces arrived."
There has been no immediate claim of responsibility for what the Israeli authorities called a "terror incident".
Gilo is on land in the West Bank captured by Israel in 1967, and has been a target for attacks by Palestinian militants in the past.
Since 1967 the Israeli authorities have extended the municipal boundaries of Jerusalem to include the territory on which Gilo and other neighbourhoods were built for Jewish Israelis.
A number of attacks have been carried out in Jerusalem since July by Palestinians who live on the west, or Israeli-controlled, side of the extensive barrier system Israel has built around autonomous Palestinian areas.