The case has been winding its way through the legal system for several years.