JERUSALEM — Two Palestinian assailants stabbed two Israeli Jews, one fatally, near a normally bustling entrance to the Old City of Jerusalem on Wednesday, and were shot by Israeli border police officers at the scene, the police said.

One of the assailants was killed on the spot; the other died later of his wounds, according to the police.

A third Israeli civilian, identified in the Israeli news media as Ofer Ben-Ari, 46, was taken to a hospital with a gunshot wound and died hours later. The police said he appeared to have been hit by police fire during the attack.

The Israeli who was fatally stabbed was not immediately identified, but an official at the hospital where he died said he was a 45-year-old father of seven.