TikTok and its parent company, ByteDance, reached a $400 million settlement with the US Justice Department over children’s privacy concerns, one of the largest amounts for a case of this kind yet.

Federal prosecutors accused TikTok of collecting and keeping data from children without notifying parents or receiving consent.

The settlement ends a lawsuit filed by the Biden administration.