Facebook and Cambridge Analytica were hit with a class-action lawsuit on Tuesday, just hours before Mark Zuckerberg Mark Elliot Zuckerberg2.5 million US users register to vote using Facebook, Instagram, Messenger Hillicon Valley: Trump's ban on TikTok, WeChat in spotlight | NASA targeted by foreign hackers | Instagram accused of spying in lawsuit The Hill's Morning Report - Sponsored by The Air Line Pilots Association - Trump contradicts CDC director on vaccine, masks MORE is slated to testify to Congress about how the political consulting firm managed to improperly obtain data on 87 million Facebook users.

The lawsuit was filed by seven people who were swept up in the trove of data that wound up in the hands of Cambridge Analytica, a company that did work for the President Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE's campaign ahead of the 2016 election.

ADVERTISEMENT

“Facebook has made billions of dollars selling advertisements targeted to its customers, and in this instance made millions selling advertisements to political campaigns that developed those very ads on the back of their customers’ own stolen personal information,” Richard Fields, one of the attorneys for the defendants, said in a statement. “That’s unacceptable, and they must be held accountable.”

“We are committed to vigorously enforcing our policies to protect people’s information," Paul Grewal, Facebook's deputy general counsel, said in a statement. "We will take whatever steps are required to see that this happens.”

Cambridge Analytica did not immediately respond when asked to comment on the lawsuit.

The class-action lawsuit was filed on behalf of all American and British users among the 87 million who were unwittingly swept up in the data leak.

The lawsuit alleges that Facebook knowingly built its platform to allow third parties such as Aleksandr Kogan, the academic who obtained the data through an app on the site, to “steal users’ personal information.”

The filing also argues that Facebook failed to protect its users’ information and didn’t disclose the leak until it came out in media reports.

The lawsuit was filed in U.S. District Court in Delaware.

Updated at 11:44 a.m.