Here we show that in a mouse melanoma model, in the tumor-draining lymph nodes (TDLN) rather than in the tumors themselves, stem-like CD8+ T cells differentiate into TRMs in a TGF-β and tumor antigen dependent manner. The gene discussed is CD8A; the disease is neoplasm.