Monday, June 8, 2020

Carl Menger: the trouble with fiat money and fiat law


Carl Menger wrote a famous essay about the origins of money and a less known one about the origins of law. He showed that in both cases the process must have been driven by individuals seeking their own purposes and adapting to each other's actions. That is what we call spontaneous order today. Menger also mentioned the case of cities, most of which must have started spontaneously by a small number of artisans, like blacksmiths and carpenters, settling on a place where they could provide their services to peasants living in the surrounding area. Then small merchants joined them, and so on. Certainly some cities may have been created by royal command, by it is unrealistic to assume that every village and city started with a decree. For all we know, spontaneous order must have been the origin of cities, of money, and of law.
What I want to point out here is that Menger's ideas are relevant not only concerning the origins of money and law, but also about the way they work today. After all, we cannot assume that the motives that led men to use indirect means of exchange (money) to achieve their individual purposes have ceased to work. The same applies to law, as we cannot conceive that men no longer see the advantages of keeping one's word or that they have become blind about the dangers of letting criminals roam free.
Unfortunately Menger's pioneering work on spontaneous order has been overshadowed by Friedrich Hayek's better known contributions on the subject. Nevertheless, they complement each other. Menger dealt with the origins of money, cities, and law in appendixes to his book “Investigations into the Methods of the Social Sciences and Economics”. He limited his remarks to origins because he was interested in dispelling the notion, popular among German economists, according to which a national spirit was responsible for the creation and development of law and the economy. Menger argued that such explanation was both insufficient and wrong.
It was insufficient because it failed to say where that mythical collective spirit peculiar to each nation came from. Was it part of the race and transmitted along with the color of the skin and of the eyes? Was it part of a cultural tradition? If so, how did that tradition started? But besides being no explanation at all, said Menger, a collective national spirit was not the working force that created money and law. To counter that widespread opinion, he provided his own explanation. And in doing so, he showed to us the importance of spontaneous order. That he limited his analysis to origins and to primitive times must be understood in the context of his arguments against the German school of economics. But if the motives that created money, law, and many other institutions have not dissapeared, then we should examine what their influence today is.
Nowadays we have fiat money, that is, money that unlike a bar of gold has a value that does not come from people's want for such metal but from a government's decision. Certainly, governments cannot fix money's value at will. With the possible exception of politicians, most people know that the powers of governments in that respect are limited. When governments carelessly print money, they cause inflation, which in turn discourages saving, makes markets less efficient, etc. In short, by ignoring the limits of their powers governments harm the function that money should serve, they impair the advantages for which money was originally created by spontaneous process.

Fiat law
Much has been written about fiat money. But I think that we should make similar observations concerning law. Today we have what we might call “fiat law” which is no longer the result of a spontaneous process but results from decisions taken by governments. As with money, politicians often ignore the reasons that create spontaneous order and thus proceed to undermine law's value. Sometimes they cause it simply by inflating the number of laws in a process that makes each of them less significant, more difficult to understand, and to enforce. When subjects learn that there are always some statute or regulation they are violating, even when they try to be punctilious about their duties, they cease to reprobate legal transgressions.
And it is not only the sheer number of rules issued by governments, including supreme courts and, increasingly, international courts. Certainly, numbers alone create havoc, but there is also the fact that some of these rules multiply the number of rights and entitlements. Then they start to undermine each other's worth. A rule that acknowledges your right to find an occupation or to hire people would be undermined by another rule that makes it a a duty to give preference to individuals of a certain race. Or as in Argentina's Buenos Aires province, a rule that establishes the right the vote for the candidate of one's preference will be modified by the requirement that at least half of a party's candidates must be women. Again in Argentina, a law that recognized people's rights to their own bank accounts in hard currency was later “complemented” by a another law that allowed the government to take those savings and in exchange give bonds in depreciated currency to the savers. Which in turn becomes necessary if government is to be able to satisfy the millions of people who have received generous entitlements by -again- other rules issued by the government.
Spontaneous order creates a framework for action, one in which good and bad must be clearly separated. The straight line isn't always fair but when efforts to improve it make the line too crooked and muddy, law ceases to work. It makes sense to keep one's word while the impulses that give rise to spontaneous order are not thwarted. Nevertheless, in their pursuit of what they call social justice legislators and judges have multiplied the opportunities for going back on one's word. For many decades in Argentina, people who default their debts get the opportunity to argue that the interest rate they promised to pay is too high -a claim that most often than not is seen as fair by judges, who then proceed to fix the interest of loans below that of deposits. By modifying the rate, they make the loan cheaper, indeed cheaper than any loan available in the market. The trouble is that this is an advantage that is given only to people who don't pay their debts. Whereas the reasons that create spontaneous order make trustworthiness a definite asset, laws often make it a heavy burden. When legalized tricks become too many and are allowed to work against spontaneous impulses for too long, one sees -as in Argentina- that people get used to arguing about the terms of their contracts after signing them and not before.

