The correct answer is justice of the peace
These are judges who work in smaller courts in smaller counties whose job is to keep the area peaceful and they are appointed through commission. They exist in various country and in the United States some of the states still have this position in their court system while some have completely removed it as a job and focus on higher courts.