New York is the second worst state to retire in, according to a new study released by

The list ranked the states by cost of living, crime, health care, taxes and weather.

New York came in dead last when it came to tax rates and 47th in cost of living. It also came in 42nd in community well-being, which takes crime into consideration.

Wyoming, Colorado and Utah were named the best states to retire. Wyoming ranked first in cost of living, while Colorado's weather ranked third.

The best thing going for New York, according to the survey? The weather, which ranked New York 25th.

New York's tri-state neighbors didn't do all that well either. New Jersey was 45th and Connecticut was 39th.

Arkansas finished dead last in the retirement survey.