Ancient Mesopotamia was the earliest known civilization that arose between the Tigris and Euphrates Rivers in modern-day Iraq. It had advanced political systems including the earliest kingdoms and the Code of Hammurabi, a famous law code. The Mesopotamian economy was based around farming and trade along rivers and early trade routes. Culturally, the Sumerians invented writing in the form of cuneiform script etched onto clay tablets.