London (Agencies): A new research study has indicated that its not the hereditary factors but your lifestyle that determines how long you live.

Those who refrained themselves from smoking, consumed moderate amounts of coffee, were economically well off by 50 and also had low cholesterol had the maximum chance of celebrating their 90th birthday, according to a study in Sweden's University of Gothenburg.

"Our study shows that hereditary factors don't play a major role and that lifestyle has the biggest impact," said professor emeritus Lars Wilhelmsen, referring to the study of 1,913 men that formed the groundwork of the research, reportedly.

"We're breaking new grounds here," Wilhelmsen said.

"Many of these factors have earlier been identified as playing a role in cardiovascular disease, but here we are showing for the first time that they are important for survival in general," he added.

Mortality is not "inherited" but instead it is the total of our own habits, according to the study.

"The study evidently shows that we can influence several of the factors that decide how old we get," says Wilhelmsen.

"This is helpful not only for the individual, but also for society as it doesn't entail any major drug costs."