Correction to: Nature https://doi.org/10.1038/s41586-023-05726-0 Published online 1 March 2023

In the version of this article initially published, the affiliation listed for David Caramelli was incorrect (Kazan Federal University, Kazan, Russia). The affiliation has been corrected to the Department of Biology, University of Florence, Florence, Italy in the HTML and PDF versions of the article.