Prince William Joins Bon Jovi, Taylor Swift for ‘Livin’ on a Prayer’ (VIDEO)

updated 08/25/2015 AT 8:16 PM ET

originally published 11/27/2013 AT 8:50 AM ET

This object displays a Brightcove video
All right, it wasn’t quite a supergroup. But the 600 invited guests who witnessed a slightly nervous Prince William joining Taylor Swift and Jon Bon Jovi for a rendition of “Livin’ on a Prayer” will likely never forget it.

Rocking a tux, the prince was led to the stage by Swift late Tuesday night at Kensington Palace. Once in front of the mic, he clapped his hands and nodded his head to the music as those in the crowd hollered the chorus. At times he even managed to harmonize with Swift and Bon Jovi – and play air guitar.

The impromptu concert was described by William’s aides as completely “off the cuff,” and as it concluded, William and Swift high-fived each another, while Bon Jovi, who was awarded the Great Britain Youth Inspiration Award in honor of his Soul Foundation, gave his royal backup singer a big hug.

The Winter Whites Gala to raise money for one of William’s favorite charities, the homeless youth organization Centrepoint, began with a reception at the state apartments of the palace where William lives with Kate and Prince George and continued with a private dinner for VIPs at the Orangery on the grounds.

Earlier, Swift performed acoustic versions of her hits “Trouble,” “15” and “Love Story,” with its tale of princes and princesses.

From left: Taylor Swift, Jon Bon Jovi and Prince William

Rex USA
“It’s strange that I end up at a palace playing this song,” she said. “I’m very excited, though.”