Rapper Eminem has settled his legal action against Apple over the company's use of his song Lose Yourself in an advertising campaign for iPods.
Eminem's real name is Marshall Mathers III
An undisclosed financial settlement has now been agreed over the copyright infringement case.
"The parties were able to reach an amicable resolution," said Eminem's lawyer Howard Hertz.
The suit was filed against Apple and MTV which ran the adverts for three months in 2003.
Elizabeth McNamara, a lawyer for MTV and its parent company Viacom, said the case was "amicably resolved", but declined to give further details.
The legal action, which was filed in Eminem's home city of Detroit, also names advertising agency TBWA/Chiat/Day.
The advert, featuring a 10-year-boy singing Eminem's Lose Yourself, was also used on the Apple website to promote its digital music player and its iTunes download service.
Apple had been denied permission to use the track, which was featured in the film 8 Mile.
But when the advert aired Eminem sought permission to sue because his lawyers said it appeared he was endorsing the products.
The rapper prides himself on never endorsing products through advertising.