Maybe it's true that money can't buy you love. But it can get you a private performance by some very famous people – including a Beatles legend.

Paul McCartney's appearance at a Hillary Clinton fundraiser last night ended with an all-star version of "Hey Jude" featuring Jon Bon Jovi and Jimmy Buffett. The event, held at Buffett's estate in Sag Harbor, reportedly cost $25,000 a ticket – prompting McCartney to joke that "this is the first time that I've paid to hear myself sing."

His four-song set began with the Wings hit "Jet," followed by two other Beatles songs, "Can't Buy Me Love" and "Lady Madonna." You can see fan-shot video of "Hey Jude," courtesy of TV host Andy Cohen, below.

Bon Jovi sang "Who Says You Can't Go Home" from 2005's Have a Nice Day, and joined Buffett for a rendition of the Van Morrison favorite "Brown Eyed Girl" and Buffett's "Margaritaville." Buffet's set, which reportedly lasted more than an hour, also included "Cheeseburger in Paradise."

McCartney posted a picture supporting Clinton in her race for the U.S. presidency against Donald Trump earlier this month on Twitter, adding that "She's with me" – a play on the familiar Clinton campaign slogan. The pair met before McCartney's Aug. 17 performance in Cleveland, after Clinton's motorcade stopped by the Quicken Loans Arena. They were said to have discussed the Olympics, their families and – of course – her ongoing campaign.

Paul McCartney Albums Ranked Worst to Best

More From Ultimate Classic Rock