If Akkadian is so old then how was it translated? (example: the code of Hammurabi)

by [deleted]
Bentresh

There's always more to be said on the topic, but I discussed the decipherment of Akkadian and discovery of Sumerian in When did the modern understanding of the history of Bronze Age Mesopotamia develop?