Prince William delighted the team behind the 2014 Commonwealth Games by making a surprise appearance at the wrap party, held in Glasgow's Merchant Square.
The Duke of Cambridge took to the stage in front of around 1,500 people to personally thank staff for their hard work, saying that it was a "huge honour" to join them to celebrate "the best ever Commonwealth Games in history".
Speaking of attending the Games with his wife the Duchess of Cambridge, née Kate Middleton, and his brother Prince Harry, he said: "When Catherine, Harry and I visited last week we saw the slogan People Make Glasgow. It was written all over the city.
CLICK ON PHOTOS FOR FULL GALLERY
"You epitomise that slogan in the way that you ran the Games - with professionalism and great care, allowing the Games' friendliness to shine through.
"These were undoubtedly the best ever Commonwealth Games in history and you guys made it that way. You have helped to deliver a triumph."
William thanked Games staff on behalf of his grandmother, adding: "It meant an awful lot to the Queen that the Commonwealth Games, which are so dear to her, were in safe hands.
"Thank you for your dedication, your professionalism and most importantly for all you've done for the Commonwealth Games.
"I know that the people of Glasgow and the country thank you also."
William looked to be on flying form at the event, which took place in the same week that Kensington Palace confirmed the royal is to become a helicopter pilot with East Anglian Air Ambulance, and that he will donate his entire salary to charity.
He took the time to chat with hundreds of people at the wrap party – including Tim Love, venue manager of Ibrox Stadium, where much of the sporting action took place.
Mr Love said: "Prince William asked what the secret to the success of the Games was, and to be honest I said it was more to do with the spectators.
"They were definitely there to really enjoy themselves and to get behind everyone. It was great to see everyone getting support no matter where they were from."
Watch: Prince William takes George to meet his sister
It's a little princess!