In addition, according to post-GWAS analysis, five genes showed significant causal relationships with AIH and four genes with PBC, of which AIF1-positive B cells may play an important role in AIH, and M1 macrophages may play an important role in PBC progression.Our findings suggest a complex role for EBV in AILD pathogenesis, potentially acting as a double-edged sword. Here, AIF1 is linked to angioimmunoblastic T-cell lymphoma.