Modern humans originated in Africa and migrated to Europe and Asia around 135,000 years ago, eventually replacing Neanderthals in Europe. The development of agriculture began around 12,000 years ago in the Middle East, as people began cultivating plants and domesticating animals. This Neolithic Revolution then spread to other parts of Eurasia and independently developed in at least three areas of the Americas. While agriculture provided benefits like increased population and new technologies, it also resulted in greater social inequality and environmental degradation compared to foraging societies.