Maize was domesticated from the wild grass teosinte in southern Mexico by 6700 BC.[31] The potato (8000 BC), tomato,[32] pepper (4000 BC), squash (8000 BC) and several varieties of bean (8000 BC onwards) were domesticated in the New World.[33]