A Brazilian appeals court on Tuesday reduced leftist former president Luiz Inacio Lula da Silva's 12-year sentence for bribery and money laundering.
In a unanimous decision, the four judges on the Superior Court of Justice panel hearing Lula's appeal agreed to uphold his conviction, but cut the sentence to eight years and 10 months.
The ruling, broadcast live on the court's YouTube channel, could mean Lula is eligible for "semi-open" prison later this year.
The 73-year-old leftist icon, who has been sentenced to 25 years behind bars in two separate corruption cases, marked his first year in jail earlier this month.
Lula was originally sentenced to nine and a half years on charges that he accepted a seaside apartment as a bribe for helping the OAS construction company during his 2003-2010 presidency to get lucrative deals with state oil firm Petrobras.
That was increased by an appeals court in January 2018 -- a decision the Superior Court of Justice panel ruled Tuesday was "excessive."
Lula's legal team said the decision was "too little but it's a start."
Lula is also appealing the second sentence of almost 13 years handed down in February for accepting renovation work by two construction companies on a farmhouse in exchange for ensuring they won contracts with Petrobras.
Lula has denied all the charges against him, arguing they were politically motivated with the aim of preventing him competing in elections last year that were won by Brazil's new far-right President Jair Bolsonaro.
During his election campaign, Bolsonaro said he hoped Lula would "rot in prison."
Lula has been allowed to leave jail twice in the past 12 months, once for the funeral of his seven-year-old grandson and another time to give evidence in court.
Under Brazilian law a prisoner is eligible for a "semi-open" prison regime after completing one-sixth of the sentence.
Tuesday's decision means Lula could qualify for the more lenient arrangement from September or October, legal experts said.
That would enable Lula to sleep in his cell at night but work outside during the day, law professor Lenio Streck told AFP.
But that depends on the outcome of Lula's appeals in the second conviction.
Lula's efforts to get out of jail were dealt a blow recently when the Supreme Court indefinitely delayed debate on whether a prisoner convicted of a non-violent crime should be released before the end of the appeals process, which could have potentially freed him.
Bolsonaro's victory in October's elections ended decades of center-left rule in Brazil and reduced Lula's chances of freedom.
Soon after winning, Bolsonaro named Sergio Moro, the anticorruption judge who handed Lula his first conviction, as justice minister.