Kylie Minogue and Lulu were among the stars who performed at the closing ceremony of the Commonwealth Games, marking the end of 11 days of sporting action.
The event got under way at Glasgow's Hampden Park stadium with fireworks before Lulu sang her famous hit Shout.
The singer, who is from the city, told the 40,000-strong crowd: "Isn't it great to be here tonight everybody?
"Tonight is all about saying thank you so I think we need some very important people to come on down here to get this party started.
"Welcome the athletes from Glasgow 2014 Commonwealth Games."
The athletes emerged from almost 700 tents dotted throughout the stadium as the crowd cheered.
The competition, featuring 17 different sports, saw more than 140 Commonwealth and several world records broken.
England topped the medal table, followed by Australia, Canada and host nation Scotland.
Deacon Blue paid tribute to the behind-the-scenes workers who kept the city going for the duration of the Games.
The Glasgow band performed their anthem, Dignity, which tells the story of the dreams of a local council worker.
The thousands of volunteers who helped make the Games a reality were next to be thanked.
Local synth-pop trio Prides introduced the Games volunteers - known as Clyde-siders - as they performed their song Messiah.
About 100 volunteers featured in the ceremony, representing the 15,000 Clyde-siders who gave up their free time to keep the Games moving like clockwork.
Representatives of the Royal Edinburgh Military Tattoo also performed in the stadium before the flag of the Commonwealth Games was later lowered.
The next Games will be held in 2018 in Australia's Gold Coast. One of the country's best-known figures Kylie Minogue played a seven-song set.
She performed hits including Spinning Around and The Locomotion - which got the crowd on their feet, including Prime Minister David Cameron, First Minister Alex Salmond and the Earl of Wessex.
Mr Salmond said: "The overwhelming impression of Glasgow and Scotland's Games is of a job extremely well done.
"We hope we have taken the baton on for the Commonwealth and present it to the Gold Coast in fine order."
Mr Cameron said: "We say thank you to the people of Glasgow, the organising committee, the city council, the troops the police, the athletes.
"It has been dazzling, it has been wonderful, it has been a joy to behold and you have made the whole country proud."