History of agriculture
Wild grains were collected and eaten from at least 20,000 BC. From around 9500 BC, the eight Neolithic founder crops – emmer wheat, einkorn wheat, hulled barley, peas, lentils, bitter vetch, chick peas, and flax – were cultivated in the Levant. Rye may have been cultivated earlier but this remains controversial. Rice was domesticated in China by 6200 BC with earliest known cultivation from 5700 BC, followed by mung, soy and azuki beans. Pigs were domesticated in Mesopotamia around 11,000 BC, followed by sheep between 11,000 BC and 9000 BC. Cattle were domesticated from the wild aurochs in the areas of modern Turkey and Pakistan around 8500 BC. Sugarcane and some root vegetables were domesticated in New Guinea around 7000 BC. Sorghum was domesticated in the Sahel region of Africa by 5000 BC. In the Andes of South America, the potato was domesticated between 8000 BC and 5000 BC, along with beans, coca, llamas, alpacas, and guinea pigs. Bananas were cultivated and hybridized in the same period in Papua New Guinea. In Mesoamerica, wild teosinte was domesticated to maize by 4000 BC. Cotton was domesticated in Peru by 3600 BC. Camels were domesticated late, perhaps around 3000 BC.
Ancient history
The 10th millennium BC is the earliest given date for the invention of agriculture and the beginning of the ancient era. Göbekli Tepe was erected by hunter-gatherers in the 10th millennium BC (c. 11,500 years ago), before the advent of sedentism. Together with Nevalı Çori, it has revolutionized understanding of the Eurasian Neolithic. In the 7th millennium BC, Jiahu culture began in China. By the 5th millennium BC, the late Neolithic civilizations saw the invention of the wheel and the spread of proto-writing. In the 4th millennium BC, the Cucuteni-Trypillian culture in the Ukraine-Moldova-Romania region develops. By 3400 BC, "proto-literate" cuneiform is spread in the Middle East. The 30th century BC, referred to as the Early Bronze Age II, saw the beginning of the literate period in Mesopotamia and Ancient Egypt. Around the 27th century BC, the Old Kingdom of Egypt and the First Dynasty of Uruk are founded, according to the earliest reliable regnal eras.