The main purpose of Hammurabi’s Code was to? A. Make sure everyone in his empire knew the law B. Punish his political rivals C. Conquer and rule a new empire D. encourage the growth of trade?
I'd say that the answer is A. The whole purpose of his code was to unite his people and let them know what was expectable and unacceptable by the standards of him and the Sun God Shamash I believe.