Deuteronomy 17:8–9
Legal Decisions by Priests and Judges
8 “If any case arises requiring decision between one kind of homicide and another, one kind of legal right and another, or one kind of assault and another, any case within your towns that is too difficult for you, then you shall arise and go up to the place that the Lord your God will choose. 9 And you shall come to the Levitical tpriests and to the judge who is in office in those days, and you shall consult them, and they shall declare to you the decision.
2 Chronicles 19:8
8 Moreover, in Jerusalem Jehoshaphat appointed certain Levites and priests and heads of families of Israel, to give rjudgment for the Lord and to decide disputed cases. They had their seat at Jerusalem.