The Code of Hammurabi in Babylonia was intended to

Afree slaves from oppression.
Bgive all people voting rights.
Clet all people know all the laws.
Dallow commoners to have more rights.