Yahoo Inc. has agreed to pay up to $85 million to settle consumer class actions brought over its recent data breaches.

The settlement, filed in court on Monday, includes a $50 million fund from which consumers can file claims to be reimbursed. In addition, Yahoo has agreed to provide credit monitoring  and pay up to $35 million in attorney fees.