In our cohort, higher peritumoral PD-L1+ cell density was an independent risk factor for BCR, while higher peritumoral CD20+ cell density was independently associated with the development of metastatic disease. This evidence concerns the gene CD274 and metastatic neoplasm.