After two weeks of being trapped in Thailand cave, everyone who was trapped has been rescued by the Thailand Navy Seals. The rescue mission was a 3-day effort that required multiple trips to the depths of the cave pulling out a few members of the soccer team at a time. The rescued athletes were reportedly been sent to the hospital to check for any potential diseases that may have come from the cave. All the rescued teammates have reportedly been cleared of any diseases or illnesses.

The Thai Navy SEALs posted on their Facebook page to let followers know the boys were safe. “12 Wild Boars and coach out of the cave. Everyone safe,” the post read. 12 Wild Boars is the name of the soccer team.

The weather in the Asian country affected the SEALs rescue plans as flooding could’ve been potentially dangerous to the marooned players. The Washington Post reports that one retired Thai navy SEAL died Friday after he ran out of oxygen while placing compressed-air tanks along the exit route.

The rescue caught the attention of the national media and many on social media who wanted to see the Thai boys make it out alive. SpaceX CEO Elon Musk followed the story and even volunteered to help with his “mini-sub” that officials said was “not practical” in the rescue. The SEALs did not use Musk’s technology, but the billionaire tweeted that he is leaving the mini-sub in Thailand should it ever be useful in the future.