The Code of Hammurabi, from the third millenium B.C.E., was an attempt to encode various laws into a fairly straight forward justice system. Numerous specific crimes are mentioned, along with very specific punishments. Most of the crimes revolve around things dealing with farming, buying and selling things, and debts.