We analyzed CD8+ and Foxp3+ TILs in combination with HEVs to determine their prognostic role in advanced gastric cancer (AGC). Here, CD8A is linked to gastric cancer.