Yahoo was sued on Friday by a user who accused it of gross negligence over a massive 2014 hacking in which information was stolen from at least 500 million accounts.
The lawsuit was filed in the federal court in San Jose, California, one day after Yahoo disclosed the hacking, unprecedented in size, by what it believed was a “state-sponsored actor.”
Ronald Schwartz, a New York resident, sued on behalf of all Yahoo users in the United States whose personal information was compromised. The lawsuit seeks class-action status and unspecified damages.
A Yahoo spokeswoman said the Sunnyvale, California-based company does not discuss pending litigation.
Get Data Sheet, Fortune’s technology newsletter.
The attack could complicate chief executive Marissa Mayer’s effort to shore up the website’s flagging fortunes, two months after she agreed to a $4.8 billion sale of Yahoo’s Internet business to Verizon (vz).
Yahoo (yhoo) on Thursday said user information including names, email addresses, phone numbers, birth dates and encrypted passwords had been compromised in late 2014.
But the lawsuit suggested that the breach might have been warded off had Yahoo, having been targeted by hackers before, lived up to its promise of taking user privacy “seriously” and bulked up its security measures.
Yahoo Confirms Its Biggest Data Breach Ever
It also faulted Yahoo for taking roughly three times longer than organizations typically need to uncover the breach.
Yahoo demonstrated “reckless disregard for the security of its users’ personal information that it promised to protect,” according to the complaint.
Schwartz is represented by two large U.S. class-action specialists, the law firms Robbins Geller Rudman & Dowd and Labaton Sucharow.