His legal team immediately filed a request seeking his release.
Christophe Ingrain, one of Sarkozy’s lawyers, hailed his client’s release as “a step forward” and said they would now be preparing for the appeal trial due to be held in March.
One of the conditions of Sarkozy’s release is that he does not contact any justice ministry employees.
During his incarceration, he was visited by Justice Minister Gérald Darmanin. The visit prompted 30 French lawyers to file a complaint against Darmanin, highlighting what they said was a conflict of interest as Darmanin was a former colleague and friend of Sarkozy’s.
Speaking to a court in Paris via video link, Sarkozy described his time in solitary confinement as “gruelling” and “a nightmare”.
Public prosecutor Damien Brunet recommended that Sarkozy’s request for release be granted, but that the former president be banned from contacting other witnesses in the so-called “Libyan dossier”.
Sarkozy, who has always denied any wrongdoing, told the court via video link that he had never had the “mad idea” of asking Gaddafi for money and stated he would “never admit to something I haven’t done”.
Sarkozy also paid tribute to prison staff who had made his time in prison “bearable”. “They have shown exceptional humanity,” he said.
Sarkozy’s wife, the singer and model Carla Bruni-Sarkozy, and two of the former president’s sons were present in the courtroom to support him.