The same forces operate today
Let's think. Is it possible to assume that the impulses that created law are not longer at work today? Menger wrote that men created order, not by collective decision, but in their efforts to better pursue their individual goals. All that is present today and still at work.
Lets take e-commerce. Successful operators in that new field know that being true to their clients is vital, so in order to pursue their entrepreneurial goals they build trust. Enforcement through lawyers and courts -sometimes across national borders- would be cumbersome and expensive for a man who bought a couple of books on Amazon. However, it doesn't matter because wise players know that trust is essential for their business. Hotel managers strive to keep their rooms clean and comfortable for their guests because they know that a bad name would damage their prospects. A lawsuit is not so bad because of the possibility of a sentence to pay damages, but for the effect on the reputation of a company.
Commerce would not survive a single week if it had to rest entirely on the work of lawyers and courts. There are individual impulses that keep order without following any collective purpose; these are the same impulses that Menger described in his article about the origins of law.
Police and courts could not keep crime at bay if the majority of the population would engage in robbery and murder. The delicate mechanisms of constitutions would fail very soon if people were convinced that the rules stamped in them are mere words. South American history bears witness to that.

Weakening spontaneous order
Spontaneous order begins and is kept working because people adapt to each others expectations and actions. Statutes and codes may reinforce that order, but they can also injure it. When government bans competition in an area, the company thus protected can follow its goals without taking into account their customers expectations. If workers know that promotion in their job depends only on seniority, then it is likely that skill and dedication would not flourish in their field. Employers adapt to bad incentives too. If they realize that laws and courts make it very costly to dismiss a worker, then they would hire only the bare minimum of workers.
It is an unfortunate fact that many statutes and court decisions that undermine spontaneous adherence to law don't always show their effect the day after they are enacted. Although confidence in government bonds may be damaged very swiftly by arbitrary rulings, the effects on the levels of crime, on the labor market, on investment have a delay. In family law, the effects may take decades. Confidence and decency may endure for a while, and that makes it more difficult for people to see why they deteriorate.

Why is Menger still relevant today?
In this and two previous articles I have tried to follow the paths Menger opened. Now I want to tell you how I came to the idea of writing them.
When I wrote my criticism of Murphy and Nagel's book “The Myth of Ownership” I found that they repeated once and again the following argument against ownership: “since there are no property rights independent from the tax system, taxes cannot violate those rights” (p. 4).
By that they mean that an individual's creation of wealth cannot be isolated from the services that governments provide, like judges, police, roads, which are paid by taxes. Therefore, they argue, it is absurd to complain against high taxes as if they infringed property rights. Tax law and regulations are part of that legal framework within which wealth is created. Therefore legislators can shape and reshape the meaning of ownership, can tax away most of it, and that shouldn't reasonably give grounds for complaints. Or should it?
The argument has been repeated by other philosophers (Ronald Dworkin, Cass Sunstain) and even by politicians (Elizabeth Warren). As I pointed out in my articles there are many defects in that argument. If consistently applied it would reject as absurd complaints against restrictions on any right, not only property. Censorship? Well, one disseminates ideas within the same legal framework that protects property, so apparently you shouldn't complain if your opinion is suppressed. Or should you?
There are other objections to the argument apart from inconsistency -I pointed them out in my articles on Murphy and Nagel's book. But apart from them, I said to myself: these people should have read Carl Menger. He wrote that law started as spontaneous order, that is, unintentionally created by people who pursued their own goals and adapted to each other's actions. People must have exchanged property on things well before law codes where ever written. It isn't true that there was a tabula rasa, no right to property before legislators and their advisers started to enact statutes and codes. Even today, life as we know and enjoy won't last a single week if it had to rest only on the work of legislators, judges, and law professors
Wherever people are able to enjoy the fruit of their efforts and the peace of their families, wherever law still survives without the constant presence of fear, of policemen, and jails, the same spontaneous order is at work.
That is what decided me to write these articles, trying to follow the lead of the -unfortunately- very short insights provided by the great Carl Menger.

