Cuneiform emerged in southern Mesopotamia around 3400 to 3200 BCE, when Sumerian accountants in cities like Uruk began pressing reed styluses into soft clay to record goods, grain, and livestock. The wedge-shaped marks (the name comes from Latin "cuneus," meaning wedge) were at first simple pictographs that gradually became more abstract and phonetic over several centuries.
Because it began as a bookkeeping tool, cuneiform is among the earliest known systems of writing, and it was later adapted to write many languages, including Akkadian, Hittite, and Old Persian. It remained in use for roughly three thousand years before dying out in the first centuries CE.