Alphabet’s Google has agreed to pay $700 million and make concessions to foster greater competition within its Play app store. The agreement was revealed on Monday in a San Francisco federal court and is pending final approval from a judge.

Under the terms of the settlement, Google will allocate $630 million to a fund for consumers affected by the alleged anticompetitive practices, and an additional $70 million will go to a fund benefiting the states involved in the legal proceedings.

Eligible consumers stand to receive a minimum of $2, with the possibility of additional payments based on their spending on the Google Play store between August 16, 2016, and September 30, 2023. All 50 U.S. states, along with the District of Columbia, Puerto Rico, and the Virgin Islands, have joined the settlement.

The accusations against Google included claims of overcharging consumers through unfair restrictions on app distribution on Android devices and imposing unnecessary fees for in-app transactions. Despite settling, Google did not admit any wrongdoing.

The lead plaintiff, Utah, and other states had announced the settlement in September, but the terms were kept confidential until after Google’s trial with Epic Games. Last week, a California federal jury sided with Epic Games, stating that certain aspects of Google’s app business were anticompetitive.

Wilson White, Google’s Vice President for Government Affairs and Public Policy, emphasized in a statement that the settlement “builds on Android’s choice and flexibility, maintains strong security protections, and retains Google’s ability to compete with other (operating system) makers, and invest in the Android ecosystem for users and developers.”

As part of the settlement, Google will expand the options for app and game developers to offer consumers alternative billing methods for in-app purchases alongside the existing Play billing system. This initiative, known as “choice billing,” has been piloted in the U.S. for over a year.

In addition, Google pledged to simplify the process for users to download apps directly from developers. Lawyers for the states involved asserted in a court filing that the settlement terms “will offer significant, meaningful, long-lasting relief for consumers throughout the country.”

Epic Games, although not seeking monetary damages, expressed dissatisfaction with the settlement. CEO Tim Sweeney called it an “injustice to all Android users and developers,” alleging that it endorses Google’s anticompetitive practices.

Google continues to face legal challenges, including lawsuits related to its search and digital advertising practices. The tech giant has consistently denied any wrongdoing in those cases.