The rights to Michael Jackson's song from 'The Simpsons', 'Do the Bartman', have sold for $38,500.

The late King of Pop was never credited on the track, because of a dispute between his label Sony and Geffen, who put out the song, but the recent sale of the novelty record included ''both BMI and Sony Publishing royalties'', as well as royalties for a collection of other songs by Bryan Loren, who co-wrote and produced the song.

While Michael's involvement in the track has never been officially confirmed, 'Simpsons' boss Matt Groening has always said was the product of the 'Bad' singer's talent.

Matt said in 1998: ''It has always been amazing to me that no-one ever found out that Michael Jackson wrote that song.''

However, original songwriter Bryan is adamant that the track - which went to number one in the UK in 1990 and also topped the charts in Australia, Ireland, New Zealand and Norway - is his alone and has disputed the record of sale of the rights to the anonymous buyer.

He said: ''The story of the song and its creation has been a thorn in my side since I did it. But, despite Matt Groening's repeated confessions, I am the sole writer of the song.

''While it's true, along with me, Michael Jackson does sing backing vocals.... And so, obviously, he was involved. Perhaps this tidbit of info is not as sensational as saying MJ co-wrote the song, but I assure you, he did not.''