Around 4000 BC, but it’s up for debate. To be clear, Sumerians were not the first people to develop a form of writing. It’s clear now that the Phoenicians developed writing before they did, and more recently it’s evident that that was an off-shoot of Old South Arabian.