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

The main responsibility of the chief magistrate is to administer justice and uphold the law.

The main responsibility of the chief magistrate is to uphold and enforce the laws of the jurisdiction they preside over.

The main responsibility of the chief magistrate is to preside over the judiciary and ensure the fair and impartial administration of justice.