A recent study by WalletHub compared over 180 US cities to determine the best and worst places to retire. The analysis took into account 45 key metrics, including cost of living and tax laws.

The study found that Buffalo, N.Y., ranks as the 42nd-worst city for retirees. Further details on the study's methodology and findings are available from the source.

The study's rankings are based on a range of factors, from the cost of living to the availability of certain resources. For more information on the study and its complete rankings, readers can consult the original report.