Google parent company Alphabet has agreed to devote $310 million to diversity, equity and inclusion efforts as part of a settlement with shareholders after several executives in the company, including its former top lawyer, faced allegations of sexual misconduct or discrimination.

The deal, announced Friday, settles a stockholder derivative lawsuit filed in San Mateo County Superior Court in January 2019. Cohen Milstein Sellers & Toll in Washington, D.C., and Berman Tobacco in San Francisco represented plaintiffs in the suit who claimed Google fostered a “culture of concealment” that led to cover-ups of sexual harassment at the highest levels of the company.