Former French President Nicolas Sarkozy is under formal investigation relating to allegations of corruption.
He is suspected of influence peddling, corruption and benefiting from "the breach of professional secrets," Reuters reports the prosecutor's office as saying.
Mr Sarkozy was earlier held for questions over suspicions he received leaked details of an inquiry into alleged irregularities in his 2007 election campaign
He and his lawyer appeared before a judge on Tuesday evening before being released in the early hours of the morning.
The investigation may be a major blow to his hopes of returning to front-line French politics following his defeat to Francois Hollande in the 2012 presidential election.
More top news
Milder Atlantic air into the north with colder, Continental air into the south.
A report produced for the British government criticised the security at the Riu Imperial Marhaba hotel where 38 people were killed in 2015.
A second Scottish independence referendum is "even more likely" after Theresa May's Brexit speech, Nicola Sturgeon has said.