Selection conversion suggests that protective alleles for increased XBP1 expression have been selected for to a greater degree in Europeans, who also have a lower risk of beta-cell dysfunction and therefore lower frequency of young and lean onset diabetes. Here, XBP1 is linked to diabetes mellitus.