Sunday, March 24, 2019

Carl Menger and Edmund Burke, where do rights come from?


     In a previous article (link) we saw that Carl Menger traced the origin of money, cities, and law back to the action of individuals who pursued their own goals without following any common plan or being ordered about by any central authority. Unintentionally, they created an order that was spontaneous. Certainly, an order that grows out of individual pursuits must include some form of rights over land and other goods, as means to fulfill individual ends.
     Of course, sooner or later chieftains and kings started to issue their rules and impose their own order, which in their case wasn't individual, it was meant for all; it had a common purpose -good or bad. How exactly this process took place in different lands and nations is difficult to ascertain. Nevertheless it is unrealistic to assume that kings and parliaments started issuing commands on a blank slate. An order that they didn't create —with rights and duties— was already in place. So it is not true that, as some assume, every right and duty owns its existence either to the will of legislators or to the musings of sages. Certainly, statutes gave rights new shapes and thinkers inspired changes, but they did it on top of a spontaneous order that neither of them created.
     Unfortunately, both men in positions of power and revolutionaries often fail to see how it is possible that an order that is spontaneous works. The French economist Frederic Bastiat once wrote that people who despise the free market and its price mechanism do not realize how wonderful it is that a big city like Paris is fed without any central plan that tells bakers how much flour to buy and how many loafs of breed to bake —and so with potatoes, onions and thousands of other goods.
     There was at the end of the XVIII century an inordinate number of busybodies full with bright ideas about the way other people would have to conduct their lives. Worse than that, a good number of them thought themselves justified in imposing their plans by force. In such conviction were united both men in government and those who wanted to overthrow them —it was simply that the latter thought they had better and more radical plans to impose on others.
     No doubt at that time many nations, and in particular France, lived under very defective rule, the result of centuries of absolute kings imposing their will on people. The trouble was that on the other side there were men, revolutionaries and their mentors, even more ruthless in their disregard of anything and anyone that would hinder their plans.

Edmund Burke and the Rights of Man
     Carl Menger cites Edmund Burke as one of the first who understood how wrong they were those who, without understanding spontaneous order, worked to destroy it. Burke was no denier of natural law. Yet he saw that it was a very defective ground on which to defend rights, that is, rights that people must enjoy in the real world, not rights lingering in some theoretical cloud. Moreover, he realized that, as it happened in France, natural law could be used to knock down rights and even lead to tyranny.
     Neither was Burke an enemy of positive law. On the contrary, he wrote that “Men cannot enjoy rights of an uncivil and of a civil state together” (Reflexions on the Revolution in France, p. 50). On the issue of political power he wrote “Government is not made in virtue of natural rights, which may and do exist in total independence of it, and exist in much greater clearness and in a much greater degree of abstract perfection; but their abstract perfection is their practical defect” (op. cit. p. 51). In a famous image about the way rights work in a civil society Burke wrote “These metaphysic rights entering into common life, like rays of light which pierce into a dense medium, are by the laws of nature refracted from their straight line. Indeed, in the gross and complicated mass of human passions and concerns the primitive rights of men undergo such a variety of refractions and reflections that it becomes absurd to talk of them as if they continued in the simplicity of their original direction” (op. cit. p. 52).
     So Burke didn't deny natural rights and he acknowledged the importance of positive law. What was he against then? Burke was against positive law enacted on the basis of abstract reasoning resting only on very general dogmas.
     In his answer to the French philosophers and their British admirers Burke wrote that rights should be viewed as the inheritance of people -of each and every man and woman- and not the result of the will of the majority among them, or the majority in the assemblies they elect, or the plans devised by doctrinaires. That was the key element that distinguished British Glorious Revolution of 1688 from the French revolution of 1789.
     Burke compared the results of following English traditions and ancient laws and those of the theories of philosophers and the experiments of legislators. Already in his first essay “Vindication of Natural Society” he had assumed -tongue in cheek- the attitude of those who disdain the consequences of laws and value them only as the necessary corollaries of their petty theories.
     By the way, if people had followed Burke's advice, Marxism would have been discarded long ago, after its horrible consequences had become manifest in real life. Of course Marxists rejected with scorn the notion of natural rights, but they too built their systems on a few abstruse postulates and —as the French revolutionaries— where ready to kill anyone who opposed them. Marxists say: the reasoning looks good to us, so it doesn't matter if in the past all our patients have died, lets try the same medicine again. This time it will work.
     Burke was well aware of the many defects in the law of the land as it stood. But he thought it better to improve on it than to take it down. He used the image of a mortmain, that is, an estate that cannot be sold o renounced, but on which one could build. That applied even to legislatures. Burke wrote: “We entertain a high opinion of the legislative authority, but we have never dreamt that parliaments had any right whatever to violate property, to overrule prescription, or to force a currency of their own fiction in the place of that which is real and recognized by the law of nations” (op. cit. p. 126).
     Friederick Hayek agreed. As he wrote in The Road to Serfdom, “The idea that there is no limit to the powers of the legislator is in part a result of popular sovereignty and democratic government. It has been strengthened by the belief that, so long as all actions of the state are duly authorized by legislation, the Rule of Law will be preserved. But this is completely to misconceive the meaning of the Rule of Law. This rule has little to do with the question whether all actions of government are legal in the juridical sense. They may well be and yet not conform to the Rule of Law…It may well be that Hitler has obtained his unlimited powers in a strictly constitutional manner and that whatever he does is therefore legal in the juridical sense. But who would suggest for that reason that the Rule of Law still prevails in Germany?” (p. 91, 50th edition).

