The Code of Hammurabi is one of the earliest written legal codes, established by the Babylonian king Hammurabi. The code consists of 282 laws with scaled punishments, depending on social status (slaves, free men, etc.).
In northers European cultures, swords were believed to have their own 'soul', so when the warrior died, the sword had to be destroyed and buried so the spirit could accompany the warrior into the afterlife