Variation in ERAP1 and ERAP2 genes underwent selection during the Black Death and impact autoimmune disease susceptibility. The gene discussed is ERAP2; the disease is autoimmune disease.