We estimated the relative risk (RR) for each quintile of energy-adjusted fiber and magnesium intake compared with the lowest quintile by means of Cox proportional hazards analysis stratified by age. Age was used as the primary time-dependent variable in all models, with entry time defined as the subject's age at recruitment and exit time as the date of diagnosis of diabetes (International Statistical Classification of Diseases, 10th Revision, E10, E11, E13, and E14), death, or return of the last follow-up questionnaire. We used information on covariates obtained from the baseline examination in multivariate analyses, including sex, body mass index, waist circumference, educational achievement (no vocational training or in training, vocational training, technical school, technical college, or university degree), occupational activity (light, moderate, or heavy), sports activity (0, 0.1-4.0, or >4.0 h/wk), cycling (0, 0.1-2.4, 2.5-4.9, or ≥5 h/wk), smoking (never, past, current <20 cigarettes per day, or current ≥20 cigarettes per day), total energy intake, alcohol intake, carbohydrate intake, and the ratios of polyunsaturated and monounsaturated fatty acids to saturated fatty acids in the diet. The significance of linear trends across quintiles of fiber and magnesium intake was tested by assigning each participant the median value for the quintile and modeling this value as a continuous variable.36 Because risk estimates were similar for men and women, we pooled both sexes in our analyses. These statistical analyses were performed with SAS statistical software, release 9.1 (SAS Institute Inc, Cary, NC).