By 8000 BC, farming was entrenched on the banks of the Nile. About this time, agriculture was developed independently in the Far East, probably in China, with rice rather than wheat as the primary crop. Maize was domesticated from the wild grass teosinte in southern Mexico by 6700 BC.