LANCASTER, Pa. (WHTM) — While Philadelphia and Pittsburgh have their perks, small cities have a unique charm, and one small city in Pennsylvania has been dubbed the “best small city in America” by a new WalletHub report.

WalletHub compared more than 1,300 U.S. cities with populations between 25,000 and 100,000 using 43 “indicators of livability” including housing costs, school system quality, restaurants per capita, and crime rate.

According to WalletHub’s analysis, Lancaster, Pennsylvania, is the best small city in the U.S.

“Small cities like Lancaster have really started going through a resurgence because you can still have the city atmosphere, have tons of for everything, dining, shopping experiences but also still have a smaller community feel,” said DJ Ramsey, Communications Manager for the City of Lancaster.

Lancaster was the only Pennsylvania city to make the top 20 list. Other Pennsylvania cities included in the report include State College in the 77th percentile, Harrisburg in the 62nd percentile, Lebanon in the 33rd percentile, and York in the 27th percentile.

“We have a great local economy, plentiful jobs, a real sense of culture, history, place, and community,” Ramsey added.

Massachusetts had the most small cities in the top 20 list with seven, while Indiana had three and New Jersey had two.

The complete list of the top 20 best small cities according to the WalletHub report is as follows:

  1. Lancaster, PA
  2. Carmel, IN
  3. Fair Lawn, NJ
  4. Lexington, MA
  5. Brentwood, TN
  6. Melrose, MA
  7. Zionsville, IN
  8. Needham, MA
  9. Portland, ME
  10. Westfield, IN
  11. Milton, MA
  12. Sammamish, WA
  13. Dublin, OH
  14. Brookfield, WI
  15. Leawood, KS
  16. Apex, NC
  17. Arlington, MA
  18. Burlington, MA
  19. Newton, MA
  20. Princeton, NJ

The cities were compared across five dimensions, which were affordability; economic health; education and health; quality of life; and safety, according to the WalletHub report.