
Mesopotamia and the Invention of Writing
Writing began as bookkeeping: Uruk's marsh city and its 5,000 discarded tablets, Denise Schmandt-Besserat's clay tokens sealed in envelopes and the critics who doubt them, accounts laid out in boxes rather than sentences, the arrow that spelled 'life' and turned pictures into sounds, Gilgamesh and the flood tablet that made George Smith tear at his clothes, a worked reading of Hammurabi's laws on eyes, debts, dams, and falling houses, and Henry Rawlinson's ladder and a Kurdish boy on the Behistun cliff.
- 13 min
- 10 steps
- 7 questions
- 5 hands-on
- Lesson 2 of 27 in History & Humanities
- Drafted by Opus 5.5
In this lesson
- Uruk and its rubbish heaps
- Tokens in a clay ball
- Accounts in boxes, not sentences
- From pictures to sounds
- Gilgamesh and the flood tablet
- Reading Hammurabi’s laws
- Cracking cuneiform
- Where the tablets are now
- Keep accounts in clay
Open alongside this lesson
-
The Code of Hammurabi, translated by L. W. King (1910) (opens in a new tab)
The prologue, all surviving laws, and the epilogue on one page.
-
The Babylonian Story of the Deluge and the Epic of Gilgamish, with an Account of the Royal Libraries of Nineveh (opens in a new tab)
A tablet-by-tablet summary and the flood story in full translation.
Picking up where you left off.
On the marshy delta of the Tigris and Euphrates, between the fourth and third millennia BCE, a few towns grew into the first cities. Their temple storehouses needed to keep track of barley, beer, sheep, and workers. Writing was invented to do that, and only later learned to tell stories.
Uruk and its rubbish heaps
Uruk, Ur, and Eridu stood on the edges of freshwater marshes; the sea then reached some 200 km further inland than today. These cities, UNESCO’s listing says, saw the origin of writing, mudbrick temples and ziggurats, and complex societies 1. Uruk was lived in from the fifth millennium BCE until the fifth century AD 2.
German archaeologists have dug at Uruk since 1913. Between 1928 and 1976 they recovered nearly 5,000 archaic tablets and fragments, almost all from Eanna, the city’s sacred precinct, and almost all broken. Once an account of barley delivered or beer handed out was settled, the tablet was thrown on the rubbish heap, and that rubbish was later spread as fill to level the ground for new buildings 2. The oldest script dates to the end of the fourth millennium BCE 2.
Whole tablets come from smaller sites in northern Babylonia, such as Jemdet Nasr 2. The Met’s barley account below is one of that period, about 3100–2900 BCE, rolled over with a cylinder seal showing a man, hunting dogs, and boars 3.

Quick check
Once an account was settled the tablet was useless, so it went onto the rubbish heaps; that debris was later spread as fill under new buildings in the Eanna precinct.
Tokens in a clay ball
Where did the signs come from? Denise Schmandt-Besserat of the University of Texas argues they grew out of small clay counters. From about 7500 BCE, she says, farmers in the Near East used tokens of set shapes: a cone for a small measure of barley, a sphere for a large one, a disc for a sheep, one token per unit. With cities, around 3500 BCE, some 300 shapes were in use 4.
Debts were sealed in hollow clay balls with the tokens inside. To check the contents without breaking the ball, accountants pressed each token into the outside first: a cone left a wedge, a disc a circle. Then, about 3200 BCE, someone saw that the marks alone would do. Flat tablets with pressed wedges and circles replaced the envelopes, and on them, she argues, writing began 4.

