Brazil's former President Luiz Inácio Lula da Silva has been freed from jail.
A judge ordered the release of Lula after the Supreme Court ruled that convicted criminals should go to prison only if they have exhausted their appeal options.
He was mobbed by supporters outside a prison in the city of Curitiba where he has been held for a year and a half on corruption charges.
The left-winger led Brazil between 2003 and 2010 and remains popular.
"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)," Lula told the crowds.
He vowed to establish his innocence and criticised what he called the "rotten side of the judicial system" for "working to criminalise the left".
He was favourite 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.
Lula will be barred from standing for office because of his criminal record.
He has consistently denied all the accusations against him and claims they are politically motivated.
How did the release come about?
Justices voted to reinterpret the country's penal code in a decision issued on Thursday.
It overturns a three-year-old rule which mandated immediate prison time for convicted criminals after they lost their first appeal.
Latest Stories
-
Chalobah and Jackson score as Chelsea defeat Tottenham
3 mins -
NPP praises Police, EC for successful Ejisu by-election
20 mins -
2024 Ramadan Cup: Bawumia donates 20,000 to four teams as Ashaiman lifts trophy
22 mins -
PMI Ghana Chapter members tour Kasoa BSP Project
22 mins -
Child Rights International pledges support for toddler mauled by dog
24 mins -
Cedi’s woes due to diminishing expectations of investors concern about Ghana’s competitiveness – Prof. Peprah
30 mins -
EIU optimistic Ghana’s debt-carrying capacity could easily improve in future
46 mins -
Access Bank Ghana Plc records commendable financial growth in quarter one, 2024
3 hours -
GFA DC charges Bashir Hayford over alleged misconduct in Bechem Utd game
3 hours -
MTN FA Cup: Dreams FC beat Soccer Intellectuals to make semis
4 hours -
Ayorkor Botchwey champions transformative investment, trade agenda
4 hours -
KNUST, University of Rwanda share experiences in implementation of Mastercard Foundation Scholars Program
5 hours -
Top 10 most visited tourist sites in Ghana 2023
5 hours -
Cecilia Dapaah case: I will reopen investigation into alleged acts of corruption – Mahama
5 hours -
GRA boss charges customs officers to be professional ahead of 2024 general elections
5 hours