This, the earliest known written legal code, was composed about 1780 B.C.E. by Hammurabi, the ruler of Bablyon. This text was excavated in 1901; it was carved on an eight foot high stone monolith.