A false dichotomy
     Neither Burke nor Hayek based their convictions on an appeal to natural law or human rights. They praised the tradition of the rule of law, painstakingly built, first in Britain and then extended to other European countries and the United States. Yet the value of that tradition was not acknowledged by everyone. In Hayek's time (and still today) scholars offered their readers a misleading choice between positivism ands natural law. According to the first, we must assume that rights are the creatures of legislators, who will grant them or take them away A written constitution does not change significantly that picture because after all constitutions are voted at constitutional conventions, also by legislators. That is not a pretty picture.
     Then we are told that the alternative is to assume that there is a law that is “natural” in some sense. In its most simple formulation, natural law is assumed to be woven into the structure of the world and in every human heart. It is there for us to reveal, to discover but not to change at will. That is a prettier picture but unfortunately a very hazy one.
     If the source of that natural law is men's heart then we would have to explain away the burning of wives at the pyre of their husbands, practised in India for centuries. We would have to somehow dismiss the relevance of pogroms practised enthusiastically by people in Russia and Eastern Europe. Bear in mind that those were not actions taken by arbitrary rulers and resisted, or at least lamented, by common people. People did it, and often forced rulers to accept cruel customs against their better will. Human hearts and the natural law which, we are told, is written in each of them seem to have been awkwardly silent in these and many similar cases. Even sages like Aristotle saw no problem in endorsing slavery. If the human heart is the pillar on which rights stand, it is a very shaky one. Let alone the “structure of the universe”.

Hazy natural law
     Well aware of these objections, philosophers have tried to present refined versions of natural law. Nevertheless, in their efforts to bulletproof their theories they have distanced natural law from nature, they no longer claim that it can be deducted in any way from human nature or the structure of the universe. They readily recognized that the human heart is no sure source of it. That was bad enough a concession but at the same time philosophers have made natural law less similar to law. They no longer try to come up with a system that could remotely be compared to those that rule nations. By these means philosophers have have made their theories less susceptible to attack but also less useful as a weapon against injustice.
     This is no place to deal with the theories of Lon Fuller or John Finnis —two of the most renowned modern defenders of natural law— who in different ways have tried to parry the most obvious criticisms to which a naive version of natural law view is liable. I would just say that Lon Fuller's strategy avoids the whole issue about the origin and justification of natural law by arguing that it is already part of positive law. Fuller says that one cannot understand how judges (presumably he has in mind Western judges) apply law unless one takes into account some basic moral principles. Unfortunately, what he then enumerates are mostly procedural requirements for trials but he says very little about substantive law. (Lon Fuller:Positivism and Fidelity to Law).
     John Finnis does take substantive law into account. And he does not, as Fuller, make the rather self-defeating argument that natural law —or a bit of it— is in fact already positive law. The trouble is that Finnis provides only very general views that could easily be used to justify very different law systems, with the exception of the most obviously absurd and arbitrary ones. Concerning the issue of property rights —a usual subject of controversy—, he cites Aristotle, who wrote that “property ought to be common in a sense, but privately speaking generally...possessions should be privately owned, but common in use; and to train the citizens in this is the special task of the legislator”. If that wasn't sufficiently vague, Finnis adds that “the analyses put forward in this section, even when they are applicable on issues of current political debate in the reader's community, are not to be taken as if they were intended as a contribution to any particular such debate” (Finnis, John: Natural Law and Natural Rights, Oxford University Press 1980, p. 171).
     As all modern defenders of natural law do, Finnis does not pretend that even his highly general remarks would be acknowledged by all men as truths written in their hearts. Nevertheless, he argues that after all it is the same in science because -he asserts- all sciences rest on some epistemic principles that are indemonstrable. He cites Aquinas, who wrote that some propositions are self-evident only to the wise (op. cit. p. 32).

