KIR3DL1 and infection: Our model identifies a combination of reproductive selection and selection from HLA-evading pathogens as critical in allowing KIR A and B to emerge, but also shows that including an infection survival advantage for individuals with strongly inhibited NK cells makes a balance between A and B, alongside HLA alleles encoding C1 and C2 ligands, more likely.