No, Hammurabi was not a Pharaoh. He was the sixth king of the First Babylonian Dynasty, reigning from around 1792 BC to 1750 BC in ancient Mesopotamia.
Hammurabi is best known for his code of laws, known as the Code of Hammurabi, which is one of the oldest deciphered writings of significant length in the world. This code established laws and standards for justice, influencing many future legal systems.
Pharaohs, on the other hand, were the rulers of ancient Egypt, a civilization located along the Nile River. The title of Pharaoh traditionally signifies a king or queen of Egypt, and they were viewed as semi-divine figures, with direct connections to the gods.
While both Hammurabi and the Pharaohs ruled significant empires in the ancient world, their cultural contexts and geographic locations were distinct. Therefore, it’s incorrect to label Hammurabi as a Pharaoh.