Recent scholars of the history of writing describe what was first and foremost an administrative tool. According to their ‘administrative hypothesis’, writing was invented so that early states could track people, land and economic production, and elites could sustain their power. Along the way (their argument goes) writing became flexible enough, in how it captured spoken language, to be used for poetry and letters and, eventually, word games such as Mad Libs and fortune cookies.

The writing/state connection sailed out most recently in Against the Grain (2017) by James Scott, a political scientist at Yale whose goal is to overturn the usual story about how civilisation came to be. In his book, he draws from accumulated archaeological findings to show that large sedentary populations and grain agriculture existed long before the first states in both Mesopotamia and China. These operations came to be coopted by rulers, ruling classes and elite interests. The elite didn’t invent agriculture or urban living but fashioned the oft-told narrative giving them credit for these achievements. In his book, Scott assembles a political counter-narrative to up-end their story of progress and show how people were better off when they weren’t subjects.

This counter-narrative needs villains, and writing serves this purpose brilliantly, because it’s the tool of power that makes subjects subjects. ‘The state is a recording, registering, and measuring machine,’ writes Scott – and a coercive machine that makes lists of names, levies taxes, rations food, raises armies, and writes rules. ‘The coincidence of the pristine state and pristine writing,’ he writes, ‘tempts one to the crude functionalist conclusion that would-be state makers invented the forms of notation that were essential to statecraft.’ Without writing, Scott argues, there could be no state – and without the state, there could be no writing. He seems to be saying that everything that humans would come to write – myths, epic poems, love letters, essays, re-assessments of the history of civilisation – was an epiphenomenon of bureaucratic paperwork.

As far as I am concerned, however, the evidence suggests otherwise. I come to this defence of writing as an unabashed partisan of text, a diehard literate in an age pivoting to video – I barely watch television, which marks me as a philistine these days. Every week seems to bring fresh news of a dimmer future for writing, whether it’s thanks to AI-curated, voice-operated information interfaces or in the hopes pinned on emojis as a universal writing system. So after reading Scott’s book I was moved to throw some gravel at the thinking that rolls along this track: if writing is the offspring of accounting and keeps the powerful in power, then let’s unshackle ourselves and return to purity.

Who needs writing, anyway? Seen through the filter of a military analogy, writing might be like nuclear weapons (which were developed specifically by the military), or it might be like gunpowder, which was discovered by alchemists searching for life-prolonging substances hundreds of years before its use in weapons. The question is this: is writing the product of the state in every single stage of its evolution, invented de novo by administrative elites? Or is it composed of pre-existing representational practices that expanded to fill the needs of the state and complex society?

The evidence suggests that writing is actually more like gunpowder than like nuclear weapons. For one thing, in the four wellsprings of writing, it never (as far as we know) sprang forth as fully phonographic but evolved to become that – there’s usually some kind of proto-writing, and some kind of proto-proto-writing. I like to think of writing as a layered invention. First there’s the graphic invention: the notion of making a durable mark on a surface. Humans have been doing this for at least 100,000 years – the bureaucracy didn’t give humans that power. Then the symbolic invention: let’s make this mark different from all other marks and assign it a meaning that we can all agree on. Humans have been doing this for a long time, too. Then there’s the linguistic one: let’s realise that a sound, a syllable and a word are all things in the world that can be assigned a graphic symbol. This invention depends on the previous ones, and itself is made of innovations, realisations, solutions and hacks. Then comes the functional invention: let’s use this set of symbols to write a list of captives’ names, or a contract about feeding workers, or a letter to a distant garrison commander. All these moves belong to an alchemy of life that makes things go boom.

When you consider these layers of invention, you discover that early writing in Mesopotamia, for instance, had no overtly political function, as the archaeologist David Wengrow at University College London argues in What Makes Civilization? (2010). Instead, for the first 300-400 years of early cuneiform texts in the region (from about 3300-2900 BCE), Wengrow sees a bookkeeping function for managing temple-factories of the day. ‘There is hardly any use of writing for what I would view as state-like functions (eg, dynastic monuments, taxation, tribute, narratives of political events) until the Early Dynastic period,’ he told me.

We have counting that precedes economic organisation, and phonetic writing that precedes political functions

