When companies get in trouble over their advertisements, it usually happens quickly. In the case of Sherwin-Williams Co., it took more than a century.

The paint maker is fighting a California court ruling that ordered it and two other companies to collectively pay hundreds of millions of dollars in damages for promoting lead paint over several decades, when they allegedly knew or should have known it was hazardous. The litigation has highlighted Sherwin-Williams ads dating back to 1904.