Apple settled out of court in the latest e-books price-fixing suit brought against the company, allowing the company to dodge an $840 million bullet, as reported by Bloomberg. The case, brought against the Cupertino company by multiple states and consumers, was set to go before a jury next month, but that will no longer be necessary.

The terms of the settlement have not yet been revealed, and the opposing sides of the case have one month to request formal acceptable of their agreement by the court.

If today’s settlement is accepted by the court, an end to this case could finally be in sight, though Apple still plans to continue its appeal of the earlier ruling.