Despite being wounded the attacker managed to detonate his explosives killing four people -- two police officers , one of Khan 's security guards and his friend , a bank manager , who was at the celebration .