For more than three weeks, two of the housing units in the Vienna Correctional Center, a minimum-security state prison in southern Illinois, were running on generator power because of a water line leak that damaged the electrical system, according to the Illinois Department of Corrections.

The generators would frequently shut off, leaving prisoners without electricity, showers, or hot water.