Decade-long legal battle over sludge comes to an end