MONTGOMERY, Ala. AP – A federal judge released Alabama from nearly two decades of court control over its child welfare system Tuesday, ruling that the “depraved conditions” that triggered the litigation no longer exist.

U.S. District Judge Ira DeMent granted the state’s motion to end the case, which began in 1988 with a suit filed on behalf of a child identified only by his initials, R.C. The court found that the child’s care and treatment by the Alabama Department of Human Resources was deplorable.