Meta has agreed to pay $18 billion and add stronger child-safety measures to its Facebook and Instagram platforms to end a landmark trial over teen social media addiction and settle claims filed by 47 states, state attorneys general announced Wednesday.

The settlement resolves a pivotal legal case years in the making that sought to hold the tech giant accountable for the role its platforms played in undermining children's mental health. The effort targeted features designed to hook young people's attention.

"For years, Meta intentionally deceived the public about the addictive and harmful design features that have wreaked havoc on youth mental health," Virginia Attorney General Jay Jones said. The settlement "will put an end to these dangerous practices and deliver meaningful relief that will protect children from online harm."

California Attorney General Rob Bonta said the money would be paid out over 10 years, with the state getting at least $1.5 billion if the settlement is approved by the court. New Jersey expects to receive at least $525 million. Massachusetts said it was in line for at least $366 million. Virginia's share is worth $353 million.

Meta Urges Rivals to Adopt Similar Safety Measures