Collective goals dictated from above
     It is interesting to realize that for all their differences, positivism and naturalism tend to converge to similar solutions. The former relies on the views of legislators, the latter, at the end of the day, on those of philosophers and wise men. Both authorities will tell us what in their views is good not just for themselves but for the community. Appeals to the political power or to the opinions of wise men are different from appeals to an order that allows individuals to pursue their own goals.
     While positivists reserve the job of granting and taking rights to legislators, natural law champions add above them the pronouncements of sages who will find for us indemonstrable principles that they will be able, somehow, to uncover. In modern times it often means the opinions of Harvard, Yale, Oxford, and Cambridge professors —repeated in a simplified form by hundreds of other sources. It isn't clear that their findings are better informed or have more sense than those of legislators.
     There is another problem with naturalism, totally independent from the issue of the soundness of the opinions about it. The fact that we talk of natural “law” should not hide that it is —if it exists at all— something that cannot be viewed as being as detailed as positive law and thus running parallel to it so that we can contrast them. It is true that in the past some philosophers thought that they could deduce a whole system of law from the study of human nature. But modern thinkers have abandoned that pretension. One may peruse the many volumes written by John Finnis —perhaps the most lucid modern defender of natural law— without finding a clear-cut answer to any of the controversies that divide people today. I am not saying that Finnis's insights about the proper ways of reasoning about moral issues are useless. Nor am I saying that his remarks about what factors should be considered when pondering about, say distributive justice, have no point. But it is undeniable that they could be used to support too many answers, leaving outside only the most obviously wrong ones. The same applies to other philosophers and law scholars. As long as they remain abstract and indeterminate, they command assent; as soon as they try their methods in order to yield a direct answer, they became controversial and dubious.
     Law philosopher Pauline Westerman wrote an insightful book on the history of natural law for which she chose the title “The Disintegration of Natural Law Theory: Aquinas to Finnis”. About the modern efforts to make natural law less open to objections she wrote “strictly speaking, the new theory of natural law neither has anything to do with law nor with nature” (p. 256) and “In fact, the more these theories are fortified, the less versatile they are in dealing with practical problems (p. 293)
     The trouble is that the very purpose of having a natural law distinct from positive law was to use the first to assess the second. And it is very little comfort to say that perhaps even very hazy natural law theories would exclude Hitlerite and Leninist immorality. Nazis and communist empire builders are not easily persuaded by lectures about ways of moral reasoning. We have to be able to deal with subtler deviations from justice, those that open the road to the worst ones. Once they have grown into gross arbitrariness, debate is usually pointless.
     That is because, as David Hume wrote “It is seldom, that liberty of any kind is lost all at once. Slavery has so frightful an aspect to men accustomed to freedom, that it must steal upon them by degrees”. Lord Macaulay was of the same opinion. He wrote that in medieval times deviations from the law had a check in the ability of people or aristocrats (or both) to rise up in arms against royal power, "Our forefathers might indeed safely tolerate a king in a few excesses; for they had in reserve a check which soon brought the fiercest and proudest king to reason, the check of physical force". While the weapons at the disposal of kings were not very different from the pikes and the swords in the hands of their subjects, there was a limit that rulers had to take into account. That changed with professional armies. Moreover, Macaulay argued, in pre-industrial economies civil wars destroyed huts, cattle, and a few castles. Recovery took a short time. But in highly developed economies the material losses are immensely higher and people become reluctant to risk them. It is for these two reasons, says Macaulay, that in modern nations even small deviations have to be promptly controlled. (History of England, Vol. 1 p. 23).
     A natural law that commands assent as long as its precise meaning remains uncertain is not very useful in that respect. And today there are attacks against rights of the more subtle kind, of the kind that, as Lord Macaulay advised, should be controlled before the issue is no longer about ideas but about force, no longer about arguments but about secret police knocking doors at night.
