Abstract
Infectious diseases are among the strongest selective pressures driving human evolution1,2. This includes the single greatest mortality event in recorded history, the first outbreak of the second pandemic of plague, commonly called the Black Death, which was caused by the bacterium Yersinia pestis3. This pandemic devastated Afro-Eurasia, killing up to 30–50% of the population4. To identify loci that may have been under selection during the Black Death, we characterized genetic variation around immune-related genes from 206 ancient DNA extracts, stemming from two different European populations before, during and after the Black Death. Immune loci are strongly enriched for highly differentiated sites relative to a set of non-immune loci, suggesting positive selection. We identify 201 variants that are highly differentiated within the London dataset. Combining evidence from during the Black Death, our replicate population in Denmark, and function evidence, rs2549794 near ERAP2 emerges as the strongest candidate for positive selection. The selected allele at rs2549794 is associated with the production of a full-length (versus truncated) ERAP2 transcript, variation in cytokine response to Y. pestis and increased ability to control intracellular Y. pestis in macrophages. Finally, we show that protective variants overlap with alleles that are today associated with increased susceptibility to autoimmune diseases, providing empirical evidence for the role played by past pandemics in shaping present-day susceptibility to disease.
This is a preview of subscription content, access via your institution
Access options
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
$32.99 / 30 days
cancel any time
Subscribe to this journal
Receive 51 print issues and online access
$199.00 per year
only $3.90 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to full article PDF
Prices may be subject to local taxes which are calculated during checkout




