The Code of Hammurabi is famous for its principle of lex talionis (an eye for an eye) and for reinforcing social hierarchies, where penalties varied based on the status of the victim and the perpetrator. It was not secular, as it claimed divine origin, nor did it favor only the upper class in a way that ignored the structure of the law.