We have known for a while now that Beatles singer/bassist Paul McCartney has a role in the upcoming Pirates of the Caribbean: Dead Men Tell No Tales. Now, the famous musician has posted a picture of himself in costume--and it's pretty incredible.

#PiratesLife pic.twitter.com/9GXS5QB931

— Paul McCartney (@PaulMcCartney) May 13, 2017

It's not immediately clear what role McCartney is playing, but he will apparently appear in a scene not originally planned. Directors Joachim Ronning and Espen Sandberg have elected to add another "big set-piece" scene, and it is here that the Rock and Roll Hall of Famer and 21-time Grammy winner will be featured.

McCartney is not the first British rockstar to appear in a Pirates movie, as Rolling Stones guitarist Keith Richards played Jack Sparrow's father in At World's End.

This would apparently be McCartney's first film role. It won't be the first involvement with a Hollywood project, however, as he has written music for lots of movies. He was nominated for three Academy Awards, winning one alongside his Beatles bandmates for the 1970 movie Let It Be.

Dead Men Tell No Tales opens on Memorial Day this month. It stars Depp as Captain Jack Sparrow, alongside Geoffrey Rush as Barbossa, while Javier Bardem (Skyfall, No Country for Old Men) plays the bad guy, Captain Salazar. Orlando Bloom will also appear in the movie as Will Turner, making his first appearance in a Pirates movie since 2007's At World's End.