But the former Brazilian president was not able to attend his brother’s funeral in January.
Former Brazilian President Luiz Inácio Lula da Silva was granted leave from prison to attend his grandson’s funeral.
The seven-year-old died of meningitis on Friday, and the jailed ex-leader was allowed to go to the burial in Sao Paulo on Saturday, where supporters gathered to greet him.
Lula, as he is known, is serving 12 years in prison on corruption charges.
The ex-leader says his conviction was politically motivated.
An iconic figure for the left in Latin America, the former trade unionist led Brazil between 2003 and 2010.