CLARK, PHILIPPINES - The 30th South-east Asia Games ended on Wednesday (Dec 11) with a rocking closing ceremony in the 20,000-seater purpose-built stadium in Clark, as host nation Philippines ran away winners with 149 gold medals.
After a chaotic start beset by organisational gaffes, a presidential apology and online mockery, the Games were briefly hit by a deadly typhoon, but organisers worked around the clock to get the schedule back on track.
"This year, Christmas has come early," chairman of the organising committee Alan Peter Cayetano said to thousands of flag-waving fans in the stadium after each country's athletes had paraded by.
"We South-east Asians, we Filipinos, have shown the world that we can do it with world-class quality."
Around 8,750 athletes and officials took part in the biggest-ever SEA Games across 10 days of competition, involving sportsmen and women from 11 countries in venues across Clark, Manila and Subic in the country's north.
Once the celebrations have died down, however, organisers will face a government probe after the embarrassing build-up to the Games generated the wrong kind of headlines and a mocking hashtag #SEAGamesFail.
The Games were also slammed by Typhoon Kammuri which forced about half of the events to be rescheduled for one day.
Kammuri's fierce winds toppled trees and flattened flimsy homes across a swathe of the nation's north, and forced a rare 12-hour shutdown of Manila's international airport.
Despite 13 deaths in the storm, none of the athletes, officials or 12,000 volunteers was reported hurt and a full programme resumed soon after.
E-SPORTS MAKES DEBUT
At the Games' many venues there were disappointing performances for some of the region's biggest stars.
Singaporean Olympic champion Joseph Schooling was expected to take several golds in the pool, but walked away with just one individual title.
The 24-year-old famously beat his idol, US legend Michael Phelps, at the Rio 2016 Olympics in the 100m butterfly final, but was out of form and out of shape just seven months away from Tokyo 2020.
And home favourite, the world champion gymnast Carlos Yulo, won just two out of the seven golds he was going for.
However, there were some impressive displays, including many from Vietnam who came second with 98 golds, including the men's football title.
For many though, the actions of local surfer Roger Casugay will be the highlight of the Games.
Casugay became an online sensation after he leapt from his board to help an opponent who had got into difficulty in choppy waters.
He later went on to win a gold medal, even beating the rival he rescued on his way to glory.
And for the first time ever eSports became a medal event at an Olympic-recognised multi-sport competition.
Players from nine countries competed at a darkened arena in Manila over six days for medals in Mobile Legends, Arena of Valor, Dota 2, Starcraft II, Tekken 7 and Hearthstone.
To mark the official end of the Games, thousands heard a medley of rock songs by former Journey lead singer, the Filipino Arnel Pineda, whose setlist included Sweet Child O' Mine by Guns N' Roses and Queen's We Will Rock You.