This is an even stronger strike against the administrative hypothesis than it looks, because the counting that was the precursor to writing in Mesopotamia didn’t need the state to develop. In the 1960s, the archaeologist Denise Schmandt-Besserat began studying clay tokens – cylinders, pyramids, discs, balls – thousands of which had been found all over Middle Eastern archaeological sites, though no one had explained what they were. These tokens showed up in Neolithic archaeological sites from 8000 BCE, well before the earliest states emerge in Mesopotamia. Schmandt-Besserat, whom I studied with at the University of Texas at Austin in the early 1990s, argued that the tokens went back 10,000 years. She realised that they were markers for objects: one cone per unit of grain, one diamond per unit of honey, and so forth. At first, tokens that denoted goods and objects were stored in groups; one storage method was sealing them into hollow clay balls. To overcome the obvious drawback that the contents of a sealed envelope can’t be checked, early accountants pressed the tokens into the soft, wet surface of the envelope. By the fourth millennium, scribes realised that the impressed signs made the envelopes redundant – just press the tokens into the clay, or better yet, create written signs that mimicked tokens. Then one more step of abstraction completed the journey: create written signs that capture speech-sounds and word-meanings.

The implications are clear, at least for Mesopotamia. Early states functioned without writing for nearly 3,000 years before the invention of cuneiform because they had the token system for counting. And tokens didn’t need the conditions of the state to develop – they preceded the state by 2,000 years. What we have is counting that precedes complex economic organisation as well as phonetic writing that precedes political functions. Both trajectories undermine the writing/state argument.

The administrative hypothesis lacks evidence in other regions where writing developed, as well. In China, for example, the earliest writing samples, which were divination texts carved into bone and turtle shell, date to approximately 1320 BCE, but archaeologists don’t know whether there was also administrative, propagandistic or literary writing happening at the same time. And they don’t know what preceded the carved word signs, which included names, dates and items of sacrifice, though the confident shape and execution of the characters suggests a well-developed scribal class. That, in turn, points to a complex society. But was this society administered by forms of writing? There’s no evidence that it was.

Further mysteries are posed by writing in Mesoamerica. The most prominent examples are Mayan and Zapotec writing, which date to 300 BCE and 600 BCE respectively. All the existing examples of Mesoamerican writing are engravings on rock or murals; writing on other materials, such as palm leaf, were either lost to decay or destroyed by the Spanish conquerors. Before phonetic writing there was iconography, and early writing itself featured leaders, rulers, prisoner-taking, and conquests. Nothing economic or administrative exists.

Over and over, what we see is that writing is more like gunpowder than like a nuclear bomb. In each of the four sites of the independent invention of writing, there’s either no evidence one way or the other, or there’s evidence that a proto-writing pre-dated the administrative needs of the state. Even in Mesopotamia, a phonetic cuneiform script was used for a few hundred years for accounting before writing was used for overtly political purposes. As far as the reductive argument that accountants invented writing in Mesopotamia, it’s true that writing came from counting, but temple priests get the credit more than accountants do. ‘Priests invented writing’ is a reduction I can live with – it posits writing as a tool for contacting the supernatural realm, recording the movement of spirits, inspecting the inscrutable wishes of divinities.

As it turns out, the popular ‘administrative hypothesis’ has run into headwinds among other scholars too. In the afterword to the essay collection The First Writing (2004), Stephen Houston, an anthropologist at Brown University in Rhode Island, concluded that the administrative hypothesis, though tempting, ‘remains hypothetical’. Fourteen years later, things are unchanged, especially for Mesoamerica, Houston told me in a recent email. ‘The earliest writing we have appears, where we can read it, to be resolutely about kings, gods, ritual activities, fetish objects. There are plausible grounds to think they had cadastrals [listings of land parcels and who owned them] and the like, which appear in early Colonial Mexico. But we just don’t have the direct evidence.’

Other anthropologists, meanwhile, have been looking more closely at historical instances where writing emerges outside of the state – and where states emerge without writing. Piers Kelly, a linguistic anthropologist at the Max Planck Institute for the History of Human Evolution in Munich, says that the ancient state in Hawaii never used writing while some ‘non-state small-scale societies’ did. In fact, in various corners of the Earth and throughout history, inventors have crafted alphabets and syllabaries to resist the state.

Kelly studies religiously flavoured political movements (and politically flavoured religious movements) in Southeast Asia and West Africa whose charismatic leaders have invented writing systems, often after having been inspired by otherworldly visions. Kelly points out that writing has been reinvented at least nine times in Southeast Asia since the 1840s, mainly by largely non-literate highland people whose way of life was under threat from powerful states. ‘As a resistance strategy, the introduction of rebellious scripts gave impetus to the new movements, investing their advocates with authority, and rendering marginalised languages literally visible,’ Kelly writes in a forthcoming paper.

