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

Mr. Guo, 20, was released on Saturday. He has been ordered to pay a $30,000 (£22,332) donation and is banned from entering Chilean territory for three years.

The young pilot and influencer is accused of having landed his plane without permission after giving officials a false flight plan while undertaking a solo trip to all seven continents to raise money for cancer research.

Mr. Guo is doing pretty well, his lawyer Jaime Barrientos Ramírez told the BBC's US partner CBS News.

Of course, we do not agree with the legal process opened against him, but it has already been closed with a type of dismissal, his attorney stated, as reported by CBS News.

He is expected to donate his penalty to childhood cancer research within 30 days and must leave the country as soon as possible.

Ethan Guo was 19 when he started his journey to become the youngest person to fly solo to every continent, aiming to raise $1m (£740,300) for cancer research through St. Jude Children's Research Hospital in Memphis.

Having already visited six of seven continents, in June he flew his small Cessna 182Q aircraft from the city of Punta Arenas, near the southernmost point of Chile, to King George Island off the Atlantic coast.

The island is claimed by Chile and named after the UK's King George III.

Mr. Guo, originally from Tennessee, was taken into custody after landing on the island, home to various international research stations. Authorities indicated he submitted a plan to fly over Punta Arenas but did not disclose plans to continue further.

Charged on June 29 with allegedly handing false information to ground control and landing without authorization, those charges were dropped by a judge last month.

He has previously expressed his desire to continue his fundraising efforts once he is free from military custody.