Deuteronomy 1:15
15 So I took the heads of your tribes, wise and experienced men, and set them as heads over you, gcommanders of thousands, commanders of hundreds, commanders of fifties, commanders of tens, and officers, throughout your tribes.
Deuteronomy 1:16
16 And I charged your judges at that time, ‘Hear the cases between your brothers, and judge hrighteously between a man and his brother or the alien who is with him.