ALL 12 boys and their football coach have been rescued from a flooded cave in northern Thailand, ending an ordeal that lasted more than two weeks, the country's navy Seals said.

The remaining four boys and coach were rescued on Tuesday, after other rescues in the previous two days.

Seven divers in the rescue team were from the UK, including Rick Stanton and John Volanthen, who were the first to reach the group last week.

Eight of the trapped boys had been brought out of the cave by divers on Sunday and Monday.

The plight of the boys and their coach has riveted Thailand and much of the world – from the heartbreaking news that they were missing to the first flickering video of the huddle of anxious yet smiling boys when they were found 10 days later by the British divers.

One of the boys appeared to be wearing a red replica England football shirt.

They were trapped in the cave that became flooded by monsoon rains while they were exploring it after football practice on June 23.

The eight boys brought out by divers over the previous two days were doing well and were in good spirits, a senior health official said.