PARIS: Francois Hollande's presidency has been overshadowed by an unprecedented wave of militant attacks, violent protests over labour reforms and revelations about his messy private life.
Following are some of the defining moments of his mandate which began in 2012 and which he confirmed on Thursday would be his last.
THREE MAJOR TERROR ATTACKS
Since January 2015, 238 people have been killed in a series of militant attacks, mostly the work of French radicals acting in the name of Islamic State (IS) or other extremist groups.
Hollande won praise for rallying a shocked nation after the first attacks on the satirical Charlie Hebdo magazine and a Jewish supermarket.
Around 50 heads of state joined him on a march against terror that brought over 3.7 million people onto the streets of France.
Ten months later, he reacted quickly when IS massacred 130 people in Paris at the Bataclan concert hall, at cafes and bars, and outside the national stadium.
Hollande immediately announced a state of emergency, declaring that France was "at war" and deploying troops to patrol the streets.
But in July, when a 31-year-old Tunisian mowed down 86 people enjoying Bastille Day festivities in Nice, accusations began to mount that Hollande's government was failing to rise to the threat of extremism.
A TUMULTUOUS PRIVATE LIFE
Before coming to office Hollande took jabs at the romantic antics of his predecessor Nicolas Sarkozy - who married supermodel Carla Bruni while president - vowing that on personal matters, he himself would be "exemplary".
But cracks quickly began to show in Hollande's relationship with long-term partner Valerie Trierweiler, and the couple split after it emerged he had been having an affair with an actress nearly 20 years his junior, Julie Gayet.
Trierweiler published a best-selling memoir that proved deeply embarrassing to Hollande, not least through its claim that the Socialist leader disdained the poor.
To make matters more complicated, Hollande has four children from an earlier relationship with Environment Minister Segolene Royal.
VIOLENT LABOUR PROTESTS
Hollande came to power on a leftist platform - including a top tax rate of 75 per cent - but later shifted towards business-friendly policies, notably trying to tackle France's famously rigid labour laws.
His government suffered months of violent protests this year over reforms designed to make it easier to hire people but also easier to fire them, before finally managing to get a watered-down version passed over the summer.
Hollande launched a military operation in Mali in January 2013 to stop the advance of extremists who had taken over swathes of northern Mali, a former French colony.
The following December, a second operation was launched in the Central African Republic - another former colonial possession - in a bid to restore stability to a country gripped by religious violence.
Militants remain active in Mali and a vast portion of the country remains out of government control, while violence also remains rife in CAR.
Hollande also sought to intervene in Syria in 2013, but backed out of air strikes when it became clear that US President Barack Obama did not intend to follow suit.
France only began air strikes in Syria in late 2015 as part of an international coalition targeting IS. French raids against IS in Iraq had begun a year earlier in September 2014.
ROW OVER FRENCH NATIONALITY
After the Paris attacks, Hollande sought to modify the constitution to allow convicted terrorists to be stripped of their French nationality if they were dual-nationals.
The issue sparked fierce debate over the ethics of such a move, with Hollande's Justice Minister Christiane Taubira quitting in protest.
Hollande finally axed the idea in March. In his announcement on Thursday that he would not seek re-election, he flagged up the row as the one major regret of his presidency.
GLOBAL CLIMATE DEAL
Hollande campaigned hard for the historic climate agreement signed in Paris last December, and hailed it in his speech on Thursday as one of his key achievements.
The Socialist leader had made "marriage for all" one of his election pledges, and same-sex marriages were signed into law in April 2013, despite angry protests by tens of thousands of social conservatives.