Where farming was richest — along the Tigris and Euphrates, in the land the Greeks called Mesopotamia, "between the rivers" — irrigation and surplus let people gather in numbers never possible before. Out of the villages rose city-states: Uruk, Ur, Lagash, each clustered around a towering temple, or ziggurat.
For the first time, thousands of strangers — people who would never all know one another — lived packed together. That created problems no village had ever faced, and forced a cascade of inventions to solve them: specialized trades, centralized authority, and above all a way to keep track of who owed what to whom.
The city is a human invention as profound as agriculture, and almost everything we mean by "civilization" — the word itself comes from the Latin for city — begins inside these mudbrick walls.