The exposure to maternal GDM in the present sample predicted lower total testosterone and lower SHBG levels, and maternal type 1 or 2 diabetes predicted PCOS according to clinical and biochemical signs in women, but this did not explain the difference between women born preterm and their peers born at term. The gene discussed is SHBG; the disease is polycystic ovary syndrome.