The Federal Trade Commission on Monday announced a $520 million settlement with Epic Games, the developer of popular video games like Fortnite and Fall Guys, over charges that the company illegally collected information from children and, separately, tricked millions of players into making unintentional purchases.

The deal involves record penalty amounts in two separate cases.

Epic agreed to pay $275 million to settle regulators’ accusations that it violated a federal law, the Children’s Online Privacy Protection Act, by collecting personal information from children younger than 13 who played Fortnite without obtaining verifiable consent from a parent. In addition, the company made parents “jump through hoops” to have their children’s data deleted and sometimes failed to honor parents’ deletion requests, the agency said in a legal complaint filed Monday.

The amount dwarfs the $170 million penalty — the previous record for child privacy violations — that Google agreed to pay in 2019 over accusations that it illegally harvested data from children on YouTube and used it to target them with ads.

The FTC action comes at a moment of heightened public concern over the mental health, safety and privacy risks that some popular social media networks and multiplayer video games may pose to children and teenagers. The record fine also sends a clear signal that the FTC is following through on pledges from Lina Khan, the commission’s chair, to take a more assertive stance toward the tech industry.

California enacted a sweeping online children’s safety law in September that is scheduled to take effect in 2024. Last week, a tech industry trade group sued the state of California in an effort to block it.

The California law came one year after Britain instituted comprehensive online protections for minors. Last year, as British regulators were developing that effort, Google, YouTube, Instagram, TikTok, Snap and other major platforms announced new safeguards for younger users worldwide. Congress is also working to boost online safety for youngsters.

Introduced by Epic Games in 2017, Fortnite now has more than 400 million players. Since then, it has generated billions in revenue largely by selling virtual accessories, like costumes and dance moves, to players for their avatars and through consumer product deals for products like Fortnite-branded Halloween costumes and action figures.

Regulators also accused Epic of causing “substantial injury” to children by enabling live voice and text chats by default, and by matching children and teen players with adult strangers on Fortnite teams, leading younger users to be the subjects of bullying, threats and harassment.

As part of the proposed settlement, the agency will require Epic to adopt high-privacy default settings for children and teens, including turning off live text and voice chats by default for younger users.

Epic also agreed to pay $245 million to refund consumers following accusations that it used manipulative online practices, known as “dark patterns,” to trick players of all ages into making unintended purchases.