One of my favourite instances of this is a writing system called Pahawh Hmong, invented by a Hmong farmer, Shong Lue Yang, in the late 1950s when he lived in the mountains of Vietnam. What’s remarkable about this is not only that Shong Lue was illiterate – as detailed in the fascinating book The Mother of Writing (1990) by William A Smalley, Chia Koua Vang and Gnia Yee Yang – but that he revised his system four times, with each revision being more linguistically sophisticated than the last. Shong Lue’s invention most certainly did not happen in the context of the state, nor was he a privileged scribe; he was a squirrel-hunting basket-maker and mountain rice-farmer when the writing system was first revealed to him, his believers claimed, by two mysterious visitors from heaven. No one else could read or write it. That would come later, after he had taught them.

If a letter can contain military orders, it can also contain sweet nothings

As Shong Lue’s case demonstrates, the phonetic achievements of a writing system aren’t the only ones worth noting. The French anthropologist Pierre Déléage studies the invention of writing in many cultural contexts, and distinguishes ‘unbound’ forms of writing from ‘bound’ ones. ‘Unbound’ writing includes the phonetically flexible, multifunctional information tool called the Latin alphabet that we use to communicate in, say, English or French today. Less familiar is ‘bound‘ writing, which is used to represent narrow types of speaking and often only by a small number of people. An example of bound writing is a Lakota history drawn on a blanket by the Lakota warrior Swift Dog, one of about 100 known ‘winter counts’, which were records of events recorded on buffalo hides. Keepers of the winter counts, usually men, created iconic depictions of the significant events, but these visuals weren’t all the same. Another example is the inscription on the Cascajal block, a slab of serpentine scratched with 62 symbols that was discovered in Mexico in the late 1990s that dates to 900 BCE – making it the oldest writing in the New World, though it’s undeciphered.

Such text appears similar to shamanic writing ‘devised by religious specialists, with tightly restricted, revelatory functions’, as a team of anthropologists wrote in Science in 2016. Often, bound forms of writing are used in face-to-face contexts alongside spoken language. Déléage notes that they exist in numerous North American indigenous cultures (the Ojibwa, the Lakota, the Navajo and the Kuna), in South America (the Inka, the Yagua and the Bolivian Quechua), and in Asia (the Naxi in China and the Dayak in Borneo). Déléage argues, convincingly, that to decipher bound text, you must know what it’s about, and perhaps be an expert in the chant, ritual or curse (or whatever) that it captures – hardly a useful tool for authoritative control. And, he noted, all of the writing invented in Egypt, Mesopotamia, Mesoamerica and China was bound when it emerged.

Eventually, bound writing can become unbound in the interests of the state, whether to further royal politics, run an economy, fund the elite – or all three. A huge range of state needs can pressure people to expand what they need writing for, and thus unbinding can carry the force of invention, even if it’s strictly speaking not one. Suddenly, names must be written – local ones as well as foreign ones, along with names of captives from military forays. Places where trade goods come from must be recorded, and legal contracts must be drawn up, along with standardised lists and letters to distant garrison commanders – and then someone realises that if a letter can contain military orders, it can also contain sweet nothings. All these are perpetuated among the elite literate class via scribal schools where lists of terms are standardised and transmitted across generations.

On one level, those of us who write and read owe the state a debt of gratitude. The deep history of your poetic form, your contracts and your epitaph might lie in scrawls on a cave wall or lists of royal ancestors, some of them divine, but the achievement of unbound writing stems from the needs and prerogatives of government, in the end.

As a writer of nonfiction, I can’t help but love writing’s roots in enumerating concrete objects and reality itself. The textual analyst part of me loves how Mesopotamian tokens were wrapped in clay envelopes after being impressed on the soft exterior – perhaps clay-wrapped tokens of meaning give rise to the notion that text is both a surface and an interior, and that that’s what leads us to talk so relentlessly (in English and other languages) about what is ‘in’ a given text. The poet in me wants to repurpose the heavy thumb of authority’s use of writing on behalf of the powerless. The linguist in me recognises the cognitive significance of the layers of writing’s invention, none of which the brain was evolved to do specifically but with which we have co-evolved. And as a partisan of text, I know its deep history won’t ever be erased.