Natural rights against the rule of law
     The tradition of the rule of law has often been confronted, as Burke described, by abstract theories about natural law and the rights of man. In our own time, so-called second and third generation human rights to free education, to a job, to a basic income, to subsidized prices, are among the most powerful weapons against the rule of law. This is exactly what Burke warned against; legislating —be it from Congress or from the bench— on the basis of abstract reasoning.
     In Argentina, law professors waged for decades a relentless war against the liberal rules in the old Civil Code (“liberal” in its classical meaning). Starting from a few abstruse postulates (the unity of the illicit phenomenon, the theory of the “adecuate” cause) seasoned with Roman maxims never known as law in Rome, they turned the Code upside down. Already in 1968, they convinced a military government to amend the Code and establish that applying new laws to contracts signed before them was not really retroactive. Finally, towards the end of Cristina Kirchner's government they got their victory, the complete replacement of the old code and the enthronement of their doctrines in a new one.
     Unfortunately, too many law professors wax lyrical about the new rights that they discover in the Constitution and human rights conventions but they have little time for the old rights. The trend includes the federal Supreme Court, which has recently published a summary of the cases the Court sees as more relevant in its record, covering the period 2003-2016 (link to the document, in Spanish). The report has a chapter on cases about “Fundamental Rights” which does not include property among them. In turn, we find special chapters on social rights, economic rights, environmental rights, union rights, collective rights but not one about property rights.
     Yet there have been very relevant cases on such issue, though there is very little to boast about them. In 2002 a Peronist government started confiscating people's dollar bank accounts and giving them bonds in exchange —which was done with the approval of most of the opposition. When the Court declared it was against the Constitution, Congress removed some judges from the Court and appointed new ones. In 2004 the new majority in the Court reversed its previous decision —now taking the dollars was right. In 2013 the same “revamped” Court rejected the claim of a man who tried to defend his private retirement account against its confiscation by the government. That case sealed the fate of the whole system of private pension funds which then were taken by the government. None of that comes out of mere chance or whim. In order to pay for the myriad of new special rights, the old ones must be looted.

Monday, April 2, 2018

Carl Menger on the origins of law


