Announcing the successful completion of its nail-biting rescue, the Thai navy SEAL unit said on its official Facebook page: "The 12 Wild Boars and coach have emerged from the cave and they are safe". Another two more boys left the cave complex a short time later followed by the fourth boy.
Authorities did not reveal the identity of the boys as they were brought out.
Some of the boys had reportedly explored the cave system in the past, while some knew the system well, but became stuck after a flash flood trapped them deep inside the cave.
Federation Internationale de Football Association president Gianni Infantino invited the team to the World Cup final in Moscow on Sunday.
"We expect that if there is no unusual condition. the four boys, one coach, the doctor, and three SEALs who have been with the boys since the first day will come out today, " he told a news conference to loud cheering.
CNN was told the boys were exploring the caves on June 23 with their coach when they were trapped inside by heavy seasonal rains.
The 8 boys who have already been taken from the cave by diver are thought to be largely healthy after their ordeal, despite having been trapped inside the cave with little food or water for more than two weeks.
Samsung plant will enhance economy, boost India-Korea ties: PM Modi
The new factory will almost double Samsung's output, thus helping compete against Xiaomi and possibly win back the top spot. Speaking on the occasion, the South Korean President said the new Samsung unit will provide jobs to local people.
However, another official, Thongchai Lertwilairatanapong, inspector general of the public health ministry, said initial blood tests "showed signs of infection".
Pure Flix films managing partner Michael Scott said: "I see this as a major Hollywood film with A-list stars".
Mr Karadzic, who the BBC reported was stationed near a hard stretch of the cave about halfway along the escape route to replace oxygen tanks and help guide people through, said the rescue workers had feared the worst.
The complex effort to get the "Wild Boars" out of the Tham Luang cave ended on Tuesday in success after meticulous planning, cooperation and no small amount of luck.
Half of the boys attend school in Mae Sai, a community that borders Myanmar and lies just a few kilometres from the cave.
Despite all the risks associated with the rescue, she says she never had any doubt that the boys would all make it out.
Jesada said the boys are being kept away from family members to prevent them from getting an infection.