A public servant gets defined under the Indian Penal Code as a government employee, officer in military, navy or air force, police, judge, officers of Court of Justice or any other local authority established under the state or central legislation.