He is considered one of football's greatest of all time.

But the last few years have been marred by several stays in hospital.

Among other things, he has been in the intensive care unit and had surgery to remove a cancerous tumor in the colon.

Brazilian ESPN writes that Pelé arrived at the Albert Einstein Hospital in São Paulo on Tuesday and that he was swollen all over his body.

The doctors must have then diagnosed heart failure.

ESPN also writes that the 82-year-old football legend is undergoing several tests on Wednesday for a more in-depth assessment.

The text is updated.

CLIP: A star is born - Pelé's breakthrough in Sweden

Javascript is disabled

Javascript must be enabled to play video

Read more about browser support

A star is born - Pelé's breakthrough in Sweden