Former French president Nicolas Sarkozy has been found guilty of trying to bribe a judge and of influence-peddling.
He has been sentenced to three years in jail, with two years suspended.
However, he may not spend any time in prison as the presiding judge said she would accept allowing him to be tagged with an electronic bracelet outside of prison for the remaining year.
Sarkozy, who led France from 2007 to 2012, had denied any wrongdoing, saying he was the victim of a witch-hunt by financial prosecutors who used excessive means to snoop on his affairs.
Retired from politics but still influential among conservatives, Sarkozy has 10 days to appeal the ruling.
He is the second former president in modern France, after the late Jacques Chirac, to be convicted of corruption.
Prosecutors persuaded the judges that Sarkozy had offered to secure a plum job in Monaco for judge Gilbert Azibert in return for confidential information about an inquiry into allegations that he had accepted illegal payments from L'Oreal heiress Liliane Bettencourt for his 2007 presidential campaign.
This came to light, they said, while they were wiretapping conversations between Sarkozy and his lawyer Thierry Herzog after Sarkozy left office, in relation to another investigation into alleged Libyan financing of the same campaign.


Saudi Coalition confirms Riyadh office tower hit by Houthi drone, no injuries
Israeli military kills chief of Hamas' armed wing in Gaza strike
Car bomb was used in Pakistan gold mine attack, regional minister says
Zelenskyy arrives in Britain for talks with PM, meeting of Crimea Platform
WHO's Tedros says 2 workers killed carrying Congo relief supplies
Surfer killed in shark attack in Australia's New South Wales
Pope Leo condemns attacks on Ukrainian civilians, urges Gaza flood relief
Meta says Australia social media ban hit 1.5 million teen accounts in first year
