Nicolas Sarkozy (FREDERICK FLORIN / AFP / Getty Images)
(CNN) -
A French court on Monday sentenced former French President Nicolas Sarkozy to three years in prison for corruption and influence peddling, but suspended two years of the sentence.
Nicolas Sarkozy was president from 2007 to 2012, convicted of illegally attempting to obtain information from a high-ranking magistrate in 2014 about an ongoing investigation into his campaign finances.
The judge said Sarkozy did not need to spend time in jail.
You could serve your sentence by wearing an electronic bracelet at home.
MIRA: Court in France rejects Sarkozy's appeal to avoid trial
Nicolas Sarkozy, 66, is the first president sentenced to prison in modern French history.
The Paris prosecutor had requested a two-year prison sentence and a two-year suspended sentence for Sarkozy and his co-defendants, his lawyer Thierry Herzog and former magistrate Gilbert Azibert.
advertising
Herzog and Azibert were found guilty and sentenced to prison.
After a lengthy investigation and legal entanglements, the trial began late last year.
The judge handed down Sarkozy's sentence this Monday afternoon (French time) in front of a packed courtroom.
MIRA: They investigate the former president of France Nicolas Sarkozy for illegal financing in his campaign
He was dubbed the "wiretapping case."
It began in 2013 when investigators tapped phones belonging to Sarkozy and his lawyer Herzog, in the context of an investigation against Sarkozy.
Nicolas Sarkozy