Former French president Nicolas Sarkozy goes on trial on Monday for attempted bribery of a judge, a potentially humiliating postscript to a career tainted by legal woes.
Though he is not the first modern French head of state in the dock -- his predecessor and political mentor Jacques Chirac was convicted of embezzlement -- Sarkozy is the first to face corruption charges.
The inquiry also saw Sarkozy taken into police custody for questioning in 2014, another first for a former president.
He fought furiously for six years to have the case thrown out, denouncing "a scandal that will go down in history".
"I am not a crook," the 65-year-old, whose combative style made him one of France's most popular politicians, told BFM TV this month.
Prosecutors say Sarkozy promised the judge a plush job in Monaco in exchange for inside information on a separate inquiry into claims he had accepted illicit payments from L'Oreal heiress Liliane Bettencourt during his 2007 presidential campaign.
Part of the evidence comes from wiretaps of phone conversations between Sarkozy and his longtime lawyer Thierry Herzog authorised as part of another inquiry into suspected Libyan financing of Sarkozy's 2007 campaign.
That inquiry is still going on, though Sarkozy caught a break this month when his main accuser retracted a central claim of having delivered millions of euros in cash from Libyan dictator Moamer Kadhafi.
Sarkozy and Herzog had argued the wiretaps breached client-lawyer privilege but the courts dismissed their complaints.
Charged with bribery and influence peddling, Sarkozy risks a prison sentence of up to 10 years and a fine of one million euros ($1.2 million).
Herzog faces the same charges and a further allegation of violating professional secrecy. The trial, set to begin at 1:30 pm (1230 GMT), is expected to last until December 10.
Investigators discovered that Sarkozy used an alias -- Paul Bismuth -- to buy a phone for secret talks with his lawyer.
The pair discussed reaching out to a top French judge Gilbert Azibert, who prosecutors say was tasked with getting information trying to sway the Bettencourt inquiry in Sarkozy's favour.
In exchange, Sarkozy would use his contacts to try to secure the cushy Monaco post for Azibert, who is also on trial.
"I'll make him move up," Sarkozy told Herzog, according to prosecutors, who compared his actions to those of a "seasoned offender".
But later, Sarkozy appeared to back away from the Monaco plan -- a sign, according to prosecutors, that the two men had been tipped off about the wiretaps.
"All this is nothing more than sentence fragments taken out of context," Herzog's lawyer Paul-Albert Iweins told France Info radio on Monday, calling them "conversations between very old friends".
Sarkozy, a lawyer by training, says the judiciary have been waging a vendetta because he attempted to limit judges' powers and accused many of being too soft on delinquents.
He is due back in court in March 2021 along with 13 other people over claims of campaign finance violations during his unsuccessful 2012 re-election bid.
Prosecutors accuse Sarkozy's team of using a fake-invoices scheme orchestrated by the public relations firm Bygmalion to spend nearly 43 million euros on the lavish run -- nearly twice the legal limit.
His long-running legal travails helped sink his comeback bid for the 2017 presidential vote, but Sarkozy has surfed on a wave of popularity since announcing his retirement from politics in 2018, pressing the flesh with enthusiastic crowds at public appearances.
Lines of fans queued over the summer to have him sign his latest memoir "The Time of Storms", which topped best-seller lists for weeks.