The envelopes and impressed tablets are real finds; what is disputed is the long story before them. Lucy Bennison-Chapman studied almost 3,000 Neolithic clay objects from 56 sites and concluded that “tokens” served many purposes, even within a single site, were not invented to manage farm produce, and show no sign of forming a single symbolic system in the Neolithic 5.
Find the mistake
This exercise needs JavaScript.
Tokens go back to about 7500 BCE; around 3500 BCE some 300 shapes were in use. A cone left a wedge and a disc a circle, the marks that later stood alone on flat tablets.
Accounts in boxes, not sentences
The Uruk tablets do not read like speech. Peter Damerow, who worked on them for decades, pointed out that they are laid out in boxes and sub-boxes, an entry with its sub-entries, not in sentences. Their signs mostly name quantities, goods, people, institutions, and the kind of transaction, and phonetic writing plays little part, if any. The only other texts are school lists of signs, such as a list of vessels 6.
Clay tokens, standard containers, and cylinder seals had all done administrative work before writing; proto-cuneiform was the last step in that long tradition rather than a leap 6.
From pictures to sounds
A picture of a thing can write that thing. It cannot easily write a name. Around 3000 BCE, Schmandt-Besserat writes, the Uruk administration began to note who gave and who received each delivery, and scribes wrote personal names with small pictures read for their sound. A common name, “An is my life,” was a star, the sign for the sky god An, followed by an arrow, because in Sumerian the words for arrow and for life sounded alike: ti. The verb was simply left out 4.
That borrowing is the rebus principle, and it gave the script a way to write sounds. Damerow describes two stages. By the Fara period, some five hundred years after the first tablets, names and other words were spelled out phonetically, and new kinds of text appeared that tried to write the spoken language 6. How Writing Works, and the Runes sorts the world’s scripts by what each sign stands for; cuneiform ended as a mixed system of word signs and sound signs.
Sort
This exercise needs JavaScript.
Pictures of things stood for the things; pressed wedges and circles were measures; the arrow was borrowed for its sound, ti, to write the word for life in a name.
Gilgamesh and the flood tablet
In 1872 George Smith was sorting the Assyrian tablets in the British Museum by subject when, among the myths and legends, he found part of a flood story. He searched thousands of fragments, recovered 80 pieces of the series, and read his paper on 3 December 1872. The copies came from the library of Ashurbanipal, about 660 BCE, and the story ran to twelve tablets, the flood on the eleventh 7.
One key fragment was crusted over, and the only man allowed to clean it, Robert Ready, was away. When Ready cleaned it and Smith saw the lines he had hoped for, he said he was the first to read them after two thousand years of oblivion. Then, by E. A. Wallis Budge’s account, he “jumped up and rushed about the room” and to everyone’s astonishment “began to undress himself” 8.
The epic’s hero is Gilgamesh, king of Uruk (Erech), two-thirds god and one-third man, who built the city’s wall and the temple of Eanna. He drives his people so hard that they beg the gods for help, and the gods make a rival, Enkidu. The two become friends, overcome Khumbaba, guardian of the cedar forest, and after Gilgamesh refuses the goddess Ishtar, kill the Bull of Heaven she sends. Enkidu sickens and dies 9.
Terrified of death, Gilgamesh goes in search of his ancestor Uta-Napishtim, who had become immortal, and hears from him the story of the flood and the ship held fast on Mount Nisir. In the British Museum’s 1920 translation 9:
“When the seventh day had come / I brought out a dove and let her go free. / The dove flew away and [then] came back; / Because she had no place to alight on she came back. / I brought out a swallow and let her go free. / The swallow flew away and [then] came back; / Because she had no place to alight on she came back. / I brought out a raven and let her go free. / The raven flew away, she saw the sinking waters. / She ate, she pecked in the ground, she croaked, she came not back.”
Uta-Napishtim tells him of a plant at the bottom of the sea called “the old man becometh young.” Gilgamesh ties stones to his feet, dives, and brings it up, and while he bathes in a cold pool on the way home a serpent smells it and swallows it 9.
New pieces still surface. A tablet with part of a dream from the epic, about 3,500 years old, was bought by an American dealer in 2003 from the family of a London coin dealer, sold in 2007 with a false provenance letter, bought by Hobby Lobby in 2014, seized in 2019, and handed back to Iraq in September 2021 10.
Quick check
The dove and the swallow found nowhere to land and returned. The raven saw the waters going down, ate, croaked, and stayed away.
Reading Hammurabi’s laws
Hammurabi ruled Babylon from 1792 to 1750 BCE. His laws are carved on a basalt stele 2.25 metres high, with Shamash and the king at the top. A French expedition under Jacques de Morgan found it at Susa, in Iran, in 1901–1902, and it stands in the Louvre 11. Robert Francis Harper, who published it in English in 1904, read the relief as the king receiving the laws from the sun god. The stone was at Susa, he and its first editors argued, because an Elamite king had carried it off as plunder; five columns on the front were cut away, and those laws are lost 12.

