One week before facing a potentially damaging sanctions hearing, Facebook agreed to settle privacy class actions brought over the Cambridge Analytica scandal.

In a Friday notice, lawyers on both sides of the multidistrict litigation said they had "reached a settlement in principle." The notice gave no details about the settlement, including the amount. Lawyers asked to halt the litigation for 60 days "to finalize a written settlement agreement."

U.S. District Judge Vince Chhabria, of the Northern District of California, granted the stay but clarified that the sanctions hearing, scheduled for this Friday, would go forward.