Greater infiltration of CD3-positive (p = 0.001), Foxp3-positive (p < 0.001), and PD1-positive cells (p = 0.001); lesser infiltration of CD11b-positive (p = 0.005) cells; and a higher prevalence of Bacillus cereus (p = 0.006) were found in AIG-related gastric cancer patients. Here, FOXP3 is linked to gastric cancer.