The ancestors of those types were domesticated between 6,000 and 8,000 years ago in Central and South America: beans 2,500 years old have been preserved in graves in the Andes. (On their introduction to Europe, they at once largely displaced favas as the everyday sort of bean.)