Breastfeeding and its duration appear to have a protective effect against the risk of breast cancer, especially for women with mutations in predominantly the BRCA1 gene but also the BRCA2 gene. Here, BRCA1 is linked to breast cancer.