In the present study, we demonstrate that the combined evaluation of CD8+ or CD163+ immune cell densities in the tumor center and invasive margin allows better stratification and improves the prognostic value of TNM staging in BCa. This evidence concerns the gene CD8A and neoplasm.