Legal challenge centered on overcrowding, inadequate medical care, and unsafe confinement conditions.