Over 5,000 years ago, the history of humanity radically changed direction when writing was invented in Sumer, the southern part of present-day Iraq. For the next three millennia, kings, aristocrats, and slaves all made intensive use of cuneiform script to document everything from royal archives to family records.