Pirates of the Caribbean: Dead Men Tell No Tales has a surprising new cast member who will reportedly be part of a big set-piece scene: Paul McCartney.

McCartney has quietly joined the cast of the Pirates franchise, which this time around includes Johnny Depp as Captain Jack Sparrow, Geoffrey Rush as Barbossa, Orlando Bloom as Will Turner, Javier Bardem as the villainous Captain Salazar and Kaya Scodelario & Brenton Thwaites as new characters.

According to Deadline, the big scene is not a re-shoot but an extra scene added to the film after it had wrapped production. McCartney's role is being kept a secret for now.

McCartney has plenty of movie credits under his belt but most are for musical contributions. He has previously won an Academy Award as a member of The Beatles for the Best Original Score with Let It Be.

Pirates of the Caribbean 5: Dean Men Tell No Tales hits theaters May 26, 2017.