Pele has joked that he is ready to play for Brazil after being released from hospital in Sao Paulo.
The 74-year-old admitted he had a "scare" after spending several days in intensive care.
After successful treatment for a urinary tract infection, the three-time World Cup-winner talked about helping his country to Olympic football gold in Rio in 2016.
He said: "I'm well and recovered, and now I am preparing for the Olympics."
Pele has only one kidney, having had one removed towards the end of his playing career.
He was admitted to Sao Paulo's Albert Einstein Hospital on 24 November after being diagnosed with a urinary tract infection that stemmed from surgery to remove kidney stones 11 days earlier.
The former Santos and New York Cosmos striker will continue recovering at home.
Pele at his news conference in Sao Paulo
He told a news conference: "I'd like to thank the doctors that took care of me. It was a real fight.
"I would like to thank God - and all friends that have sent me messages and were worried about me.
"It was something I was not expecting, but I was not afraid to die.
"I've had messages from China, Pakistan, from almost all the European countries.
"It is gratifying and good to know that I had the support of so many people around the world who were hoping the situation improved."
Pele continued with a joke, adding: "Now I am preparing for the Olympics. Three professionals can play in the Olympics and I'm one of the three!"
Latest Stories
-
Let’s forgive one another and push for victory – Napo appeals to NPP members
7 mins -
Fifi Kwetey takes high-octane campaign to Volta Region
33 mins -
40 women in Ashanti region empowered through MEST Africa’s digital marketing
54 mins -
Koa’s Cocoa Sustainability Imprint: Cocobod delegation, National Best Cocoa Farmers tour Koa’s facility
55 mins -
We will come out of the 2024 election stronger – Bawumia
1 hour -
GJA, EC urge credible and ethical election reportage to foster trust in Ghana’s democracy
1 hour -
NPP drops single-digit inflation target, cites economic realities
1 hour -
Nana Kwame Bediako urges youth to prioritise Ghana over political parties
1 hour -
CHRAJ’s report ‘in many parts is dumb’ – Ablakwa
1 hour -
I hope peace pact promotes genuine commitment – Rev Adu-Gyamfi
1 hour -
Electoral Commission “has walked the talk of peace”- Jean Mensa
1 hour -
Dr Bartlett-Vanderpuye honoured as Africa’s Most Innovative Business Executive
2 hours -
NDC stands prepared to play its part in ensuring peace – Mahama
2 hours -
Judiciary alert to high stakes of competitive elections – Chief Justice assures
2 hours -
Nana Kwame Bediako sets up Guinea Fowl farm in Bole to support residents
2 hours