People are living longer - depending on where you live.

The University of Washington's Institute for Health Metrics and Evaluation analyzed data about life expectancy across the U.S. from 1980 to 2014.

Researchers found the average lifespan was just over 79 years in 2014, which is a five-year increase compared to 1980.

The analysis shows life expectancy is greatest in the high country of central Colorado in Eagle, Pitkin, and Summit counties.

It also uncovered major disparities between those counties and other locations in the U.S.

In several counties in North and South Dakota, life expectancies were 20 years lower than those Colorado counties.

You can look at an interactive map showing the life expectancy in different counties in the country here.

The researchers say differences in income, race and health care access are leading to the widening gap with the death rates.They concluded policy action targeting socioeconomic factors, and behavioral and metabolic risk factors could help reverse the trend of increasing disparities in life expectancy in the U.S.

The study was published in JAMA Internal Medicine Journal Monday.