In this study, we found that Basic Leucine Zipper ATF-Like Transcription Factor (BATF), a transcription factor downstream of IL-21 signaling, is critical to maintain CD8+ T cell effector function within the tumor. Here, CD8A is linked to neoplasm.