Mesopotamia was located between two rivers from 6000BC to 605BC. It consisted of city-states with ziggurats (temples), markets, and houses. Farmers, fishermen, traders, and agricultors made up the economy, with kings, military commanders, and priests comprising the privileged class. Society was organized hierarchically, with kings having absolute power over military commanders, priests, farmers, craftsmen, and slaves. Gods like Adapa, Anat, Anshar, and Anu were part of their polytheistic religion, and the cuneiform writing system was developed.