Carl Menger was the father of the Austrian School of Economics. Today, we know better the contributions of those who followed on his path, like Hayek and Mises, than those of the initiator. Neverthless, I think that there are still in Menger's works gems of thought that deserve greater consideration.
I plan to write three posts about one of those neglected gems, Menger's thoughts about the orgins of law. His article has been included as appendix VIII of his book "Investigations into the Method of the Social Sciences" (link to the book at Mises.org). 
This first post will tell briefly how he came to the notion of spontaneous order, and how he applied it to the origins of law. In the second post I will try to show how Menger provided a better understanding of law than today's dominant theories. In the last post I will trace a parallel between Menger's descriptions of the orgins of money and of law and will suggest that they are relevant not only concerning the origins of both in the distant past but to understand how money and law work today. So Menger's little article on the origins of law sheds light not only on history, but on legal and economic theory.
How did Menger come to the idea of spontaneous order? A few years after writing his book Principles of Economics (1871), he engaged in a famous debate with German economists who denied the very possibility of an economic theory. They claimed that economics had to be dissolved into national history as economic life was merely another manifestation of an undefined national "spirit". As part of his reply, Menger wrote about the real origins of economic institutions, showing that it wasn't a mistical collective spirit peculiar to every nation that shaped them, but the action of people who everywhere on earth tried to improve their situation. In his study, Menger came to the notion of spontaneous order, an order that results from individual efforts of people who pursue individual goals by adapting to each other's action. That is how markets work, without the need of a common national goal, State plan, or Weltanshauung.  The notion of spontaneous order became one of the key ideas of the Austrian School of Economics. It was later developed by Friedrich Hayek and many others who followed Menger's insight.
It is well known that Menger wrote an essay in which he explained that it was spontaneous order that created money. It is less often mentioned that he applied the same idea to the origins of cities and of law.
Menger said that the use of money came as the result of spontanous human actions that weren't commanded by any king or parliament but evolved from the mutual adaptation of people who pursued their own goals. Certainly, that is how barter must have started, as it is difficult to assume that some tribal leader gathered his people some day and told them: from now on you will have to exchange things. No, barter must have started by people who shought to improve their situation by offering things they had in excess -say animal skins- in exchange for things they lacked -say arrows. By the same spontaneous process -not following orders-, some individuals came to the idea of using intermediate objects that were easier to carry and were readily accepted everywhere. So they would exchange their excess goods for things they didn't really need, but which they could easly exchange for those they did need. Skins, salt, pieces of iron, silver, gold and many other things started to be used as intermediate goods that facilitated exchange well before any king decided to put his seal on a coin.
I won't try to repeat Menger's magnificent article about the origins of money and must simply recommend the lecture of the original (link). But, as said, I would point out that it is often forgotten that Menger used the same method he applied to the origins of money, to the more general issue of the origins of law. 
Today we tend to see law as something made by legislators, perhaps also by judges, maybe even by regulatory agencies. But we seldom stop to think that law must have started the same way money started, by the efforts of individuals who had in mind their own improvement and that of their families. If it is unrealistic to assume that kings ordered their people to engage in barter and then to use intermediate goods, it is even more so to assume that some day a king gathered his subjects and told them about a bright idea he had that he decided to call "inheritance", commanding his people to leave their huts and kattle to their children. 
No, some people must have started to do these things spontaneously, and many of them must have observed that those who respected their neighbours' children inheritance had a better chance of having their own children's inheritance respected. Of course, as with barter and money, there must have been variations and even exceptions -tribes that never came to these practices. But on the whole people tended to imitate the most sucessful ways of action.
In commerce, clever individuals in many places around the world must have observed that it is better to honor your word than to cheat. That if you manage to trick your neighbour and sell him a sick animal you won't be able to sell him another one, and probably won't sell kattle again in the whole village. Others would imitate that practice. Some must have observed that it is a good thing to isolate those who broke their promises and refrain to deal with them, which must have been an informal but effective punishment -as it is still today.
Some villagers must have started to use some formal words to stricke their agreements as a way to be certain about the meaning of what is promised. That was advantageous as a way to prevent disputes. Doing it in public must have worked in the same way. Helping others in the persecution and punishment of robbers and other criminals was bound to be seen as a way to protect yourself, your family, and the whole area from suffering future outrages. 
None of this implies that this evolution was perfect and without setbacks. Nor does it mean that legal practices were uniform (as there was wide diversity in the objects used to facilitate exchange). Nevertheless, discovery through experience, insight, and imitation of succesful practices worked in law as worked in building, cultivation, sailing, and many other human activities.  
We must understand that "spontaneous" does not mean "thoughtless". On the contrary: there are the thoughts of millions of people doing things that benefit each other. It means: practices and order that arise without anyone commanding people what to do, and without the need of an agreement on common goals.
Menger says that sooner or later, chieftains must have started to put their seal on these practices, as they did with money. They must have organized the persecution of criminals, given protection to commercial fairs...and too often abused their power. 
When kings issued orders, they called them "law" too. More often than not, it was simply an official seal given to ancient practices that had emerged spontaneously. Sometimes though, these laws were truly just the will of the rulers. Nevertheless, kings and governing bodies must have soon realized that issuing their commands under the name of "law" gave them an aura of respect that ancestral customs and rights possessed, and mere personal whim could not provide. Still, it seems that in some places people refused to use the same name for law that resulted from their own action and the edicts of some authority. In Roman law, the word "delicto" was reserved for those punished by the old rules of the city from time immemorial. Those other ones created by authorities received the name of "cuasidelicto", that is, "like delicto", but different in origin and therefore not to be confused. 
In modern times, we tend to think that law is simply the expression of the will of some authority, usually an assembly of legislators. That is because we see only the end result of a long historical evolution and, as with money, we tend to assume that everything must have started as it is today, with some authority putting its seal on something.