According to Israeli police, a 13-year-old Palestinian boy was responsible for a shooting in Jerusalem on Saturday.
Two people were seriously injured: an Israeli father and son. Passers-by shot and injured the attacker, who is being treated in a hospital.
It came after seven people were killed and at least three others were injured in a shooting at an East Jerusalem synagogue on Friday.
42 people have been arrested in connection with the attack, according to police.
Israeli Prime Minister Benjamin Netanyahu promised a “strong, swift, and precise” response to the attacks.
Mr Netanyahu called for calm ahead of a meeting of his security cabinet and urged citizens to allow security forces to carry out their duties. He also thanked several world leaders for their help, including US Vice President Joe Biden.
According to an Israeli police spokesperson, the assailant ambushed five people on their way to prayers on Saturday in the Silwan neighborhood just outside Jerusalem’s Old City, leaving two in critical condition.
“This is a significant increase in terror,” Dean Elsdunne said, adding that the “terrorist” was being treated in a hospital.
In response to the two attacks, authorities have positioned officers from a counter-terrorism unit “permanently” in the Jerusalem area to “promptly respond to exceptional events whenever necessary”.
Local media identified the man who attacked the synagogue on Friday as a Palestinian from East Jerusalem.
Speaking at the scene of the attack on Friday, Israeli police commissioner Kobi Shabtai called it “one of the worst attacks we have encountered in recent years”.
Israeli worshippers had gathered for prayers at the start of the Jewish Sabbath in the city’s Neve Yaakov neighborhood and were about to leave when the gunman opened fire at around 20:15 local time (18:15 GMT).
Officers then shot him dead, according to police.