Hammurabi was the king and founder of the Babylonian empire in ancient Mesopotamia. His code contained 282 laws that established order and settled conflicts in all areas of life, based on the principles of lex talionis ("eye for an eye") and proportional punishment according to social class. The document then presents several scenarios and asks the reader to decide the fair outcome, before revealing Hammurabi's actual declarations, which included death for builders of collapsed houses, debt slavery, compensation for damaged crops, drowning disrespectful wives, hand cutting for sons who strike fathers, and river ordeals to determine truth in accusations.