The Beastie Boys have reached a settlement with bosses of a toy company to end a legal battle over their hit track Girls.

The rappers became embroiled in a dispute with executives of GoldieBlox last year (13) after accusing them of copyright infringement for featuring a version of the song in a viral advertising video.

The advert featured three children singing alternative lyrics to the track, but GoldieBlox bosses claimed it was a parody and constituted "fair use".

After months of legal manoeuvring, surviving Beastie Boys Adam Horovitz and Mike Diamond have now reached a settlement with executives at the toy company to bring the legal battle to an end.

Terms of the settlement were not disclosed.