This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

(NEXSTAR) – Between crime, COVID-19 and the local economy, it’s hard to run a city these days. One recent study attempts to quantify who’s doing it well – and who is not.

WalletHub examined the 150 largest cities in the U.S., and evaluated each city’s credit rating, debt, education scores, health scores, crime rates, economy and infrastructure. (See how they weighted each of the 38 criteria in their methodology here.) Each city’s scores in those categories was balanced with its budget per capita. If you have a high budget, and lower quality of life scores, you end up at the bottom of the list.

The results landed some of the country’s largest cities, like New York and Chicago, at the bottom of the list.

The high amount of city debt per capita dragged Washington, D.C. and San Francisco into the bottom two spots. New York scored high for safety, but low for financial stability, earning it the third spot in the list of worst-run cities.

Poor education scores also dragged down Denver, which scored better in the economy-rated categories, like unemployment and debt, but was one of the worst cities for high school graduation rates.

Of the 150 largest cities WalletHub examined, these 20 ranked as the worst-run:

  1. Washington, D.C.
  2. San Francisco
  3. New York
  4. Chattanooga, Tennessee
  5. Cleveland
  6. Detroit
  7. Flint, Michigan
  8. Oakland, California
  9. Hartford, Connecticut
  10. Gulfport, Mississippi
  11. Chicago
  12. Tacoma, Washington
  13. Rochester, New York
  14. Yonkers, New York
  15. Kansas City, Kansas
  16. Memphis, Tennessee
  17. Philadelphia
  18. St. Louis
  19. Denver
  20. New Haven, Connecticut

You may not recognize as many of the city names on WalletHub’s list of best-run cities. Nampa, Idaho, takes the top spot, followed by Boise, Idaho; Fort Wayne, Indiana; Nashua, New Hampshire; and Lexington, Kentucky. All of them rank among the 150 most populous in the country, but are notably smaller cities than D.C., San Francisco and New York, suggesting it may be much easier for mid-sized cities to qualify as “well-run.”