Court documents have revealed Google paid Apple a billion dollars in 2014 for the opportunity of having its search bar appear on the iPhone, Bloomberg reports. The money was part of an agreement between Google and Apple in which Google paid a percentage of what they made. Although the actual percentage has not been released the number 34 came up court. However, Google's lawyer requested it be struck from the record, according to Bloomberg.

The revelation brings Apple CEO Tim Cook's past comments about Google services into question, Apple Insider pointed out.

"You might like these so-called free services, but we don't think they're worth having your email, your search history and now even your family photos data mined and sold off for God knows what advertising purpose," Cook said at the Electronic Privacy Information Center's Champions of Freedom event in 2015. "And we think some day, customers will see this for what it is."

Neither Apple nor Google have commented on the documents but both have filed requests to have the court transcript sealed, according to International Business Times.

Lawyers for Oracle have claimed that Google earned nearly $31 billion with the Android software, according to Reuters. Oracle has filed a lawsuit against Google claiming the giant used its Java software without paying for it.