The King's Magistrate was very similar to a Justice of the Peace on Old Earth.

Any citizen of Charis had to be charged with some specific offense before a King's Magistrate before he could be imprisoned, even on suspicion, by the secular authorities. And he had to be convicted of that offense before the King's Bench before he could be kept there. (OAR)