Thai media celebrate after evacuation in Chiang Rai. Photos / AP
The first reports came in, just as the sun began to set on the Tham Luang caves in northern Thailand: All 12 boys and their assistant soccer coach had been successfully rescued, after two weeks trapped in a flooded cave.
As news spread by word of mouth at the scene, dozens of volunteers and journalists camped out nearby threw their hands up and cheered.
When the team of rescue divers emerged from the entrance of the cave in their wet suits, people yelled "Thank you!" in English and Thai, reaching out their hands to high-five them.
In footage captured by the BBC, families of the boys were seen hugging in front of television screens in their homes, as residents in the nearby city of Chiang Rai lined the streets, clapping and taking videos of the ambulances carrying the last few boys to Chiangrai Prachanukroh Hospital.
Kilometres away from the Thai city, thousands across the world joined them in celebration.
"Hooyah, Hooyah, Hooyah," the Thai Navy Seals, who worked with an international team of 18 divers to execute the rescue mission, wrote in a Facebook post. The phrase, a battle cheer that the elite Seal unit adopted from the US Navy, has become an international hashtag used by people to show their support and gratitude to those involved in the rescue mission.
More than a week ago, the soccer team of 12 boys and their assistant coach were found trapped in a flooded chamber of a 9.5km-long cave in northern Thailand.
Momentary celebrations quickly gave way to rising anxiety as it became clear that the rescue would necessarily be highly risky. For days, divers strategised as teams of volunteers worked to drain water out of the cave.
But faced with a forecast of more rain this week, experts warned that if a rescue mission were not executed quickly, the boys and their coach could be stranded in the cave for months more.
Fourteen days after the team first went missing, the divers took action, pulling the first group of four boys out of the cave. Each boy was escorted out by two divers through winding, narrow tunnels. People across the world held their breath as the second group of boys was escorted out, leaving just four others and their coach trapped inside.
"We are not sure if this is a miracle, a science, or what. All the thirteen Wild Boars are now out of the cave," the Thai Seals wrote in a Facebook post shared by nearly 80,000 people.
Former Chiang Rai provincial governor Narongsak Osatanakorn, who has been managing the rescue efforts, told a rowdy crowd in the city that the success of the mission was attributable to "the power of love."
The Thai Navy Seals - along with the international team of divers who travelled to Mae Sai, the town nearest the cavern, to help - have quickly become immortalised as modern-day superheroes in various pieces of artwork.
Two Thai artists, who go by the name Sisidea, drew a particularly intricate cartoon to represent the various parties involved in the mission.
In the piece, 12 small boars, to represent the 12 boys from the Wild Boars, bound through the water, safely escorted by frogs, representing the divers, and seals, referring to the navy Seals.
Above them, a bald eagle symbolising the United States flaps its wings next to the face of Iron Man - a reference to "Mr Elon Musk," who sent engineers from his companies Space X and Boring Co. to help with rescue efforts last week.
Other images circulating on social media include portraits and illustrations of Saman Kunan, the former Thai Navy Seal who died while trying to deliver oxygen to the boys last week.
At the time, the Thai Seal unit vowed to continue rescue efforts, writing on Facebook: "The determination and dedication of Saman will always be in all of our frogmen hearts. . . .We will complete this mission, just as Saman intended."
One twitter user - @TrevDon - wrote: "Every now and then, we see a real hero. This is the last photo taken of Sgt. Saman Kunan before he lost his life on Thursday while returning from delivering oxygen to the boys trapped in the cave. He retired from the Thai Navy, but volunteered to help."
Hours after the rescue was confirmed, US President Donald Trump tweeted his congratulations, adding, "Such a beautiful moment - all freed, great job!" British Prime Minister Theresa May, Iceland's prime minister, Katrín Jakobsdóttir, and Singaporean Prime Minister Lee Hsien Loong were among other world leaders who commended the rescue team on social media.
Attention will now be focused on the recovery of the boys and their coach; doctors who have been working with the eight boys rescued earlier last week have said they are generally in good health.
The team also has plenty to look forward to. The English soccer team Manchester United has invited the Wild Boars to visit the Old Trafford stadium in Manchester for a match this coming season, and Kyle Walker, a player for England's national team, tweeted that he was planning to send gifts to the 12 boys.