Officer in shooting wanted to ‘serve community’