YouTube music videos will be back online in the UK shortly after the video-sharing site struck a deal with royalties group PRS for Music.

Google-owned YouTube is to pay an undisclosed sum - believed to be several million pounds - to PRS for Music so that tracks first blocked in March will reappear on the site. The payment will be backdated until January and last until 2012.

A statement on YouTube said: "We are pleased to announce that an agreement for a licence has been reached and both PRS for Music and YouTube are happy that the negotiations resulted in a mutually acceptable deal. As a result of the new agreement, premium music videos in the UK are coming back to YouTube - this is good for songwriters and composers, music fans and YouTube."

YouTube to offer film rentals

A YouTube spokesman told the BBC this would mean "tens of thousands" of videos will be back online "over the next few days".

Sarah Rodgers, chairman of the British Academy of Songwriters, Composers and Authors, (BASCA), told the Telegraph: "This is a landmark deal for a user-generated content site. Everyone will look now at how this deal works with a lens to how future licensing arrangements should work."

YouTube is planning to celebrate the agreement with a series of guest editorships, with artists choosing their favourite music videos for the site's home page.

"We'll have to wait for the appropriate content to go live before we can share more, so stay tuned,"said Jamie Dolling, Community Manager, on the YouTube UK blog.