Women who have taken the contraceptive pill are protected from some types of cancer for as long as 30 years, according to new research.

Those who have used the pill are less likely to have bowel cancer, endometrial cancer or ovarian cancer than women who had never taken it, a study at the University of Aberdeen found.

Researchers also looked at the risk of all types of cancer in women who have taken the pill during their reproductive years and found it does not lead to new cancer risks later in life.

The results are the latest published from the longest-running study in the world into the effects of taking the contraceptive pill.

Established by the Royal College of General Practitioners' in 1968, the Oral Contraception Study was set up to look at the long-term health effects of oral contraceptives.

The latest study, led by Dr Lisa Iversen, relates to 46,000 women followed for up to 44 years.

Dr Iversen, research fellow in the Institute of Applied Health Sciences at the university, said: "Because the study has been going for such a long time we are able to look at the very long-term effects, if there are any, associated with the pill.

13 ways to help prevent cancer Show all 13 1 / 13 13 ways to help prevent cancer 13 ways to help prevent cancer Stopping smoking. This notoriously difficult habit to break sees tar build-up in the lungs and DNA alteration and causes 15,558 cancer deaths a year 13 ways to help prevent cancer Avoiding the sun, and the melanoma that comes with overexposure to harmful UV rays, could help conscientious shade-lovers dodge being one of the 7,220 people who die from it 13 ways to help prevent cancer A diet that is low in red meat can help to prevent bowel cancer, according to the research - with 30 grams a day recommended for men, and 25 a day recommended for women 13 ways to help prevent cancer Foods high in fibre, meanwhile, can further make for healthier bowels. Processed foods in developed countries appear to be causing higher rates of colon cancer than diets in continents such as Africa, which have high bean and pulse intakes 13 ways to help prevent cancer Two servings of fruit and three servings of vegetables a day were given as the magic number for good diet in the research. Overall, diet causes only slightly fewer cancer deaths than sun exposure in Australia, at 7,000 a year 13 ways to help prevent cancer Obesity and being overweight, linked to poor diet and lack of exercise, causes 3,917 deaths by cancer a year on its own Getty 13 ways to help prevent cancer Dying of a cancer caused by infection also comes in highly, linked to 3,421 cancer deaths a year. Infections such as human papilloma virus - which can cause cervical cancer in women - and hepatitis - can be prevented by vaccinations and having regular check-ups 13 ways to help prevent cancer Cutting back on drinks could reduce the risk of cancers caused by alcohol - such as liver cancer, bowel cancer, breast cancer and mouth cancer - that are leading to 3,208 deaths a year 2014 Getty Images 13 ways to help prevent cancer Sitting around and not getting the heart pumping - less than one hour's exercise a day - is directly leading to about 1,800 people having lower immune functions and higher hormone levels, among other factors, that cause cancers 2011 Getty Images 13 ways to help prevent cancer Hormone replacement therapy, which is used to relieve symptoms of the menopause in women, caused 539 deaths from (mainly breast) cancer in Australia last year. It did, however, prevent 52 cases of colorectal cancers 2003 Getty Images 13 ways to help prevent cancer Insufficient breastfeeding, bizarrely, makes the top 10. Breastfeeding for 12 months could prevent 235 cancer cases a year, said the research AFP/Getty Images 13 ways to help prevent cancer Oral contraceptives, like the Pill, caused about 105 breast cancers and 52 cervical cancers - but it also prevented about 1,440 ovarian and uterine (womb) cases of cancer last year 2006 Getty Images 13 ways to help prevent cancer Taking aspirin also prevented 232 cases in the Queensland research of colorectal and oesophagal cancers - but as it can also cause strokes, is not yet recommended as a formal treatment against the risk of cancer

"What we found from looking at up to 44 years' worth of data was that having ever used the pill, women are less likely to get colorectal, endometrial and ovarian cancer.

"So, the protective benefits from using the pill during their reproductive years are lasting for at least 30 years after women have stopped using the pill.

"We were also interested in what the overall balance of all types of cancer is amongst women who have used the pill as they enter the later stages of their life.

"We did not find any evidence of new cancer risks appearing later in life as women get older.

Cancer Research's new ad is a live colonoscopy

"These results from the longest-running study in the world into oral contraceptive use are reassuring.

"Specifically, pill users don't have an overall increased risk of cancer over their lifetime and that the protective effects of some specific cancers last for at least 30 years. "

The study, which has received funding from bodies including the Medical Research Council, Imperial Cancer Research Fund and the British Heart Foundation, published its latest findings in the American Journal of Obstetrics and Gynaecology.