Mothers in the intervention arm breastfed for a longer duration than did the control subjects ( median , 12.0 vs 6.5 weeks , respectively ; P = .02 ) Mothers in the intervention arm were less likely to quit breastfeeding over the first 6 months after delivery ( hazard ratio , 0.79 ; 95 % confidence interval , 0.65-0 .97 ) .