Section 2(17)(f) in The Code of Civil Procedure, 1908
(f)every officer of the Government whose duty it is, as such officer, to prevent offences, to give information of offences, to bring offenders to justice, or to protect the public health, safety or convenience;