Overall, these data reveal a potential mechanism by which genetic predisposition shapes T cell function in autoimmunity and identify miRNAs and BACH2 as potentially druggable targets for the treatment of PSC. Here, BACH2 is linked to Autoimmunity.