A New Mexico judge orders Meta, the parent of Facebook and Instagram, to pay $567 million in connection with a state lawsuit alleging harms to children and teens from its platforms. The decision comes in the second phase of a landmark case and follows a March jury verdict in which New Mexico was awarded $375 million after finding Meta liable for endangering children.

In Thursday’s ruling, the court finds Meta created a public nuisance and that its platforms harmed young people. Multiple outlets report that most of the $567 million is directed to youth mental health treatment, with additional funds allocated to prevention, awareness, screening services and other related costs over the coming years.

Several reports also describe the practical steps sought in the second phase, including changes aimed at reducing addictive design features, strengthening age verification, and preventing child sexual exploitation through default privacy settings and closer oversight. Meta says it disagrees with the ruling and plans to appeal. Some outlets note that the total amount at issue across the case is $942 million, though the amounts are split between March damages and the later $567 million order.