Hammurabi’s Code was important because it was the first time that a state’s laws… provided prisons for punishment. were set down in writing. imposed taxes on citizens. applied to the royal household.