We conditionally inactivated Tcf7 in CD4 expressing T cells in a mouse model of pancreatic cancer and observed changes in the tumor immune microenvironment, including more CD8+ T cells and fewer regulatory T cells, but also compensatory upregulation of PD-L1. This evidence concerns the gene CD4 and familial pancreatic carcinoma.