Updated

Pele has recorded a video message from his hospital room to thank his fans around the world for praying for him while he underwent treatment for a urinary tract infection.

Pele said in the video posted on Friday on his Twitter and Facebook accounts that he is "doing fine" and has "recovered" from the ailment that has kept him hospitalized for nearly two weeks.

The 74-year-old former player said he knows "everybody worried" about his health but guaranteed that he is "OK."

The video begins with Pele playing a guitar while seated next to family members.

Doctors said Pele continues to improve steadily and has no more signs of the infection. He stayed several days in an intensive care unit to undergo hemodialysis to help support his only kidney.