The police said that the officer was killed by unknown gunmen near a secondary school in the Roseneath area.