Answer: The Code of Hammurabi is a law of ancient Mesopotamia.
Explanation:
In Hammurabi's code, the death of a nobleman used to be punished by death, but the death of a woman only compensated for paying her husband or father.
If a person cannot pay his debts the family would be sold to work as labor. Women were considered useless and she used to be sold for slavery.