The term magistrate is used in a variety of systems of governments and laws to refer to a civilian officer who administers the law. From Wikipedia
The state government has reassigned key officials, including district magistrates in 11 districts, to align administrative roles with governance priorities.