a, Frequency of TCRβ+ cells among donor-derived (GFP+) tumor-infiltrating cells in ‘retrogenic’ TCR bone marrow chimeras. n = 3 for each TCR. b, Expression of PD-1 and NK1.1 by donor-derived tumor-infiltrating T cells expressing indicated αβILTCk-derived TCRs in the TCR ‘retrogenic’ bone marrow chimeras. c, Frequency of PD-1+ or NK1.1+ cells among donor-derived tumor-infiltrating cells expressing the indicated TCRs. n = 3 for each TCR. d, Expression of CD4 and CD8α by donor-derived TCRβ+ thymocytes bearing the indicated TCRs in the TCR ‘regtrogenic’ bone marrow chimeras. e, Frequency of CD4+CD8+, CD4−/dullCD8−/dull, CD4+, and CD8+ T cells among donor-derived TCRβ+ thymocytes expressing the indicated TCRs. n = 3 for TCR. f, Expression of tdTomato by splenic CD19+ cells and intratumoral PD-1+ T cells (TCs) as well as αβILTCks in Rorc-CreRosa26LSL-tdTomatoPyMT mice. Data are representative of two independent experiments. g, Frequency of tdTomato+ cells among each indicated lymphocyte compartment. n = 3. h, Expression of YFP by splenic CD19+ cells, intratumoral PD-1+ TCs as well as αβILTCks, and thymic iNKT cells in PyMT mice reconstituted with YFP− bone marrow from Zbtb16-CreRosa26LSL-YFP mice. i, Frequency of YFP+ cells among indicated lymphocyte compartment. n = 4. j, Surface expression of PD-1 and CD122 on donor-derived TCRβ+ thymocytes bearing the indicated monoclonal TCR in the TCR ‘retrogenic’ bone marrow chimeras. Data are representative of three independent experiments. k, Frequency of PD-1+CD122+ T cells among donor-derived TCRβ+ thymocytes with indicated TCR. n = 3 for NK16, NK28, and NK25, n = 4 for NK186, NK22, and NK139 TCR. l, Frequency of GFP+ cells among CD8+ reporter cell line expressing indicated TCRs 24 hours after co-culturing with a cortical thymic epithelial cell line. Data are pooled from two independent experiments. m, Frequency of αβILTCk progenitors (αβILTCkPs) among donor-derived thymocytes expressing the NK139 or NK186 TCRs in B2m+/+ or B2m−/− recipient mice reconstituted with Rag1−/−B2m+/+ bone marrow cells. n = 3 for each TCR. n, Frequency of αβILTCkPs among donor-derived thymocytes in B2m+/+ or B2m−/− recipient mice reconstituted with B2m+/+ or B2m−/− bone marrow cells. n = 3 for each bone marrow chimera. All statistical data are shown as mean ± S.D (biologically independent mice in a-k and independent samples in i). Two-tailed unpaired t-test in c,e,m,n. **P < 0.01; ***P < 0.001 and n.s.: not significant.