Writing originated independently in three places: Mesopotamia around 3200 BCE, China around 1250 BCE, and Mesoamerica around 650 BCE. In Mesopotamia, writing evolved from a system of clay tokens used for accounting of commodities starting around 7500 BCE. These tokens were eventually impressed on clay tablets, removing the need for physical tokens. Around 3000 BCE, phonetic symbols were created to represent sounds, connecting writing to spoken language. Writing was initially only used for economic purposes, but around 2700 BCE began to be used for funerary inscriptions as well.