Now according to the ordinance of his father David, he appointed the divisions of the priests for their service, and the Levites for their duties of praise and ministering before the priests according to the daily rule, and the gatekeepers by their divisions at every gate; for David the man of God had so commanded.
"Blessed be the LORD your God who delighted in you, setting you on His throne as king for the LORD your God; because your God loved Israel establishing them forever, therefore He made you king over them, to do justice and righteousness."
In Jerusalem also Jehoshaphat appointed some of the Levites and priests, and some of the heads of the fathers' households of Israel, for the judgment of the LORD and to judge disputes among the inhabitants of Jerusalem.
"Whenever any dispute comes to you from your brethren who live in their cities, between blood and blood, between law and commandment, statutes and ordinances, you shall warn them so that they may not be guilty before the LORD , and wrath may not come on you and your brethren. Thus you shall do and you will not be guilty.
and I will not again remove the foot of Israel from the land which I have appointed for your fathers, if only they will observe to do all that I have commanded them according to all the law, the statutes and the ordinances given through Moses."