To investigate the influence of the liver microenvironment on T cell function, we isolated antigen-specific CD45.1+CXCR6+ CD8 T cells from the livers of mice with persistent or resolved infection and transferred them into recently infected mice which cleared infection or developed persistent infection, respectively (Extended Data Fig. 6a). Here, CD8A is linked to infection.