A Palestinian gunman killed one person and wounded four others when he opened fire on a doorstep in Jerusalem, Israeli police said on Sunday.
It was the second fatal incident in the historic Old City of Jerusalem in recent days.
The "shooting" left an Israeli citizen dead and two injured, a police spokesman said, adding that two police officers were also slightly injured.
The 42-year-old gunman was shot dead by police, a police spokesman said. They added that a knife and a weapon were found at the scene of the attack.
Describing the attack as a "heroic act," the Hamas terrorist group said in a statement that the gunman was one of their members.
The incident took place near the entrance of a disputed shrine known to the Jews as Temple Mount and Muslims as the Noble Sanctuary. It is considered sacred in both religions.
The Israeli Prime Minister, Naphtali Bennett, expressed support for the victims at the start of the weekly Cabinet meeting and said he had instructed the country's security forces to be vigilant to prevent similar attacks.
Sunday's incident was the second such incident in the ancient city of Jerusalem in recent days. On Wednesday, a Palestinian teenager was shot dead after stabbing two Israeli border police officers.
Police were taken to hospital and the teenager, identified as a 16-year-old East Jerusalem, was pronounced dead at the scene.
However, shootings around the Old City of Jerusalem and its sanctuaries are rare, and Israel maintains considerable security in the area.
The Palestinian people have however carried out a series of stabbings, shootings and carjackings targeted at Israeli civilians and security forces in recent years.
Israel conquered eastern Jerusalem, including the Old City and its Christian sanctuaries, Muslims and Jews, as well as the West Bank and Gaza Strip in the 1967 Mideast war. It later took east of Jerusalem a step that was unknown to most of the international community.
Palestinians want the West Bank and Gaza invaded by an independent state, east of Jerusalem as its capital.
Lawahez Jabari reported from Jerusalem, Paul Goldman from Tel Aviv, Juliya Talmazan from London.