The code was quite strict. It had been written in blood! The author was an Athenian legislator named Draco. To…