Hammurabi belonged to the Amorite Dynasty.
== Legacy ===== Posthumous commemoration ===Hammurabi was honored above all other kings of the second millennium BC and he received the unique honor of being declared to be a god within his own lifetime
 Hammurabi and the king of Larsa made an alliance when they discovered this duplicity and were able to crush the Elamites, although Larsa did not contribute greatly to the military effort

