Photodynamic therapy with a novel photosensitizer inhibits DSS-induced ulcerative colitis in rats via the NF-κB signaling pathway. Here, NFKB1 is linked to ulcerative colitis.