The Thai Navy SEAL divers have rescued all 12 boys and their soccer coach trapped for more than two weeks deep inside a flooded Thai cave.
A Thai navy SEAL unit made the announcement on Tuesday, making a successful end to a perilous mission that has gripped the world.
The rescue mission continued for three days, reports news.18.com.
"The 12 Wild Boars and coach have emerged from the cave and they are safe," the Thai navy SEAL unit said on its official Facebook page.
The "Wild Boars" soccer team and their coach got trapped on June 23 while exploring the cave complex in the northern province of Chiang Rai after soccer practice and a rainy season downpour flooded the tunnels.
British divers found the 13, hungry and huddled in darkness on a muddy bank in a partly flooded chamber several kilometres inside the complex, on Monday last week.
The head of the operation, Narongsak Osottanakorn, said earlier the final operation would be “more challenging” because one more survivor would be brought out, along with three Navy SEALs who have been accompanying them.
The rescuers have been learning from experience and were two hours faster in bringing the second batch of survivors out on Monday.
However, scattered monsoon rains continued to risk percolating through the limestone cave walls to flood the tunnels with fast-flowing water.
“I hope today we will be faster or the same speed as yesterday,” Narongsak said.
A crack team of foreign divers and Thai Navy SEALS has been guiding the boys out through nearly 4 km (2.5 miles) of sometimes submerged, pitch-dark channels.
The “Wild Boars” soccer team and their coach got trapped on June 23 when they set out to explore the vast cave complex after soccer practice, when a rainy season downpour flooded the tunnels.
British divers found the 13, huddled on a muddy bank in a partly flooded chamber several kilometres inside the complex, on Monday last week.
The eight boys brought out on Sunday and Monday were in good health overall and some asked for chocolate bread for breakfast, officials said.
Two of the boys had suspected lung infections but the four boys from the first group rescued were all walking around their hospital beds.
They are still being quarantined from their parents because of the risk of infection and would likely be kept in hospital for a week to undergo tests, officials said.
Four more of the boys were carried on stretchers out of the labyrinthine Tham Luang cave on the Myanmar border at dusk on Monday, bringing to eight the number brought out after two rescue pushes on successive days.
People across Thailand, and the world, have cheered the rescue operation, including at the Mae Sai Prasitsart school where six of the trapped boys are students.
Technology billionaire Elon Musk went into the cave on Monday and left the rescue team with a “kid-sized” submarine his company SpaceX had built, Thailand’s interior Minister Anupong Paochinda said.
Musk said on Twitter: “Just returned from Cave 3. Mini-sub is ready if needed. It is made of rocket parts & named Wild Boar after kids’ soccer team. Leaving here in case it may be useful in the future.”