French President Francois Hollande has confirmed his separation from his partner Valerie Trierweiler.
He told the state-run AFP news agency that their “shared life” had ended.
Two weeks ago a magazine published photos which appeared to show Mr Hollande had been having an affair with an actress, Julie Gayet.
Ms Trierweiler spent a week in hospital after the revelations. On Saturday evening she tweeted her thanks to the “wonderful staff” at the Elysee Palace.
She said she “would never forget their devotion or the emotion at the time of departure”.
Mr Hollande, who has never denied having an affair with Julie Gayet, had admitted to a “difficult moment” in his relationship with Ms Trierweiler.
At the time of the revelations, he promised to clarify the situation before his official visit to Washington on 11 February.
Mr Hollande told AFP on Saturday that he was speaking in a personal capacity and not as the head of state.
“I am making it known that I have put an end to my shared life with Valerie Trierweiler,” he said in a phone call to the agency.
Ms Trierweiler, who has continued to work as a journalist for the glossy magazine Paris-Match, is due to travel to India on Sunday in support of the work of the French charity Action Against Hunger.
After leaving hospital, she stayed at an official presidential residence near Versailles, for a few days.
Ms Trierweiler and Mr Hollande have never married.
She announced their relationship six months after he left his previous partner, one-time French presidential candidate Segolene Royal, with whom he has four children.
For her part, Ms Gayet has announced she is suing Closer magazine, which published the original reports, for breach of privacy.
Closer magazine said that the affair had begun during the 2012 presidential race.