SANTA ANA (AP) — American Apparel will pay $1 million to settle a lawsuit over the death of an employee in a knitting machine accident.

The Orange County district attorney’s office announced the settlement Tuesday. The worker’s daughter will receive $150,000 of the money – the rest covers civil penalties and the cost of the accident’s investigation.

READ MORE: Three Takeaways From Dodgers 2021 Season, NLCS

The employee, 49-year-old Tuan Phan, was mangled by the machine at the company’s Garden Grove factory in 2011. The lawsuit said the machine had been turned off, but wasn’t locked and disconnected from its power source for maintenance.

READ MORE: 3 Shot In Downtown LA, 1 Dead

American Apparel told the Los Angeles Times that it didn’t believe any safety laws were violated and settled to avoid further legal expenses. The company also said it’s committed to providing a safe workplace.

MORE NEWS: Man Accidentally Discharges Gun, Wounds Neighbor

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)