JERUSALEM — The car crawled slowly through the streets of Har Nof, a loudspeaker on its roof, broadcasting psalms and announcing the funeral at 2 p.m. of Rabbi Moshe Twersky, one of four Jewish men killed at prayer on Tuesday morning when two Palestinians armed with a gun and butcher knives stormed a neighborhood synagogue complex.

The death toll rose to five late Tuesday when a traffic police officer, Zidan Saif, 30, from a Druse village in northern Israel, died at a hospital after being wounded in a shootout with the assailants on the steps of the synagogue. The officer was married and the father of a 4-month-old girl.

Rabbi Twersky, 59, a native of Boston, was the most prominent of the victims, as a teacher at the Toras Moshe yeshiva in Jerusalem, which caters to English-speaking Torah students, and the scion of a celebrated Hasidic dynasty.

He and the other three worshipers killed in the attack — Rabbi Kalman Zeev Levine, 55, and Aryeh Kupinsky, 43, who were both dual Israeli-United States citizens, and Rabbi Avraham Shmuel Goldberg, 68, who came to Israel from England — all lived on Rabbi Shimon Agassi Street, the site of the neighborhood synagogue, Kehilat Bnei Torah.