Hammurabi was the sixth king of the First (Amorite) Dynasty of Babylon. He reigned for 43 years — from 1792–1750 BCE – over most of ancient Mesopotamia. He is best known for the Code of Hammurabi — 282 laws covering everything from medical malpractice to a minimum wage.
Contrary to popular belief, the Code of Hammurabi is not the oldest known written code of laws. That honor belongs to the Code of Ur-Nammu, written in the Sumerian language in Mesopotamia during the 21st century BCE.