The Hammurabi Code reveals that people in ancient Babylonia owned private property and needed laws and contracts to protect their property rights. Laws in the Code, for example, dealt with who was liable for property damage and helped regulate the inheritance of property.