Marvin Gaye’s estate has won its lawsuit against the collaborators.

Marvin Gaye’s estate has finally settled its lawsuit against Pharrell Williams and Robin Thicke regarding their 2013 hit single “Blurred Lines.” A federal judge reportedly ordered the duo to fork over nearly $5 million in damages to the Gaye family, Billboard reports.

According to a ruling from Judge John A. Kronstadt, Thicke, Williams and William’s company More Water From Nazareth Publishing Inc. will each have to pay $2,848,846.50 in damages. Thicke will have to pay an additional $1,768,191.88 and Williams and his publishing company will pay another $357,630.96 to the Gaye family in separate payments regarding their lawsuit. In total, the damages amount to $4,983,766.85.

The Gaye estate is also entitled to receive interest on the damages against each party and will receive a running royalty of half the “Blurred Lines” revenue.

As previously reported, Marvin Gaye’s estate filed a copyright infringement lawsuit against Williams and Thicke back in 2013. They claimed their single sampled Gaye’s 1977 hit “Got to Give It Up” without permission. Both Williams and Thicke’s legal team attempted to get the case thrown out but were denied an appeal in Mar. 2018.