A California jury in the Oracle vs. Google trial has concluded after a week of deliberations that Android does not infringe on patents from Oracle. In question were eight counts of infringement that spanned two different patents, RE38,104 and 6,061,520.

It’s not a clean-cut victory for Google as the jury did find that Android infringed on 37 Java APIs with regards to structure, sequence and organization. The jurors were, however, unable to determine if said use constituted as “fair use” under copyright laws.

Google is also facing penalty for infringing on nine lines of Java code used in Android. These counts are considered minor copyright infringement and depending on a separate decision from the judge as to whether the SSO from Java can be copyrighted, one of two scenarios could play out.

If the judge finds that it can be copyrighted, all of the infringement counts will be rolled into one and handled in a separate trial or appeals court. Otherwise Google could be on the hook for up to $150,000 per count.

The lawsuit dates back to mid-2010 when Oracle sued Google claiming the search giant didn’t obtain the necessary licenses to use Java in Android. Oracle completed their acquisition of Sun Microsystems for $7.4 billion in early 2010.

Following the ruling, Judge William Alsup thanked the jurors for their hard work in the case and noted that it was the longest civil trial he had ever been in.