The Lowe’s home improvement store chain will pay $8.6 million to settle a lawsuit that claimed it fired workers who took long medical leaves.

City News Service says a Los Angeles judge approved the settlement on Friday.