The New Jersey Supreme Court on Friday dismissed what little remained of a lawsuit against paint makers by 26 towns and counties that wanted them to cover the cost of removing lead paint, which was banned in 1978 as a health hazard.

The 4-2 ruling by the state Supreme Court was a victory for the manufacturers, which included American Cyanamid Co. (now part of Wyeth), Sherwin-Williams Co. and DuPont.