"Here's to the man," McCartney said after playing the Purple Rain track. "Loved that guy. Thank you Prince, for writing so many beautiful songs, so much music. And he's your guy."
"Prince, Minneapolis; Minneapolis, Prince. It goes together," McCartney said onstage with Prince's glowing purple glyph towering in the background. Watch the performance via McCartney's Facebook page.
The former Beatle's live performance also paid tribute to another huge figure in McCartney's career: the late Beatles producer George Martin, who died in March. McCartney dedicated "Love Me Do" to Martin as it was the first song the Beatles recorded with him in 1962.
McCartney is the latest in a wide range of artists from Bruce Springsteen to LCD Soundsystem to Chris Stapleton to honor the Purple One onstage. Musicians have been performing heartfelt tributes to the late singer since his death at age 57 on April 21st.Rolling Stones, Paul McCartney and Bob Dylan have confirmed their participation in Mega-Fest this fall. Watch here.