Tumor-infiltrating exhausted CD8+ T cells dictate reduced survival in premenopausal estrogen receptor–positive breast cancer. Here, ESR1 is linked to breast carcinoma.