This is the moment music superstars Sir Paul McCartney, Jon Bon Jovi and Jimmy Buffett took to the stage at a glamorous fundraiser for presidential hopeful Hillary Clinton.

The trio serenaded the crowd with the Beatles classic Hey Jude while both Hillary and her husband, former president Bill Clinton, danced with other guests at the bash in the Hamptons.

Video from the $25,000-a-ticket event at Jimmy and Jane Buffett’s estate shows Buffett, Bon Jovi and McCartney singing on stage for the grand finale.

Music superstars Paul McCartney (right) and Jon Bon Jovi (in black) took to the stage at a glamorous fundraiser for presidential hopeful Hillary Clinton (front)

McCartney (right) and Jon Bon Jovi (left) serenaded the crowd with the Beatles classic Hey Jude

Hillary and her husband, former president Bill Clinton danced with other guests at the bash in the Hampton

Clinton was wrapping up a fundraising blitz during which she has racked up millions in a three-day swing.

The Democratic presidential nominee hopped from mansion to mansion in the ocean-front vacation destination, appearing at parties and dinners where the contributions ranged from $1,000 to $100,000 for guests and hosts.

The top-dollar tour concluded last night with an event in Sag Harbor complete with the stellar musical line-up.

Hillary Clinton walked on stage to join Sir Paul McCartney, Jon Bon Jovi and Jimmy Buffett

The top-dollar tour concluded last night with an event in Sag Harbor complete with the stellar musical line-up

Sir Paul McCartney is pictured with photographer Diana Berrent at the event in The Hamptons

On an outdoor stage, Buffett entertained for more than an hour, playing hits like Margaritaville and Cheeseburger in Paradise.

Bon Jovi serenaded the crowd with Who Says You Can't Go Home, and McCartney's numbers included Can't Buy Me Love and Lady Madonna.

The trio closed out the show with a performance of Hey Jude. Attendees said Clinton even hit the dance floor with McCartney during one of Buffett's numbers.

McCartney joked with the crowd, according to fundraiser guests, saying that this was 'the first time I've paid to hear myself sing.'

Guests and Hillary Clinton arrive at the home of Jimmy Buffett for a fundraiser in the New Haven, New York

McCartney joked with the crowd, according to fundraiser guests, saying that this was 'the first time I've paid to hear myself sing'. Guests are pictured arriving at the event

Democratic presidential candidate Hillary Clinton speaks with neighborhood children as she signs a book for them following a fundraiser at a private home in Sagaponack

Clinton kicked off her Tuesday fundraisers with an afternoon party in Sagaponack, where guests mingled with the candidate in a sunny backyard

Clinton kicked off her Tuesday fundraisers with an afternoon party in Sagaponack, where guests mingled with the candidate in a sunny backyard dotted with tables decked in red- and blue-checkered tablecloths.

The events all raised money for the Hillary Victory Fund, a joint fund supporting her campaign, the Democratic National Committee and state party organizations.

Heading into the final stretch of the campaign, Clinton is stressing that the race against Republican Donald Trump is far from over. At an event Monday she told guests that 'this is the most unpredictable election season that I certainly can remember.'