"The King gave us a new Brazil and we are so thankful for his legacy. Thank you, Pele."
President Jair Bolsonaro has declared three days of national mourning.
Pele's former club Santos released details of his funeral. On Monday morning his body will be moved from the hospital to the club's Estadio Urbano Caldeira, where the coffin will be placed in the centre of the pitch for the public to pay respects.