What is the main responsibility of the chief magistrate? Explain in one simple sentence

The main responsibility of the chief magistrate is to oversee and ensure the fair and just administration of the law.

The main responsibility of the chief magistrate is to oversee and administer justice in a fair and impartial manner.

The main responsibility of the chief magistrate is to oversee and administer the legal proceedings within a specific jurisdiction.