Does breastfeeding prevent the metabolic syndrome, or does the metabolic syndrome prevent breastfeeding?

Does breastfeeding prevent the metabolic syndrome, or does the metabolic syndrome prevent breastfeeding?