AUSTIN, Texas — The city of Austin is the best capital city to live in the United States, according to a new study by WalletHub.

The list evaluated the 50 capital cities in the country under four different metrics, affordability, economic well-being, quality of education and health and quality of life. Austin was ranked first in economics and quality of education and life, and WalletHub gave an in-depth explanation for the Texas capital.

“Austin offers both a safe and fun environment, with the second-highest life expectancy for residents and an extremely high number of attractions and restaurants per capita. It also provides a good environment for business, with new businesses opening at the second-highest rate in the country. It’s also one of the most educated cities overall, with the fourth-highest percentage of residents ages 25+ with at least a bachelor’s degree,” the list stated.

Austin was over four points above the second-place city, Raleigh, N.C., which itself was just above Atlanta. The lowest ranked city in the county was Jackson, Miss.

Austin has also been honored in different ways, such as being the 87th best city in the world, according to World’s Best Cities, along with the greater state of Texas having some of the fastest-growing cities in the U.S.