Answer:
To set a standard of laws throughout the entire Babylonian Kingdom.
Step-by-step explanation:
Hammurabi was a King who unites all the South Mesopotamian region under his rule. To create order in all his kingdom he creates one of the eldest legal written codes. They were carved on stones and placed all across the reign to let everyone know about how to behave.
I hope this answer helps you.