The officer was trying to break up a fight between two boys when one of them punched him, a press release said.