Kentucky leans on the federal government more than nearly all other states, a new study says.

The study from WalletHub said Kentucky's economy is the second most dependent on federal support.

The company compared three metrics to determine federal dependency – return on taxes paid to the federal government, federal funding as a share of state revenue and share of federal jobs.

More:WalletHub: Ohio has some of the highest taxes in the country

More:Get all the news on your NKY community. Download the NKY app.

According to WalletHub, New Mexico comes in first. The other members of the top five are West Virginia, Mississippi and Alabama.

Federal Dependency of Kentucky (1 is most dependent):

4 – Return on Taxes Paid to the Federal Government

4 – Federal Funding as a Share of State Revenue

23 – Share of Federal Jobs

Ohio came in at No. 27.

WalletHub's study of tax information also reported that Ohio has the seventh highest taxes in the county.

That study compared the cost of the average person’s financial obligations to the government.