Alabama Attorney General Steve Marshall said TikTok has agreed to pay up to $300 million and adopt new user protection measures to settle the state’s child-safety lawsuit, according to Bloomberg.

The case was set for a jury trial to begin Monday.