Mendelian randomization analysis indicated a positive causal relationship between IBD and AS, pinpointing rs2193041 as a key SNP influencing IFNG. The gene discussed is IFNG; the disease is inflammatory bowel disease.