Britain’s Prince William, the Duke of Cambridge, right, sings with US singers Taylor Swift, left, and Jon Bon Jovi at the Centrepoint Gala Dinner at Kensington Palace in London, Tuesday Nov. 26, 2013. Centrepoint is a charity supporting homeless young people aged 16-25 and the Duke is patron of the organisation. (AP Photo/Dominic Lipinski, Pool) Image Credit: AP

London: Britain’s Prince William teamed up with US pop royalty Jon Bon Jovi and Taylor Swift on Tuesday night to perform an impromptu version of “Livin’ On A Prayer” at his home, Kensington Palace.

The trio belted out the Bon Jovi classic at the end of a gala event at the London palace in support of the homeless charity Centrepoint, of which 31-year-old William is patron.

Bon Jovi began the performance alone with his guitar, but the second-in-line to the British throne and Grammy-winning pop diva Swift came on stage to join him, to huge cheers from the crowd.

Wearing full black-tie, the prince made a decent attempt at the choruses but spent the more obscure verses nodding along with his hands awkwardly clasped in front of his dinner jacket.

He high-fived 23-year-old Swift, who rocked out onstage in a sequinned cream dress.

Actor Benedict Cumberbatch also attended the glittering Winter Whites Gala at Kensington Palace, where temperatures plummeted to a chilly 3C (37F) as the stars and 600 guests walked along a blue carpet into the palace Orangery, which had been lined with fir trees sprinkled with snow, for a lavish dinner followed by a pop concert, including a performance by Swift.

“Nights like this happen once in a lifetime,” Bon Jovi told the crowd.

“But the chance to effect change can last a lifetime. Each one of you tonight have that chance to effect change.”

William took a night off from looking after his baby son Prince George, who was born to his wife Kate in July, to attend the event and present Bon Jovi with an award for his own work combatting poverty and homelessness.

Swift, 23, appeared delighted to meet the Duke of Cambridge last night, ending their brief chat with an animated ‘Awesome!’

Afterwards the excited singer, who dazzled in a white Reem Acra dress with a sparkling bodice, said: ‘I’m absolutely excited. I don’t think I’ve ever played at a palace before so it is really wonderful. It’s really wondrous, I think they’ve done an amazing job of putting this together.’

Describing her meeting with the prince, Swift, who dated One Direction singer Harry Styles last year, added: ‘He was very funny.’

Bon Jovi founded his Soul Foundation in the United States in 2006. The charity aims to help Americans out of poverty by giving them access to food, training and affordable housing.

William has been patron since 2005 of Centrepoint, which works with young homeless people in London and northeast England.

— With inputs from Daily Mail