Pearl Jam closed the two-day Made In America Festival in Philadelphia, but not before the man who put it all together joined the band on stage.

After frontman Eddie Vedder thanked Jay-Z for the festival, the megastar came out and joined the group for a rocking version of 99 Problems.

Pearl Jam performed an intense 25-song set that saw tens of thousands of fans jumping, dancing and singing to its well-known tracks including Alive, Better Man, and Jeremy. The group also covered the Clash's Know Your Rights, and The Who's Love Reign O'er Me.

Fittingly, the band ended with Neil Young's Keep On Rockin' In The Free World.

In keeping with the festival theme, Vedder said he wants to see more "Made in America" wares and encouraged people to vote.