Marylanders and Virginians have it pretty good, at least according to a new state ranking from 24/7 Wall St.

The financial news and opinion website ranked Maryland the sixth best state to live in. Virginia also cracked the top 10, coming in ninth.

D.C. wasn’t included in the list.

The ranking touted Maryland’s median income – $78,945 – the highest in the country and about $21,000 more than the typical American household.

All that money leads to healthier diets and lifestyles, which means a longer life expectancy, the site reported.

Maryland also boasts a well-educated population. About 39 percent of adults in the state have at least a bachelor’s degree. Only two other states have a higher percentage.

PREVIOUS: The 3 best and worst cities for living within your budget

Education is one of Virginia’s strong suits as well, the site said, with just over 38 percent of adult residents holding a bachelor’s degree.

Virginia also tends to have low crime rates. There were 217 violent crimes reported in the state for every 100,000 residents. That’s about half the national rate of 397 incidents per 100,000 people. used factors like population change, annual unemployment, poverty rate, and life expectancy at birth to compile its list of best states to live in.

Here is the website’s top 10 best states to live in:

  1. Massachusetts
  2. New Hampshire
  3. Connecticut
  4. Colorado
  5. New Jersey
  6. Maryland
  7. Minnesota
  8. Hawaii
  9. Virginia
  10. Washington

You can see the full list here.