Bosses at toy company GoldieBlox have issued an apology to rap group the Beastie Boys after settling a legal battle surrounding the use of their track Girls.

The rap group's surviving members Adam 'Ad-Rock' Horovitz and Mike 'Mike D' Diamond accused the company's executives of copyright infringement over the use of their song in a viral advert, but an undisclosed settlement was reached earlier this week (beg17Mar14).

GoldieBlox have now issued an apology to the group, published in small print at the bottom of their website, admitting they should have contacted the band before deciding to use the song in their advert.

The message reads, "We sincerely apologize for any negative impact our actions may have had on the Beastie Boys. We never intended to cast the band in a negative light and... we understand an artist's desire to have his or her work treated with respect. We should have reached out to the band before using their music in the video.

"We know this is only one of the many mistakes we're bound to make as we grow our business. The great thing about mistakes is how much you can learn from them. As trying as this experience was, we have learned a valuable lesson. From now on, we will secure the proper rights and permissions in advance of any promotions, and we advise that any other young company do the same."