After adjustment for age, body mass index, family history of diabetes, and other factors, the relative risk of developing type 2 diabetes was 28 percent lower in women whose consumption of vitamin D from all sources was in the top one-fifth of all participants compared to the those whose intake placed them in the lowest fifth.