American pilot Ethan Guo has been released from a Chilean air base in Antarctica after being detained for two months for allegedly landing his plane illegally in the country's territory.

Mr. Guo, 20, was released on Saturday with an imposed $30,000 (£22,332) donation to childhood cancer research and a three-year ban from entering Chile.

Initially detained for giving officials a false flight plan on a solo trip aimed at becoming the youngest person to fly solo to every continent and raising funds for cancer research, Mr. Guo's legal challenges have highlighted the intricacies of international aviation law.

His attorney, Jaime Barrientos Ramírez, reported that Mr. Guo is doing well despite the legal struggles. Of course, we do not agree with the legal process opened against him, but it has already been closed with a type of dismissal, Ramírez added.

The young pilot must complete his donation within 30 days and is expected to leave the country promptly.

Originally from Tennessee, Guo embarked on his journey to fly solo to all continents, intending to raise $1 million (£740,300) for cancer research at St. Jude Children's Research Hospital in Memphis. After already visiting six continents, he faced trouble while attempting to land on King George Island, a site of multiple international research stations.

Authorities charged him with providing false information and unauthorized landing, charges that were later dropped by a judge last month.

Despite the setback, Guo has expressed his desire to continue his mission as soon as possible.