Police say a knife-wielding suspect who stabbed a student at the Chabad-Lubavitch Hasidic world headquarters in Crown Heights, Brooklyn was shot and killed by an officer on Dec. 9, 2014. (credit: CBS2)

NEW YORK (CBSNewYork) — Men outside of Bellevue Hospital recited the words of Psalm 20 ‘may the lord answer you on the day of distress,’ as they prayed for the full recovery of stabbing victim Levi Rosenblatt on Tuesday night.

A man wielding a knife who stabbed Rosenblatt, an Israeli student, inside a Brooklyn synagogue was fatally shot by police early Tuesday morning when he refused to drop the knife, police said.

It happened around 1:40 a.m. at the Chabad-Lubavitch Hasidic world headquarters in Crown Heights. Part of the incident was caught on cellphone video.

LINK: (Warning Graphic Content) Watch The Full Video

Police identified Calvin Peters, 49, as the man who stabbed the 22-year-old Rosenblatt.

Rosenblatt had been studying inside the synagogue when he was attacked, Motti Seligson said.

“I see his whole side of his face all stabbed up and bloody,” one witness told 1010 WINS’ Roger Stern. “He was screaming for help, and I told him to calm down.”

Police responded to the scene after a witness flagged down a patrol officer.

As CBS2’s Tony Aiello reported, Officer Timothy Donohue was the first one on the scene.

In video of the incident posted online, Peters can be seen holding a knife in his right hand while surrounded by bystanders and officers with weapons drawn.