to serve as a military leader during war for freedom
to perform priestly sacrificial functions
to govern during the following period of freedom
to act as a prophet or spokesman for God
the principal functions of a judge is : To govern during the following period of freedom
Even in a period of freedom, conflicts will always happen between one citizen and another. When that happen, the judge will oversee that conflict and determine the best possible resolution to solve the conflict