Being the default search provider for an operating system as big as iOS doesn’t come cheap. According to a court transcript taken from the Google vs. Oracle lawsuit, Google paid Apple a whopping $1 billion in 2014 to ensure it remained the favorite on iPhone, iPad, and iPod touch.

That’s not all Apple gets, either; as part of the agreement, the Cupertino company also receives a share of Google’s search revenue.

“The search engine giant has an agreement with Apple that gives the iPhone maker a percentage of the revenue Google generates through the Apple device, an attorney for Oracle said at a Jan. 14 hearing in federal court,” reports Bloomberg.

Annette Hurst, the Oracle attorney who revealed the details of the agreement, said that the revenue split was 34 percent — but it’s unclear whether this is the share kept by Google, or the share paid to Apple. It seems most likely it would be the latter.

The intricacies of Apple’s agreement with Google have been speculated for years. Apple has dropped other Google services in iOS — such as Maps — but Google Search has always remained the default in Safari, with users having the ability to change that manually themselves.

Bloomberg adds that a Google attorney objected to this information being disclosed, and asked for it to be wiped from the the record. Google also stated in a January 20 filing that the terms of its agreement with Apple “are highly sensitive to both Google and Apple.”

Despite this, the information still made its way out into the wild in the court transcripts, which have since been pulled.

SOURCE BLOOMBERG