Former Brazilian President Luiz Inacio Lula da Silva has been convicted of corruption charges and sentenced to nine and a half years in prison.
The judge ruled he could remain free pending an appeal.
Lula has rejected claims that he received an apartment as a bribe in a corruption scandal linked to state oil company Petrobras.
He says the trial is politically motivated and has strongly denied any wrongdoing.
The case is the first of five charges against him.
Lula served eight years as president until 2011 and has expressed interest in running again in next year's elections for the left-wing Workers' Party.
On Wednesday, a judge found him guilty of accepting bribes from engineering firm OAS in the form of a beachfront apartment in return for his help in winning contracts with the state oil company.
"For more than three years Lula has been subject to a politically motivated investigation. No credible evidence of guilt has been produced, and overwhelming proof of his innocence blatantly ignored," they wrote.
The head of the Workers' Party, Senator Gleisi Hoffmann, also hit out at the ruling, saying it was designed to stop Lula standing for office.
She said the party would protest against the decision.
The BBC's Katy Watson in Rio says Lula remains a popular politician and the sentence will deeply divide Brazil.
The charges Lula faces relate to the Car Wash scandal, the nickname for Brazil's biggest ever corruption probe.
Operation Car Wash was launched three years ago amid escalating public anger over political corruption.
The investigation centres on firms that were allegedly offered deals with Petrobras in exchange for bribes, which were funnelled into politicians' pockets and party slush funds.
Lula, a former steel worker turned union leader, came to office as the first left-wing leader in Brazil in nearly half a century.
He was Brazil's most popular president during his tenure - former US President Barack Obama labelled him the most popular politician on Earth.
Unable to stand for a third consecutive term, he was succeeded by close ally Dilma Rousseff, who was later impeached.
Current President Michel Temer also faces corruption allegations and is resisting calls for him to step down. (BBC)
ATP Thursday, 13 July 2017 09:05
Coming colors no good for Ex-Presidents.MR needs to get ready for his turn now.
Reply : 3 18
sss Thursday, 13 July 2017 15:18
This is Sri Lanka. No politician has been prosecuted. Both parties look after each others thieves and thugs while the dumb public looks on
Reply : 1 9
sobers Thursday, 13 July 2017 09:21
It will never happen in SrLanka. Corrupt go free in "Wonder of Asia"
Reply : 1 22
BuffaloaCitizen Thursday, 13 July 2017 09:45
Well done Brazil for taking on the corrupt.
Reply : 1 19
ANTON Thursday, 13 July 2017 09:54
SRILANKAN "KANAYA" IS MORE TACTFUL THAN BRAZILIAN "LOOLA".
Reply : 2 14
Raizuh Langai Thursday, 13 July 2017 10:06
Thank God, our leaders are squeaky clean. This will never happen in our Banana Republic.
Reply : 0 18
nimal Thursday, 13 July 2017 10:19
Please bring this in our direction too
Reply : 0 13
ceylon Thursday, 13 July 2017 11:04
when lankas ex pm and ex president face their conviction . via DM Android App
Reply : 0 11
willows Thursday, 13 July 2017 11:15
Not in Sri Lanka
Reply : 0 13
KOLA KOTIYA Thursday, 13 July 2017 11:42
LAW IS EQUAL TO EVERY BODY IN THAT COUNTRY. IN SRI LANKA LAW IS TO POOR PEOPLE N NOT TO ROUGHS
Reply : 0 11
Gobba Thursday, 13 July 2017 11:43
Cheers to the Brazilian Legal system and the people. We in Sri Lanka are still struggling to punish the looters of this country in spite of a grand election victory almost reaching 3 years ago.
Reply : 0 13
nimal Thursday, 13 July 2017 11:44
We also have Lulas with us, when will the justice be for our Lula?
Reply : 0 12
Sincere Thursday, 13 July 2017 12:45
A man who rose to power from socialist platform is now accused of corruption????
Reply : 3 6
Oh God Thursday, 13 July 2017 14:41
Reply : 0 2
Daily Boru Thursday, 13 July 2017 16:20
That is Brazil, this is Sri Lanka !!!
Reply : 0 5
Dee Thursday, 13 July 2017 21:39
We still have some hope!
Reply : 3 2
Add commentComments will be edited (grammar, spelling and slang) and authorized at the discretion of Daily Mirror online. The website also has the right not to publish selected comments.