The prologue says the gods called Hammurabi “that the strong should not harm the weak.” Read the laws themselves, in L. W. King’s 1910 translation 13:
- 196. “If a man put out the eye of another man, his eye shall be put out.”
- 198. If he put out the eye of a freed man, he pays one gold mina.
- 199. If he put out the eye of another man’s slave, he pays half the slave’s value.
- 229. If a builder’s badly made house falls and kills its owner, the builder is put to death; 230, if it kills the owner’s son, the builder’s son dies.
- 53–54. A man too lazy to keep up his dam, whose break floods the fields, is sold to pay for the ruined grain; if that is not enough, his goods are shared among the flooded farmers.
- 117. A man who sells his wife and children for a debt gets them back after three years of work; they go free in the fourth.
- 2. An accused man leaps into the river. If he sinks, his accuser takes his house; if the river spares him, the accuser dies.
Notice what these assume. “Eye for an eye” holds only between equals; the same blow costs a fine when the victim ranks lower. Punishment can fall on a son for his father’s failure. The river itself is a judge. Debt slavery is capped at three years.
Was it a code that judges applied? Dominique Charpin, reviewing the evidence, concludes that the laws were applied or served as guidelines, and notes they are the one Mesopotamian law collection remembered for centuries: scribes copied them in school and quoted them into the Persian period 14.
Match up
This exercise needs JavaScript.
The same injury cost more or less depending on who suffered it. Debt servitude was capped at three years of work.
Label it
This exercise needs JavaScript.
The king stands before the seated sun god Shamash, and the laws fill the basalt below. Darius I carved his victories on the cliff at Bisotun, not here.
Cracking cuneiform
Cuneiform was read again thanks to a cliff. At Bisotun in western Iran, about 60 metres above the plain, Darius I had his victories carved in 521 BCE: a relief of the king with his foot on a pretender, and a text about 15 by 25 metres in three languages and scripts, Old Persian, Elamite, and Babylonian. UNESCO compares its value for Assyriology to the Rosetta Stone’s for Egyptology 15.
Henry Rawlinson, a British officer sent to Kermanshah in 1835 as military adviser to the governor, copied the Persian text in 1835–1837 from the narrow ledge below it 8. In 1847 he came back for the Babylonian version, which hung over a scarp no local climber would try. Rawlinson’s own account, written in 1852 8:
“At length, however, a wild Kurdish boy, who had come from a distance, volunteered to make the attempt … passing over a distance of twenty feet of almost smooth perpendicular rock in a manner which to a looker-on appeared quite miraculous.”
The boy drove in pegs, slung a rope, and from a swinging seat took a paper cast of the text 8.
Was the decipherment real? In 1857 William Henry Fox Talbot, the inventor of a photographic process, suggested a test. Rawlinson, Edward Hincks, Jules Oppert, and Talbot each translated the long inscription of Tiglath-Pileser I on clay prisms from Qal’at Sherqat, alone, and sent it to the Royal Asiatic Society under seal. The referees found Rawlinson’s version the most complete and Hincks’s close to it, and judged the decipherment an accomplished fact, though the four agreed less closely than they had hoped 8.
Put in order
This exercise needs JavaScript.
521 BCE; 1835–1837; 1847; 1857; December 1872.
Where the tablets are now
- The Louvre, Room 227 in the Richelieu wing, for Hammurabi’s stele 11.
- The Metropolitan Museum, New York, for the barley account 1988.433.1; its images are free to use 3.
- Bisotun, Kermanshah, Iran 15.
- King’s translation of the laws on the Avalon Project, and the British Museum’s 1920 Gilgamesh booklet on the Internet Archive 13 9.
Keep accounts in clay
Roll a ball of air-dry clay flat into a tablet about the size of your palm. Make three tokens: a cone, a ball, and a flat disc. Record a week of something real, eggs from your hens or loaves baked, by pressing the token shapes into the clay, then draw a picture sign beside each line for what was counted. Write your own name underneath using only pictures read for their sounds, as Uruk’s scribes did with “An is my life.”
Lesson complete
Nice work.
Teach it back
In two sentences, explain Mesopotamia and the Invention of Writing to a friend who missed it.
Related lessons
Among the starsSources for this lesson
- 1The Ahwar of Southern Iraq: Refuge of Biodiversity and the Relict Landscape of the Mesopotamian Cities. UNESCO World Heritage Centre (list no. 1481). verifiedUruk, Ur and Eridu developed between the 4th and 3rd millennium BCE in the marshy delta of the Tigris and Euphrates; between 5000 and 3000 BC the sea reached some 200 km inland of the present coast; the three cities were originally on the margins of freshwater marshes and saw the origin of writing, monumental mudbrick temples and ziggurats, and complex societies. Inscribed 2016.
- 2Proto-cuneiform (from Nissen, Damerow and Englund, Archaic Bookkeeping, University of Chicago Press 1993). Cuneiform Digital Library Initiative wiki. verifiedThe earliest true script emerged at the end of the fourth millennium BC in southern Babylonia. The German Archaeological Institute has excavated Uruk since 1913; from 1928 to 1976 nearly 5,000 archaic tablets and fragments were found; Uruk was occupied from the fifth millennium BC to the fifth century AD; Eanna was the central sacred precinct; tablets were discarded once no longer useful and ended in rubbish used as fill beneath later buildings, so they are fragmentary; complete tablets come from Jemdet Nasr and other northern Babylonian sites; the 82 Erlenmeyer tablets were auctioned in London in 1988.
- 3Proto-Cuneiform tablet with seal impressions: administrative account of barley distribution with cylinder seal impression of a male figure, hunting dogs, and boars. The Metropolitan Museum of Art, 1988.433.1. verifiedRead through the Met's open-access collection API (object 329081): Sumerian, Jemdet Nasr period, ca. 3100–2900 BCE; clay, 5.4 x 6 x 4.1 cm; Purchase, Raymond and Beverly Sackler Gift, 1988; public domain (CC0) image.
- 4From Accounting to Writing. Denise Schmandt-Besserat, University of Texas at Austin. verifiedTokens ca. 7500–3350 BC: a cone for a small measure of barley, a sphere for a larger measure, a disc for a sheep, in one-to-one correspondence; about 300 shapes by ca. 3500 BC; debts kept in clay envelopes with the tokens impressed on the outside (a cone left a wedge, a disc a circle; Susa envelope ca. 3300 BC); impressed tablets replaced envelopes (Godin Tepe ca. 3200 BC), which she calls the invention of writing; incised logographic tablets ca. 3100–3000 BC drawn with a pointed reed stylus; ca. 3000 BC personal names written with phonograms, e.g. 'An is my life' as a star (An) plus an arrow, because arrow and life were homonyms in Sumerian (ti); the verb was not written.
- 5Reconsidering 'Tokens': The Neolithic Origins of Accounting or Multifunctional, Utilitarian Tools?. Cambridge Archaeological Journal 29 (2), 233–259. 2019. verifiedAbstract read: almost 3,000 individually studied Neolithic clay objects plus data from 56 further sites; the predominant interpretation of tokens as accounting devices is incorrect; clay objects appear earlier than recognised and are not a necessary part of Neolithic villages; they were multi-functional, with several roles even within one site; likely used in simple counting but not only for agricultural produce; not created to administer produce; no evidence that in the Neolithic they formed a unified symbolic system.
- 6The Origins of Writing as a Problem of Historical Epistemology. Cuneiform Digital Library Journal 2006:1. 2006. verifiedProto-cuneiform texts are mostly bookkeeping organised in spatial hierarchies (an entry with sub-entries), not sequential speech; signs represent quantities, objects, persons, institutions, locations and transaction types; phonetic coding plays only a minor role, if any; the only non-administrative texts are school lexical lists (e.g. a list of vessels); tokens, standard containers and seals were precursors, and proto-cuneiform was the last step in that tradition; by the Fara period some 500 years later phonetic writing of names and words had been partly introduced and new kinds of text tried to write oral language: two stages.
- 7The Chaldean Account of the Deluge. Transactions of the Society of Biblical Archaeology 2, 213–234 (read 3 December 1872). 1873. verifiedPublic domain. p. 213: Smith had divided the Assyrian tablets in the British Museum by subject; in the mythological section he found a flood story, searched several thousand fragments and recovered 80 pieces of the legends; the series was at least twelve tablets with the flood on the eleventh; copies from the library of Assurbanipal, about 660 BC, at Nineveh; the original text belonged to Erech. Cited at: p. 213.
- 8The Rise and Progress of Assyriology. Martin Hopkinson, London. 1925. verifiedpp. 32–36: Rawlinson, sent to Kermanshah in 1835 as military adviser to the governor, copied the Persian text at Bisotun in 1835–37 from the ledge below it; in 1847 a 'wild Kurdish boy' crossed twenty feet of almost smooth rock, fixed pegs and a rope, and from a swinging seat took a paper cast of the Babylonian version (quoting Rawlinson, Archaeologia 34, 1852). pp. 92–94: at Fox Talbot's suggestion, Rawlinson, Hincks, Oppert and Talbot sent sealed translations of the Tiglath-Pileser I prism inscription from Kal'ah Sharkat to the Royal Asiatic Society in 1857; Rawlinson's was most complete and Hincks's agreed closely; the referees regarded decipherment as an accomplished fact though agreement was less close than expected. pp. 152–153: Robert Ready, the only one allowed to clean the tablet, was away; when he cleaned it Smith said he was the first to read it 'after more than two thousand years of oblivion', rushed about the room and began to undress himself. Cited at: pp. 152–153; pp. 32–35; pp. 35–36; p. 36; pp. 92–94.
- 9The Babylonian Story of the Deluge and the Epic of Gilgamish, with an Account of the Royal Libraries of Nineveh. British Museum, London. 1920. verifiedPublic domain. Tablet XI lines 141–155: the ship held on Mount Nisir; on the seventh day a dove and a swallow are released and return, a raven sees the sinking waters and does not come back. pp. 40–48: Gilgamish king of Erech, two-thirds god, built the wall of Erech and the temple of E-Anna, oppressed his people, who begged the gods for help; Enkidu is created; the friends overcome Khumbaba of the cedar forest; Gilgamish refuses Ishtar; the Bull of Heaven is killed; Enkidu dies. pp. 55–56: Uta-Napishtim, his immortal ancestor, tells of a plant at the bottom of the sea, 'The old man becometh young'; Gilgamish dives for it with stones tied to him; a serpent smells it and swallows it while he bathes in a cold pool. Cited at: pp. 40–48; Tablet XI, lines 146–155; pp. 55–56.
- 10Hobby Lobby Forfeits Rare Gilgamesh Tablet Smuggled Out of Iraq. Smithsonian Magazine (updated 23 September 2021). 2021. verifiedThe Gilgamesh Dream Tablet, about 3,500 years old, in Akkadian, with a dream sequence from the epic; a US dealer bought it in 2003 from the family of a London coin dealer; sold in 2007 with a false provenance letter; Hobby Lobby bought it at a London auction house in 2014; seized in 2019; forfeited in July 2021 and repatriated to Iraq at a ceremony on 23 September 2021.
- 11Code de Hammurabi (Sb 8). Musée du Louvre, Département des Antiquités orientales. verifiedBasalt stele, height 225 cm, width 79 cm; reign of Hammurabi, 1792–1750 BCE, First Dynasty of Babylon; relief of Shamash enthroned before Hammurabi; Old Babylonian law text in cuneiform; found at Susa in 1901–1902 by Jacques de Morgan's mission; Richelieu wing, Room 227.
- 12The Code of Hammurabi, King of Babylon, about 2250 B.C.. University of Chicago Press. 1904. verifiedPublic domain. Introduction p. xi: found December 1901 and January 1902 on the acropolis of Susa by de Morgan's expedition; a block of black stone nearly eight feet high, broken in three; the relief shows Hammurabi receiving the laws from the Sun God; five columns on the obverse were cut off by the Elamite conqueror; Scheil and Winckler held it was taken as plunder by Shutruk-Nahhunte. (Harper's dates are older than modern ones.) Cited at: p. xi.
- 13The Code of Hammurabi, translated by L. W. King (1910). The Avalon Project, Yale Law School. verifiedPrologue: 'that the strong should not harm the weak'. Laws: 2 (river ordeal), 53–54 (neglected dam floods fields: sold to replace the corn, then goods divided), 117 (family sold for debt works three years, free in the fourth), 196 (eye for eye), 198 (freed man's eye: one gold mina), 199 (slave's eye: half his value), 229–230 (builder's house falls, killing owner or owner's son).
- 14Review of Dominique Charpin, Writing, Law, and Kingship in Old Babylonian Mesopotamia (University of Chicago Press, 2010). Bryn Mawr Classical Review 2011.06.55. 2011. verifiedCharpin's chapter 5, 'The Status of the Code of Hammurabi', treats it as essentially a practical collection of case law that was applied or served as guidelines (79); unlike other law codes it was remembered down the centuries, used to train scribes, and excerpts were quoted until the Achaemenid period (81).
- 15Bisotun. UNESCO World Heritage Centre (list no. 1222). verifiedInscription and relief ordered by Darius I in 521 BC on a limestone cliff about 60 m above the plain in Kermanshah province; about 15 m high by 25 m wide; Darius treads on a figure said to be the pretender Gaumata; written in Old Persian, Elamite and Babylonian; the first cuneiform deciphered in the 19th century; of value to Assyriology comparable to the Rosetta Stone's for Egyptology. Inscribed 2006.