The Code of Hammurabi, one of the oldest known legal codes, consists of 282 laws. These laws were written on a stele (a large stone pillar) and displayed publicly in ancient Babylon during the reign of King Hammurabi, who ruled from 1792 BCE to 1750 BCE. The laws cover a wide range of topics, including commerce, trade, property, family, marriage, slavery, and criminal justice. The Code of Hammurabi is an important historical document that provides insights into the legal and social systems of ancient Mesopotamia.