Maternal vitamin D deficiency is associated with bacterial vaginosis in the first trimester of pregnancy.