A policeman wounded by gunfire in Tuesday's terrorist attack on a Jerusalem synagogue has died, bringing the death toll to five.
The other victims were rabbis with dual citizenship, three Americans and a Briton. Seven other people were wounded.
Two Palestinians armed with guns, knives, and a meat cleaver burst into the synagogue during a prayer service early Tuesday and attacked worshippers.
Police shot the two terrorists to death. The floor of the synagogue was covered with Jewish prayer shawls soaked in pools of blood.
Palestinian President Mahmoud Abbas condemned the attack. But the militant group Hamas celebrated it as another act avenging Israeli occupation of Palestinian land.
Israeli Prime Minister Benjamin Netanyahu ordered police to tear down the homes of the two attackers and speed destruction of houses belonging to those behind earlier terror strikes.
Har Nof, Jerusalem.
The attack occurred in an ultra-orthodox Jewish neighborhood in West Jerusalem with a large number of Western immigrants.
Israeli police spokesman Mickey Rosenfeld said the synagogue was full of people praying when the attackers struck. "Our police officers that arrived at the scene engaged contact with those terrorists and shot and killed the terrorists within moments," Rosenfeld said.
It was the first known shooting at a house of worship in Israel since 1994 when a Jewish settler, American-born physician Baruch Goldstein, opened fire at a shrine venerated by both Muslims and Jews, killing 29 Palestinian worshippers and wounding 125 others.
Watch related video by VOA's Jeff Custer:
Israeli Prime Minister Benjamin Netanyahu in a statement promised to respond harshly and blamed the attack on what he called incitement by the militant Palestinian group Hamas and the head of the Palestinian Authority, Mahmoud Abbas.
Abbas condemned the attack and said he condemns the killing of civilians no matter who is doing it.
President Barack Obama strongly condemned the attack.
"There is and can be no justification for such attacks against innocent civilians," the president said in a statement, adding that the thoughts and prayers of the American people are with the victims and their families.
"At this sensitive moment in Jerusalem, it is all the more important for Israeli and Palestinian leaders and ordinary citizens to work cooperatively together to lower tensions, reject violence and seek a path forward towards peace," Obama said.
The president identified the three Israeli-Americans who died as Aryeh Kupinsky, Cary William Levine and Mosheh Twersky. Israeli authorities identified the British man as Avraham Goldberg.
Earlier Tuesday, Secretary of State John Kerry spoke with Netanyahu by telephone to express his condolences.
Kerry also told reporters in London that the attack was an "act of pure terror" and urged Palestinian leaders to condemn it.
“The Palestinian leadership must condemn this and they must begin to take serious steps to restrain any kind of incitement that comes from their language, from other people's language, and exhibit the kind of leadership that is necessary to put this region on a different path," Kerry said.
He put the responsibility on Palestinian leaders to end the incitement he says has led to such attacks in recent weeks.
Hamas praised the attack, calling it a response to continued Israeli crimes and the desecration of Jerusalem's al-Aqsa mosque.
The mosque sits on the Noble Sanctuary or Temple Mount that is holy to Muslims and Jews.
Violence between Israelis and Palestinians has surged in recent weeks, fueled by rising tension over the site.
Non-Muslims may visit the site but may not pray there, according to an agreement dating to the 1967 Israeli-Arab war. Some nationalist Israelis have been going to the site to pray, causing demonstrations and riots in East Jerusalem.
Five Israelis and one foreigner have been killed in recent weeks by Palestinian attackers using knives and vehicles. More than a dozen Palestinians have been killed in clashes with police.
In the most recent incident, a Palestinian bus driver was found hanged in his bus Sunday night. An official autopsy determined that the death was a suicide, but the victim's family rejected the finding, saying the body showed signs of violence.
Al Pessin contributed to this report from London. Some material for this report came from AP and AFP.