By Devin Dwyer, ABC News

(WASHINGTON) — In the multi-billion Supreme Court clash between two titans of tech, Google emerged as the victor on Monday.

In a 6-2 opinion by Justice Stephen Breyer, the court said that Google’s use of 11,000 lines of code — copied without permission from Oracle’s Java program — to create the Android smartphone operating system — constitutes fair use as a matter of law and does not require compensation.

“We assume, for argument’s sake, that the material was copyrightable. But we hold that the copying here at issue nonetheless constituted a fair use. Hence, Google’s copying did not violate the copyright law,” Breyer wrote.

The decision reversed a lower court ruling in favor of Oracle, which had sought $9 billion in damages from Google for copyright infringement.

The stakes in the case — dubbed the “copyright case of the century” — are significant for both companies, the software industry and everyday American investors. Millions of Americans’ 401k retirement savings plans include investments in Google.

Experts have said a decision in favor of Google, allowing the copying of code as “fair use,” could facilitate more rapid development of new consumer products and technological innovation — essentially allowing companies to build on each other.

But there could be a downside: Some start-up companies fear the decision could harm their ability to turn a profit if giants like Google can swoop in and copy without compensation.

Justice Clarence Thomas, in a dissent joined by Justice Samuel Alito, blasted the decision as “anything but fair.”

“Oracle spent years developing a programming library that successfully attracted software developers, thus enhancing the value of Oracle’s products. Google sought a license to use the library in Android, the operating system it was developing for mobile phones. But when the companies could not agree on terms, Google simply copied verbatim 11,500 lines of code from the library,” Thomas wrote.

“By copying Oracle’s work, Google decimated Oracle’s market and created a mobile operating system now in over 2.5 billion actively used devices, earning tens of billions of dollars every year. If these effects on Oracle’s potential market favor Google, something is very wrong with our fair use analysis,” he wrote.

Justice Amy Coney Barrett did not participate in the decision as she was confirmed to the bench after the case was argued.

Copyright © 2021, ABC Audio. All rights reserved.