SAN FRANCISCO (AP) — Snapchat Inc. will pay $15 million to settle a lawsuit brought by California’s civil rights agency.

The California Civil Rights Department accused the company of discriminating against female employees, failing to prevent workplace sexual harassment and retaliating against women who complained.

The department announced Wednesday that the settlement covers women who worked for the company in California between 2014 and 2024.

It is subject to court approval.

The bulk of the settlement will pay compensation to employees who faced discrimination at the company.

The company says it disagrees with the agency’s claims but that it decided to settle to avoid costly and lengthy litigation.