We identified polyfunctional mucosal CD4+ and CD8+ T cells that co-produce IFNγ, other pro-inflammatory cytokines (e.g. IL22, IL17A) and cytotoxic molecules, including granzyme B, as key effector cells in CPI colitis. Here, CD4 is linked to colitis.