Here the authors show that an agonist for LRH-1/NR5A2, a nuclear receptor known to be protective against beta cell apoptosis, inhibits immune-mediated inflammation and hyperglycemia in T1DM mouse models. Here, NR5A2 is linked to type 1 diabetes mellitus.