Thai cave rescue: a timeline

The unprecedented mission to evacuate the "Wild Boar" football team from a flooded Thai cave finished on Tuesday after the final four boys and their coach were extracted by elite foreign divers and Thai Navy SEALs.

The final stage of the complex operation, which has gripped Thailand and dominated global headlines, put an end to the 18-day saga that started when the team entered the cave on June 23.

Here is a timeline of the efforts to find and free the group:

- Saturday, June 23 -

The youngsters, aged between 11 and 16, and their 25-year-old coach enter the Tham Luang cave in northern Thailand during heavy rains after football practice.

They are reported missing after the boys do not come home that night.

Local officials find bicycles locked to a fence and shoes and football boots close to the entrance.

- Sunday, June 24 -

Park officials and police find handprints and footprints believed to belong to the boys. Relatives start to keep vigil outside the cave.

- Monday, June 25 -

Thai Navy SEAL divers enter the cave searching for the boys. Makeshift shrines are set up for parents to pray and make offerings as heavy rains continue.

- Tuesday, June 26 -

Divers are forced out of the cave by rushing floodwaters as they try to reach an air pocket called "Pattaya Beach", where the boys are believed to have retreated.

- Wednesday, June 27 -

A team of more than 30 American military personnel from the US Pacific Command arrive and are joined by three British diving experts who start to probe the cave.

Thailand's junta leader Prayut Chan-O-Cha visits the site and urges relatives not to give up hope.

- Saturday, June 30 -

A break in the rain allows divers to reach further inside the cave but they are still a long distance from where the boys are believed to be.

- Sunday, July 1 -

Divers inch further in, as an operating base is set up inside "Chamber Three" and hundreds of air tanks and other supplies are pulleyed in.

- Monday, July 2 -

Finally, a miracle: the 12 boys and their coach are found alive late Monday evening about 400 metres beyond Pattaya Beach by the British cave diving team.

Crowds at the teeming rescue site cheer the good news, but attention soon turns to the difficult task of getting the boys out safely.

- Tuesday, July 3 -

Much-needed food and medical supplies -- including high-calorie gels and paracetamol -- reach the boys as rescuers prepare for the possibility that they may remain in the cave for some time.

- Wednesday, July 4 -

Officials say the group are being taught how to use diving masks and breathing apparatuses. Teams pump out water around the clock to help clear the path for divers.

- Thursday, July 5 -

Authorities say expected rains may force a complex rescue sooner than first thought.

- Friday, July 6 -

Tragedy strikes: a diver helping to establish an air line to the boys dies after passing out while returning from the chamber, raising serious doubts over the safety of attempting a rescue.

Thailand's Navy SEAL commander says oxygen levels inside have dropped. He warns the window of opportunity to free the youngsters is "limited".

- Saturday, July 7 -

Rescue operations chief Narongsak Osottanakorn says the boys are not ready to dive to safety.

A scrawled message emerges from the team's coach, offering his "apologies" to their parents, while in other touching notes the boys tell their relatives not to worry.

- Sunday, July 8 -

Divers lead the first four boys out of the cave as night falls.

Narongsak says late in the evening that the rescue mission will not start again for at least another 10 hours to allow oxygen and other supplies to be replenished.

- Monday, July 9 -

As dusk falls four more boys are rescued. The Thai Navy SEALs greet another seemingly successful day with a social media post saying "Hooyah".

- Tuesday, July 10 -

The last four boys and the coach are safely brought of the Tham Luang cave in one of the fastest days of the 72-hour operation, as congratulations poured in from world leaders including US President Donald Trump.

Later in the evening, the last four divers who had helped with the rescue also emerge safely from the cave.

Health officials say the eight boys rescued on the first two days of the mission were in good physical and mental health but more tests are being carried out.