Amid blistering summer temperatures, a federal judge ordered Louisiana to take steps to protect the health and safety of incarcerated workers toiling in the fields of a former slave plantation, saying they face “substantial risk of injury or death.” The state immediately appealed the decision.

U.S. District Judge Brian Jackson issued a temporary restraining order Tuesday, giving the state department of corrections seven days to provide a plan to improve conditions on the so-called farm line at Louisiana State Penitentiary, otherwise known as Angola.