Evolving out of innovative farming societies that used irrigation to grow food between the Tigris and Euphrates Rivers, the small, competing city-states of Sumer were engaging in long-distance trade by 4000 B.C. and then became parts of a drive to form much larger empires.