Former French President Nicolas Sarkozy was handed a five-year prison sentence by the Paris Court of Appeals on Monday, in a case concerning his efforts to secure funding for his 2007 presidential campaign from Libya. The court confirmed Sarkozy's conviction for criminal conspiracy but cleared him of corruption charges, citing presidential immunity. He will not serve the sentence immediately.

The alleged scheme dates back to 2005 when Sarkozy was France's interior minister. Prosecutors claimed that his campaign sought Libyan funds in exchange for political and diplomatic favours. One of the promises allegedly made involved helping secure the withdrawal of an international arrest warrant against Abdullah al-Senoussi, Gaddafi's intelligence chief and brother-in-law. Senoussi was sentenced to life imprisonment in absentia by a French court for his role in the 1989 bombing of UTA Flight 772 over Niger that claimed 170 lives, including seven Americans.

Months after becoming president in 2007, Sarkozy welcomed Gaddafi to France with high honours. Four years later, he placed France at the forefront of the military intervention that led to the downfall of the Libyan leader. Gaddafi was killed in October 2011 following an uprising that ended his four-decade rule. Sarkozy denies wrongdoing and has challenged the conviction, according to news agency AP.

Note: This summary is intended for fast-track headlines, speed-first, mobile-optimized news English. It is rephrased to avoid plagiarism and stays strictly factual, using only the given information. The title and summary do not present any allegation or claim as a proven fact.