In the causal mediation analysis, we found that a small proportion of the effect of PRS on PC status in persons with IBD was mediated through the expression level of the RBPMS gene. This evidence concerns the gene RBPMS and inflammatory bowel disease.