The Michigan jail system is fighting the spread of hepatitis A in the state’s three largest counties.

The Detroit News reports that thousands of jail inmates in Wayne, Oakland and Macomb counties have opted to receive the hepatitis A vaccine for free in recent months.

A spokeswoman for the Michigan Department of Health and Human