One of the European Union’s highest courts has largely upheld the bloc’s biggest-ever antitrust fine, issued to Google by the bloc’s competition enforcers in 2018 over its Android mobile operating system.

The European Court of Justice’s General Court on Wednesday mostly confirmed a decision by the EU’s executive Commission to slap Google with a fine of more than 4 billion euros ($3.99 billion) for stifling competition through the dominance of Android.

The court said that “in order better to reflect the gravity and duration of the infringement,” it’s appropriate to give Google a fine of 4.125 billion euros, according to a press summary of the decision. That’s slightly lower than the original 4.34 billion euro penalty, and the court said its reasoning differed “in certain respects” from the commission’s.

Supreme Court’s EPA decision may affect fed’s efforts to rein in big tech

The fine is one of three antitrust penalties totaling more than $8 billion that the European Commission hit Google with between 2017 and 2019.

In its original decision, the commission said Google’s practices restrict competition and reduce choices for consumers.

It determined that Google broke EU rules by requiring smartphone makers to take a bundle of Google apps if they wanted any at all and prevented them from selling devices with altered versions of Android.

The bundle contained 11 apps, including YouTube, Maps and Gmail, but regulators focused on the three that had the biggest market share: Google Search, Chrome and the company’s Play Store for apps.

Google, app developers settle for $90M from tech giant in store dispute