Similar content being viewed by others
Data availability
Hybridization capture data from the ancient individuals have been deposited in the NCBI Sequence Read Archive (SRA) under BioProject PRJNA798381. Expression data have been deposited into the NCBI Gene Expression Omnibus (GEO) under project GSE194118 (for macrophages) and the NCBI SRA under project accession PRJNA871128 (for PBMCs). Cytokine data is available in Supplementary Table 8 and CFU data in Supplementary Table 9.
Code availability
Scripts for all data analyses are available at github.com/TaurVil/VilgalysKlunk_yersinia_pestis/.
Change history
15 January 2025
A Correction to this paper has been published: https://doi.org/10.1038/s41586-024-08522-6
References
Inhorn, M. C. & Brown, P. J. The anthropology of infectious disease. Anu. Rev. Anthrolpol. 19, 89–117 (1990).
Fumagalli, M. et al. Signatures of environmental genetic adaptation pinpoint pathogens as the main selective pressure through human evolution. PLoS Genet. 7, e1002355 (2011).
Bos, K. I. et al. A draft genome of Yersinia pestis from victims of the Black Death. Nature 478, 506–510 (2011).
Benedictow, O. J. The Black Death, 1346–1353: The Complete History (Boydell Press, 2004).
Quintana-Murci, L. & Clark, A. G. Population genetic tools for dissecting innate immunity in humans. Nat. Rev. Immun. 13, 280 (2013).
Karlsson, E. K., Kwiatkowski, D. P. & Sabeti, P. C. Natural selection and infectious disease in human populations. Nat. Rev. Genet. 15, 379–393 (2014).
Allison, A. C. Genetic control of resistance to human malaria. Curr. Opin. Immunol. 21, 499–505 (2009).
Kerner, G. et al. Human ancient DNA analyses reveal the high burden of tuberculosis in Europeans over the last 2,000 years. Am. J. Hum. Genet. 108, 517–524 (2021).
Varlık, N. New science and old sources: why the Ottoman experience of plague matters. The Medieval Globe 1, 9 (2014).
Stathakopoulos, D. C. Famine and Pestilence in the Late Roman and Early Byzantine Empire: A Systematic Survey of Subsistence Crises and Epidemics (Routledge, 2017).
Green, M. H. The four Black Deaths. Am. Hist. Rev. 125, 1601–1631 (2021).
DeWitte, S. N. & Wood, J. W. Selectivity of Black Death mortality with respect to preexisting health. Proc. Natl Acad. Sci. USA 105, 1436–1441 (2008).
Earn, D. J., Ma, J., Poinar, H., Dushoff, J. & Bolker, B. M. Acceleration of plague outbreaks in the second pandemic. Proc. Natl Acad. Sci. USA 117, 27703–27711 (2020).
Immel, A. et al. Analysis of genomic DNA from medieval plague victims suggests long-term effect of Yersinia pestis on human immunity genes. Mol. Biol. Evol. 38, 4059–4076 (2021).
Di, D., Simon Thomas, J., Currat, M., Nunes, J. M. & Sanchez-Mazas, A. Challenging ancient DNA results about putative HLA protection or susceptibility to Yersinia pestis. Mol. Bio. Evol. 39, 1537–1719 (2022).
Grainger, I., Hawkins, D., Cowal, L. & Mikulski, R. The Black Death Cemetery, East Smithfield, London (Museum of London Archaeology Service, 2008).
Klunk, J. et al. Genetic resiliency and the Black Death: no apparent loss of mitogenomic diversity due to the Black Death in medieval London and Denmark. Am. J. Phys. Anthropol. 169, 240–252 (2019).
Morin, P. A., Chambers, K. E., Boesch, C. & Vigilant, L. Quantitative polymerase chain reaction analysis of DNA from noninvasive samples for accurate microsatellite genotyping of wild chimpanzees (Pan troglodytes verus). Mol. Ecol. 10, 1835–1844 (2001).
Gronau, I., Hubisz, M. J., Gulko, B., Danko, C. G. & Siepel, A. Bayesian inference of ancient human demography from individual genome sequences. Nat. Genet. 43, 1031–1034 (2011).
Bollback, J. P., York, T. L. & Nielsen, R. Estimation of 2Nes from temporal allele frequency data. Genetics 179, 497–502 (2008).
Andrés, A. M. et al. Balancing selection maintains a form of ERAP2 that undergoes nonsense-mediated decay and affects antigen presentation. PLoS Genet. 6, e1001157 (2010).
Ye, C. J. et al. Genetic analysis of isoform usage in the human anti-viral response reveals influenza-specific regulation of ERAP2 transcripts under balancing selection. Genome Research 28, 1812–1825 (2018).
Pachulec, E. et al. Enhanced macrophage M1 polarization and resistance to apoptosis enable resistance to plague. J. Infect. Dis. 216, 761–770 (2017).
Shannon, J. G., Bosio, C. F. & Hinnebusch, B. J. Dermal neutrophil, macrophage and dendritic cell responses to Yersinia pestis transmitted by fleas. PLoS Pathog. 11, e1004734 (2015).
Pujol, C. & Bliska, J. B. The ability to replicate in macrophages is conserved between Yersinia pestis and Yersinia pseudotuberculosis. Infect. Immun. 71, 5892–5899 (2003).
Arifuzzaman, M. et al. Necroptosis of infiltrated macrophages drives Yersinia pestis dispersal within buboes. JCI Insight 3, e122188 (2018).
Nédélec, Y. et al. Genetic ancestry and natural selection drive population differences in immune responses to pathogens. Cell 167, 657–669 (2016).
Quach, H. et al. Genetic adaptation and neandertal admixture shaped the immune system of human populations. Cell 167, 643–656 (2016).
Tanioka, T. et al. Human leukocyte-derived arginine aminopeptidase: the third member of the oxytocinase subfamily of aminopeptidases. J. Biol. Chem. 278, 32275–32283 (2003).
Saveanu, L. et al. Concerted peptide trimming by human ERAP1 and ERAP2 aminopeptidase complexes in the endoplasmic reticulum. Nat. Immun. 6, 689–697 (2005).
Yao, Y., Liu, N., Zhou, Z. & Shi, L. Influence of ERAP1 and ERAP2 gene polymorphisms on disease susceptibility in different populations. Hum. Immunol. 80, 325–334 (2019).
Saulle, I., Vicentini, C., Clerici, M. & Blasin, M. An overview on ERAP roles in infectious diseases. Cells 9, 720 (2020).
Tedeschi, V. et al. The impact of the ‘mis-peptidome’ on HLA class I-mediated diseases: contribution of ERAP1 and ERAP2 and effects on the immune response. Int. J. Mol. Sci. 21, 9608 (2020).
Lorente, E. et al. Modulation of natural HLA-B*27:05 ligandome by ankylosing spondylitis-associated endoplasmic reticulum aminopeptidase 2 (ERAP2). Mol. Cell. Proteomics 19, P994–P1004 (2020).
Bergman, M. A., Loomis, W. P., Mecsas, J., Starnbach, M. N. & Isberg, R. R. CD8+ T cells restrict Yersinia pseudotuberculosis infection: bypass of anti-phagocytosis by targeting antigen-presenting cells. PLoS Pathog. 5, e1000573 (2009).
Szaba, F. M. et al. TNFα and IFNγ but not perforin are critical for CD8 T cell-mediated protection against pulmonary Yersinia pestis infection. PLoS Pathog. 10, e1004142 (2014).
Saulle, I. et al. ERAPs reduce in vitro HIV infection by activating innate immune response. J. Immunol. 206, 1609–1617 (2021).
Jordan, W. C. The Great Famine: Northern Europe in the Early Fourteenth Century (Princeton Univ. Press, 1997).
Hoyle, R. in Famine in European History (eds Alfani, G. & Gráda, C. Ó.) 141–165 (Cambridge Univ. Press, 2017).
DeWitte, S. & Slavin, P. Between famine and death: England on the eve of the Black Death—evidence from paleoepidemiology and manorial accounts. J. Interdiscipl. Hist. 44, 37–60 (2013).
Ratner, D. et al. Manipulation of interleukin-1β and interleukin-18 production by Yersinia pestis effectors YopJ and YopM and redundant impact on virulence. J. Biol. Chem. 291, 9894–9905 (2016).
Di Narzo, A. F. et al. Blood and intestine eQTLs from an anti-TNF-resistant Crohn’s disease cohort inform IBD genetic association loci. Clin. Transl. Gastroen. 7, e177 (2016).
Sidell, J., Thomas, C. & Bayliss, A. Validating and improving archaeological phasing at St. Mary Spital, London. Radiocarbon 49, 593–610 (2007).
Krylova, O. & Earn, D. J. Patterns of smallpox mortality in London, England, over three centuries. PLoS Biol. 18, e3000506 (2020).
Greater London, Inner London & Outer London population & density history. Demographia http://www.demographia.com/dm-lon31.htm (2001).
Consortium, G. P. A global reference for human genetic variation. Nature 526, 68–74 (2015).
Acknowledgements
We thank all members of the Barreiro laboratory and the Poinar laboratory for their constructive comments and feedback. We thank J. Tung for her comments and edits to the manuscript. Computational resources were provided by the University of Chicago Research Computing Center. Sequencing was performed at the Farncombe Sequencing Facility McMaster University. We thank the Cytometry and Biomarkers platform at the Institut Pasteur for support in conducting this study, with a special thanks to C. Petitdemange for help running the Luminex assay. We thank X. Zhang for assistance in simulating allele frequency changes under neutral evolution. This work was supported by grant R01-GM134376 to L.B.B., H.P. and J.P.-C., a grant from the Wenner-Gren Foundation to J.F.B. (8702), and the UChicago DDRCC, Center for Interdisciplinary Study of Inflammatory Intestinal Disorders (C-IID) (NIDDK P30 DK042086). The SSHRC Insight Development Grant supported the collection of the Danish samples (430-2017-01193). H.N.P. was supported by an Insight Grant no. 20008499 from the Social Sciences and Humanities Research Council of Canada (SSHRC) and The Canadian Institute for Advanced Research under the Humans and the Microbiome programme. T.P.V. was supported by NIH F32GM140568. X.C. and M. Steinrücken were supported by grant R01GM146051. We also thank the University of Chicago Genomics Facility (RRID:SCR_019196), especially P. Faber, for their assistance with RNA sequencing. H.P. thanks D. Poinar for continued support and manuscript suggestions and editing.
Author information
Authors and Affiliations
Contributions
L.B.B. and H.N.P. directed the study. J.K. designed the enrichment assays and generated ancient genomic data. T.P.V. led all data and computational analyses, with contributions from J.-C.G. X.C. performed all analyses to estimate selection coefficients under the supervision of M. Steinrücken. J.F.B., R.S. and V.Y. performed challenge experiments with macrophages and heat-killed Y. pestis. M. Shiratori and A. Dumaine performed the infection experiments on PBMCs and generated the single-cell RNA-sequencing data, with assistance from D.E. and D.M. C.E.D. and J.P.-C. performed and designed the infection experiments with live Y. pestis on macrophages and generated both cytokine and CFU data, with assistance from J.M. and R.B. C.J.Y. and M.B. designed the probes to quantify the isoform encoding the short version of ERAP2 and M.I.P. performed the experiments. R.R., S.N.D., J.A.G. and J.L.B. provided access to samples, archaeological information, including dating, and other relevant information. A.C. and N.V. provided insights into historical context. K.E. and G.B.G. provided additional sampling and bioinformatic processing and cluster maintenance. A. Devault and J.-M.R. provided insight on targeted enrichment and modified versions of baits used for immune enrichment. G.A.R. provided genomic input on loci and contributed financially to the sequencing of targets. T.P.V., J.K., H.N.P. and L.B.B. wrote the manuscript, with input from all authors.
Corresponding authors
Ethics declarations
Competing interests
J.K., A. Devault and J.-M.R. declare financial interest in Daicel Arbor Biosciences, which provided the myBaits hybridization capture kits for this work. All other authors declare no competing interests.
Peer review
Peer review information
Nature thanks M. Thomas P. Gilbert and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data figures and tables
Extended Data Fig. 1 Differences in recombination rate and background selection are insufficient to explain the marked enrichment of high FST values among immune loci.
Comparison of recombination rate (A) and background selection levels (B) between neutral loci and our candidate regions. Candidate regions were stratified into those which were tested and those which were candidates for positive selection based on high differentiation in London pre- vs post-BD. (C) Forward simulations matched for the rates of recombination and background selection of the regions targeted in our study show a slight enrichment of highly differentiated sites in candidate regions, but far from the level of enrichment observed in our collected data (D), replicated from Fig. 2a for comparison. For example, whereas our data differentiation at immune loci exceeded the 99th percentile of neutral variants at 4.3x the rate expected by chance, the same enrichment is less than 1.4x in the simulated data.
Extended Data Fig. 2 Estimates of the selection coefficients for the four SNPs of interest and power of the inference procedure.
(A) Distributions of \({\hat{s}}_{{\rm{MLE}}}\) for rs2549794, the strongest candidate for positive selection, when replicates are simulated based on the bootstrapped allele frequency distributions as initial conditions and bootstrap-corrected estimates \({\widetilde{s}}_{{\rm{MLE}}}\). Whiskers on the violin plots label the 2.5-, 50-, and 97.5-percentiles of their respective distributions. (B) ROC and (C) Precision-Recall curves for the estimation procedure to distinguish replicates under selection from those under neutrality.
Extended Data Fig. 3 Principal components of gene expression for macrophages stimulated with heat-killed Y. pestis.
The first principal component clearly separates stimulated samples from matched controls.
Extended Data Fig. 4 Response to Y. pestis is similar between macrophages stimulated with heat-killed and live Y. pestis.
Effect size of Y. pestis stimulation compared between heat-killed Y. pestis (x-axis, n = 33 individuals) and live Y. pestis (y-axis, n = 8 individuals). (A) shows all genes, with a blue line representing the best fit line (r = 0.88). (B) compares effect sizes at genes near candidates for positive selection profiled in both expression datasets (red: heat-killed; purple: live bacteria). Error bars represent the standard error in estimating the effect size. Asterisks placed near the point estimate of each value represent the significance: *** p < 0.001; ** p < 0.01; * p < 0.05.
Extended Data Fig. 5 Transcriptional changes of genes nearby candidate loci in response to bacterial and viral stimuli.
Data are derived from Nedelec et al27. and Quach et al28 Nedelec et al. measured the gene expression response of monocyte-derived macrophages to infection with two live intracellular bacteria: Listeria monocytogenes (a Gram-positive bacterium) and Salmonella typhimurium (a Gram-negative bacterium). Quach et al. characterized the transcriptional response at 6 h of primary monocytes to bacterial and viral stimuli ligands activating Toll-like receptor pathways (TLR1/2, TLR4, and TLR7/8) and live influenza virus. The data for Y. pestis are the fold change responses observed in response to heat-killed bacteria. A negative estimate in plot (purple) indicates that the gene is downregulated and a positive value (red) indicates that the gene is up-regulated. The statistical support for the reported changes is given by the associated p values. Larger circle sizes represent smaller p values and empty circles refer to cases where the gene was not expressed in that dataset.
Extended Data Fig. 7 UMAP project of single cell data.
UMAP projection of single-cell RNA sequencing data of non-infected cells and cells infected with live Y. pestis for five hours, after integrating samples. Major immune cell types cluster separately and cells are colored by the cell type to which they were assigned.
Extended Data Fig. 8 Transcriptional changes of genes nearby candidate loci in response to Y. pestis infection across cell types.
For each cell type profiled using single-cell RNA sequencing, we show the effect of Y. pestis infection upon gene expression. A negative estimate (purple) indicates that the gene is downregulated and a positive value (red) indicates that the gene is up-regulated. The statistical support for the reported changes is given by the associated p values. Larger circle sizes represent smaller p values and empty circles refer to cases where the gene was not expressed in that cell type.
Extended Data Fig. 9 Expression of ERAP2 isoforms.
Bioanalyzer traces showing the results of the PCR amplification of cDNA across the exon 10 splice junction from macrophages of 10 individuals with different genotypes for the slice variant rs2248374. The genotype of each individual is shown on top. A negative PCR control was also performed using water. The G allele at rs2248374 is predicted to produce an elongated exon 10 containing two premature stop codons (red rectangles), leading to nonsense mediated decay.
Extended Data Fig. 10 Schematics for estimating selection coefficients.
The time axis serves as an approximate reference of the relative sampling times for the empirical samples. Dashed vertical lines indicate the relative sampling time for each group of samples considered in the analysis, and the floating boxes with orange and blue dots represent pools of samples from a bi-allelic locus. Above and below the time axis are sketches that respectively correspond to the simulation scheme and the likelihood computations. The shaded red horizontal tree represents the population-continuity along approximate time (x-axis), with the Black Death pandemic occurring in the dark shaded period. The shortened branch with a skull at the end represents people who died of the disease. In each simulated replicate, ∆p and −∆p mark the respective changes of allele frequency during the pandemic in the mid-pandemic and post-pandemic sample pools. In the inference schematics, each horizontal straight line represents a sampling scheme from which a likelihood was computed. Lightning bolts labeled with s or −s represent the selection coefficients.
Supplementary information
Supplementary Information
Supplementary Methods, References, Fig. 1 (Correcting for ancient genomic damage), Fig. 2 (Power to identify protective alleles against Black Death), Fig. 3 (Log-likelihood as a function of the selection coefficient s for each target SNP) and Fig. 4 (Distributions of \({\hat{s}}_{{\rm{MLE}}}\) for simulated data starting with the pre-pandemic frequencies of the four target SNPs).
Supplementary Tables 1–10
Supplementary Table 1 (Individuals sampled for ancient DNA analysis), Table 2 (Loci used for Exon, GWAS and neutral bait design), Table 3 (hg18 positions targeted in Exon captures), Table 4 (Highly differentiated variants), Table 5 (Estimates of selection coefficients), Table 6 (Changes in gene expression following Y. pestis stimulation), Table 7 (Cytokine results), Table 8 (Cytokine data), Table 9 (Colony-forming unit data) and Table 10 (Interaction effects between ERAP2 genotype and Y. pestis stimulation).
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Klunk, J., Vilgalys, T.P., Demeure, C.E. et al. Evolution of immune genes is associated with the Black Death. Nature 611, 312–319 (2022). https://doi.org/10.1038/s41586-022-05349-x
Received:
Accepted:
Published:
Issue date:
DOI: https://doi.org/10.1038/s41586-022-05349-x
This article is cited by
-
Evaluating the causal effect of circulating proteome on the risk of Juvenile idiopathic arthritis: an omics pipeline study
Pediatric Rheumatology (2025)
-
Detection of positive selection on depression-associated genes
Heredity (2025)
-
SimOutbreakSelection: a simulation-based tool to optimise sampling design and analysis strategies for detecting epidemic-driven selection
Nature Communications (2025)
-
Ancient DNA HLA typing reveals significant shifts in frequency in Europe since the Neolithic
Scientific Reports (2025)
-
Insufficient evidence for natural selection associated with the Black Death
Nature (2025)
Alan Frier
Very interesting. My wife has a blood disease homozygous EE haemoglobin. Some SE Asians have the single E genome along with the dominant A genome that most of us have, however the double EE in haemoglobin is very rare.
I read a study ( link added below) from a team including the current Cambodian government along with a university in BC Canada and the very same university my wife's samples were being sent to - Oxford University Hospital, United Kingdom. The study evolves samples being taken from women in just a few communes in rural Prey Veng Province about twenty years ago.
Many years before that Pol Pot was scared of people from this province as they weren’t starving or dying from overwork or whatever at the same rate as other provinces during the war. He considered some people from Prey Veng to be ‘superhuman’. Point being that a mutation or disease can have unusual benefits to the genetic code as well as the obvious defects.
https://academic.oup.com/jn...