Luiz Inácio Lula da Silva ex-President of Brazil has been freed after more than 18 months in prison.
The left-wing former leader, known as Lula, was greeted with rapturous applause from crowds of supporters as he walked free out of the jail on Friday.
He was held in a prison in the city of Curitiba on corruption charges.
A judge ordered his release after a Supreme Court ruling that defendants should only be imprisoned if they have exhausted their appeal options.
The 74-year-old ex-president, who led Brazil between 2003 and 2010, is seen as a leftist icon in the country. As he left the prison, he pumped his fist in the air as a victory sign.
“I didn’t think that today I could be here talking to men and women that during 580 days shouted good morning, good afternoon or goodnight, no matter if it was raining or 40 degrees [Celsius],” he told the crowds.
Lula was favorite to win last year’s presidential election but was imprisoned after being implicated in a major corruption scandal. The race was won instead by far-right candidate Jair Bolsonaro.
Criticizing Mr. Bolsonaro’s economic policies, Lula vowed to keep fighting for impoverished Brazilians.
“People are hungrier, they have no jobs, people work for Uber or delivering pizzas on a bike,” he added, specifically criticizing insecure work and the gig economy.
After Lula’s release, President Bolsonaro said the ex-president was “momentarily free, but guilty”.
He asked supporters on Twitter “not to give ammunition to the scoundrel”.
Lula will be barred from standing for office because of his criminal record.
Silva has repeatedly denied all the accusations level against him and claims they are politically motivated.
“Our judicial battle continues, our point is to get the legal case canceled,” Cristiano Zanin his lawyer said.