Watch Johnny Depp Play Guitar with Aerosmith

He joined the "Bad Boys of Boston" on stage at Xfinity Center on Wednesday.

As if experiencing an Aerosmith/Slash concert isn’t enough.

Audiences at Xfinity Center in Mansfield got a special treat Wednesday night when who else but the one-and-only Johnny Depp joined Steven Tyler and company on stage to play guitar with the legendary rock band.

Depp, who has been spotted around the Boston area lately while filming Black Mass—he plays the notorious Southie crime boss Whitey Bulger—joined the “Bad Boys of Boston” at the end of their show for “Train Kept a-Rollin'” in the video above posted by Fastlane Productions. Depp even got to squeeze in a little solo action around 3:30.

This is not the first time Depp has surprised audiences with an impromptu concert visit. Earlier this year, he also made a surprise guest appearance at a Willie Nelson concert.

Rock on, Jack Sparrow. Rock on.