Joshua 24:1 describes five levels of government in ancient Israel:

1) THE Judge (Joshua)
2) Elders (70 or 12?)
3) Clan or Tribal Patriarchs
4) Judges (for each city & town)
5) Officers (militia commanders in each city & town)

The priesthood is curiously missing. Perhaps because it is a parallel government without direct authority except at the Temple and at the highest court of appeals.