Hammurabi's code is one of the earliest known legal 'documents' in known history upon which a code of laws was written. It was named Hammurabi's code as it was written during the reign of King Hammurabi of Babylonia.
The code is notable for having some of the earliest basis for the law of retribution or simply put, the idea of "an eye for an eye" by including examples of scenarios where the law would be applied. For instance, the code talks about how a man who steals a cow must pay it back 30 times.
WE needed some supplies. Also' we produced so much that it was going to waist more than anyone could consume it. Thats when we started to get involved becuase we needed things so we traded with each other for goods.
Legal right that a court has to receive a case first. For example, the Constitution makes it clear that the Supreme court has 'original jurisdiction' when states sue states and in cases involving high-level diplomats.