Being a police officer isn't an easy job and depending on where you live it can be extremely dangerous.

WalletHub.com released a study of which police officers had it the best and worst depending on where they lived.  Michigan wasn't at the top of the list, but with high crime areas like Detroit and Flint, you'd be surprised where Michigan fell in the rankings.

Michigan police officers have the 4th highest median income for law-enforcement officers (adjusted for cost of living) and the 4th highest housing affordability for officers.  But, it's not all good news for Michigan police officers, Wallethub also reported that Michigan has one of the lowest percentage of homicide cases solved in the nation.

Although Michigan doesn't fall in the top 10 best states for police officers, Michigan gets ranked a respectable 12th.

The Best States To Be A Police Officer

  1.  Connecticut
  2. North Dakota
  3. New York
  4. New Jersey
  5. Minnesota
  6. Maryland
  7. District of Columbia
  8. Washington
  9. Massachusetts
  10. Illinois
  11. Rhode Island
  12. Michigan

You can see the how the rest of the states compare in the map below, or on WalletHub.com.

Source: WalletHub

WalletHub's methodology for the study used 3 key dimensions: Opportunity & Competition, Job Hazards & Protections and Quality of Life.  Each of those dimensions were further broken down into several metrics.  You can read all about the methodology here.