Compound of 治安 (chian, “peace”) + 判事 (hanji, “judge”). Possibly Calque of English justice of the peace.
治(ち)安(あん)判(はん)事(じ) • (chian hanji)