The Code of Hammurabi refers to a set of rules or laws enacted by the Babylonian King Hammurabi (reign 1792-1750 B.C.). The code governed the people living in his fast-growing empire. Scholars widely believe that other, now lost, steles would have existed in other cities in Babylon that were controlled by Hammurabi.