Sir Paul McCartney is set to make a cameo appearance in Pirates of the Caribbean 5: Dead Men Tell No Tales. Along with Johnny Depp, who will reprise his much-loved role as Captain Jack Sparrow, the Beatles star will appear in the latest sequel.

Sir Paul McCartneySir Paul McCartney will appear in the next instalment of Pirates of the Caribbean

The Independent has reported that McCartney is due to play an integral part to a new set piece being added to the film, which has already finished shooting.

MORE: Sir Paul McCartney Refused Entry Into Tyga's Grammy After Party

McCartney will be surrounded by returning cast members including Orlando Bloom and Geoffrey Rush and new additions including Javier Bardem who will take over the reins as this film’s villain.

Depp has suggested that this will "probably" be the last film and Disney appears to be determined to send it out in style, spending over $250million on this fifth chapter.

MORE: 'Come Together' Is The Most Popular Beatles Song On Spotify

Directed by Norwegian duo Joachim Rønning and Espen Sandberg, it has been previously reported that Depp’s role has been made smaller to increase film time for Bardem, known for his ability to play the bad guy well - having also done so opposite James Bond in Skyfall.

McCartney is the second big musician coup for Pirates after rock star Keith Richards took on the role of Jack Sparrow’s father in Pirates of the Caribbean: At World’s End in 2007.

Pirates of the Caribbean: Dead Men Tell No Tales is due out in 2017.