So here's something to be proud of - or not.

Thanks to a shrinking population, a lousy credit rating, a rickety pension system that would make Rube Goldberg blush, and a bit of an unemployment problem, Pennsylvania has been named the fifth-worst run state in these United States.

Oh - and did we mention the embarrassing kabuki of a budget dance that the 253-member General Assembly go through every year?

Yeah, that didn't help either.

"Pennsylvania is one of only three states with no money saved to close budget gaps in the event of declining tax revenue," the wonks at 24/7 Wall Street, who ranked the fitness of all 50 states, wrote in a study released late last week

"And this will likely be a problem in the coming years as the state's tax base is eroding. Nearly 11,000 more people left Pennsylvania in 2016 than moved in," they found.

Further, they added: "A dwindling population does little to spur economic growth. Pennsylvania's GDP expanded by only 0.6 percent in 2016, even as the U.S. economy grew by 1.5 percent.

"The Keystone State's need for improved economic conditions is more dire than most states' as evidenced by the relative the share of workers out of a job. Pennsylvania's 5.4 percent unemployment rate is higher than the 4.9 percent U.S. rate and among the 10 worst of all states," the study concluded.

The study graded states according to four criteria: Their 2016 unemployment rate; pension funding ratio; credit rating and outlook, and its poverty rate.

Here's how Pennsylvania shook out:

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

There's been some improvement since the wonks crunched the numbers: Pennsylvania's unemployment rate stood at 4.7 percent in October 2017, according to the U.S. Bureau of Labor Statistics.

So there's that.

On the other hand, Pennsylvania's credit rating hit its lowest point in 39 years in September, during the heat of this year's budget fight, when S&P's Global Ratings moved the state from an AA- rating to an A+ rating.

That meant that the state's ability to meet its financial commitments is "more susceptible to the adverse effects of changes in circumstances and economic conditions," according to S&P.

Rounding out the bottom five were:

47. Alabama

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

48. Mississippi

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

49. New Mexico

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

50. Louisiana

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

And here's the list of the Top 5 best-run states:

1. Minnesota:

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

2. Utah

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

3. Iowa

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

4. Oregon

2016 Unemployment:

Pension funded ratio:

Credit rating and outlook:

Poverty:

5. Washington