"and preventing what looked like to be an inevitable killing spree."