Multivariable Cox regression analysis showed that high CD3+ T cell density in the tumor invasive margin had the strongest prognostic impact and was independently associated with longer cancer-specific survival (HR for high vs. low 0.33; CI 0.16–0.69; ptrend = 0.001), and high CD3+ T cell density (ptrend = 0.025) and high CD8+ T cell density (ptrend = 0.042) in the tumor center also associated with longer cancer-specific survival in multivariable Cox regression analysis. Here, CD8A is linked to neoplasm.