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.


Russian strikes kill 20, exposing Ukraine's air-defence shortage
Clashes escalate at Sri Lanka prison to leave 25 dead, many more injured
Six killed in India's Mumbai as rains wreak havoc, disrupt travel
Wildfire in southern France forces 10,000 people from their homes
Folarin Balogun to play for US after FIFA suspends red-card ban
Arab League condemns Israeli demolition of entire neighborhood in Lebanon
Eight killed in landslides at Rohingya refugee camps in Bangladesh
Venezuela quake death toll nears 3,000 as rescue effort winds down
