The justice system develops as the division of labor progresses, much like the military (and every branch of the economy). Specifically, it depends on the accumulation of capital, the same development that makes investment and economic growth possible, but also brings about economic inequality. Hunters’ livelihood is organized around labor, while herders’ depends on property (their livestock), so it’s little surprise that herders have more unequal societies with more robust systems of justice. But these justice systems still do not need to be professionalized, with lawyers and justices in charge. Rather, the existing social hierarchy simply resolves disputes, in addition to governing society.