Magistrate

a public civil officer involved with legal determination or under the purview of one of the three branches of government