Meta has agreed to a settlement worth $17 billion to resolve claims over teen social media addiction. The agreement also requires the company to implement child-safety measures on its Facebook and Instagram platforms. This settlement ends a landmark trial and resolves claims filed by 47 states.

The trial was expected to feature testimony from CEO Mark Zuckerberg in federal court. Instead, the deal brings the proceedings to a close. Some states will receive significant payouts, with Virginia alone receiving $353 million.

Further details about the settlement and its implications are available from state attorneys general, who announced the agreement on Wednesday.