The Federal Circuit has ruled for a second time in Oracle v. Google, the software copyright lawsuit over Google’s Android platform. The new decision reverses the district court yet again and sends the case back for a third trial to determine damages for Oracle. In the last trial, Oracle sought almost $9 billion in damages.

The litigation has been dragging on for about eight years now, bouncing up and down through appeals and two whole jury trials. It all started because Google wanted to make the Android platform compatible with apps written in the Java language. Rather than license the Java platform from Sun Microsystems, which would allow programs written in Java to run, Google instead chose to write its own version (also known as a clean room implementation). However, because of the way that code works, Android still shared some similarities with the Java platform.

The lawsuit has been dragging on for about eight years

Shortly after acquiring Sun Microsystems in 2010, Oracle sued Google. Google won on all claims in 2012. Oracle appealed a copyright claim to the Federal Circuit and came back with a reversal in its favor in 2014. After the Supreme Court declined to hear the case, a second trial commenced.

In 2016, the second jury found that Google’s use of the structure, sequence, and organization of 37 Java APIs was a fair use. Oracle asked for a judgment as a matter of law — that is, for the judge to toss out the freshly entered jury verdict, rule in favor of Oracle, and start a new trial for damages. The judge, who had at this point been presiding over this case for, like, six years, chose not to.

Today, the Federal Circuit ruled that he was wrong and that Oracle should get Trial #3.

Here are some fun facts about this lawsuit: