Apple and Eminem’s music publisher, Eight Mile Style LLC, reached a settlement agreement on Thursday, putting an end to a lawsuit alleging that Apple was never authorized to digitally sell 93 of Eminem’s songs on iTunes.

According to The Associated Press, an agreement was reached between Eight Mile Style and Apple Thursday evening. The details of the settlement were not revealed.

Apple said it had reached a deal with Aftermath Records, which owns the rights to Slim Shady’s songs. Eight Mile Style LLC, however, contended that Aftermath Records was never given the right to negotiate deals as it relates to digital downloads.

The trial went on for five days before reaching the agreement. Earlier reports had suggested the court battle could conclude this week.

In total, Apple was charged with wrongly amassing over $2.5 million in profits from un-authorized iTunes sales.

Around 20 percent of those profits came from just one song - “Lose Yourself” which was the hit rap single from Eminem’s 2002 semi-autobiographical movie, 8 Mile, and was responsible for over $500,000 in profits to Apple alone.