Immediately after the police arrived, Captain David Shapira, a graduate of the yeshiva and an officer in the Israel Defense Forces who lived nearby but was not on duty at the time, arrived at the scene with his M-16 rifle, while Yitzhak Dadon, a yeshiva student who had a gun, positioned himself on the roof of a nearby building. The police officer in the courtyard warned Shapira not to enter, but Shapira ignored him, and entered the building near the library door and positioned himself in a nearby corridor. Sixteen minutes after the shooting began, Dhein emerged from the library, and Dadon and Shapira opened fire, killing him.[12][13]