Boeing will restore fish habitat along the Duwamish Waterway and pay $2 million to settle allegations that decades of airplane manufacturing helped pollute the waterway with oil and other toxic substances.

The settlement was filed Tuesday in federal court in Seattle. Boeing agreed to undertake two habitat-restoration projects to benefit salmon and other fish and birds.