What civilization wrote the first known code of laws?

Ur-Namma Sumerian Empire
Hammurabi’s Babylonian Empire
the Persians
the Assyrians

Hammurabi’s Babylonian Empire wrote the first known code of laws, known as the Code of Hammurabi.