Social media giant Meta will pay over $1 billion to Texas and implement sweeping protections for children as part of a settlement with the state, Attorney General Ken Paxton announced Wednesday.

The settlement comes as Meta, the company behind Facebook and Instagram, tentatively agreed to a $17 billion payout to resolve a separate lawsuit brought by 33 states, which Texas was not a part of.

The historic settlement, the first of this scale from a social media company, will end the ongoing trial in that case.