A federal jury here ruled that Google’s use of Oracle Corp.’s Java software didn’t violate copyright law, the latest twist in a six-year legal battle between the two Silicon Valley titans.

Oracle sued Google, a unit of Alphabet Inc [stckqut]GOOGL[/stckqut] [stckqut]GOOG[/stckqut]., in 2010 for using parts of Java without permission in its Android smartphone software. A federal appeals court ruled in 2014 that Oracle [stckqut]ORCL[/stckqut] could copyright the Java parts, but Google argued in a new trial this month that its use of Java was limited and covered by rules permitting “fair use” of copyright material.

A 10-person jury on Thursday agreed.

Google acknowledged using 11,000 lines of Java software code. But it said that amounted to less than 0.1% of the 15 million lines of code in its Android mobile-operating system, which runs most of the world’s smartphones.

Source: Google Wins Java Copyright Case Against Oracle