Spanish Prime Minister Pedro Sanchez poses for a selfie with supporters. Photo: Lluis Gene/AFP
His rollercoaster career has played out to the backdrop of chronic instability.
As the country heads into its fourth general election in as many years on Sunday, Sanchez's Socialists look certain to win — but without a majority, leaving the country mired in the same political deadlock that has triggered multiple votes.
But for this Madrid-born economist, it will be just another twist in a career which saw him emerge from obscurity in 2014 to seize the reins of Spain's oldest political party.
Always immaculately suited and booted, this telegenic 47-year-old who likes to go running and looms over his rivals at 1.90 metres (6 foot, 2 inches) tall, has made a name for himself as stubbornly tenacious.
Three years ago, he was written off as politically dead, ousted as party chief after leading the Socialists to their worst-ever defeats in 2015 and 2016.
Just over six months later, however, he unexpectedly won his old job back in a party primary election after a cross-country tour in his old car to rally support.
And by June 2018, he had taken over as premier after an ambitious play that toppled conservative PP leader Mariano Rajoy in a no-confidence vote.
But the fragile alliance that catapulted him to power cracked in February, with the Catalan separatist lawmakers who had supported him rejecting the budget and triggering fresh elections in April, Sanchez's first as prime minister.
Although his Socialists won, they fell short of an absolute majority, deepening the political deadlock that has gripped the country for years. Unable to form a government, Sanchez was forced to call a November election, which looks set to bring more of the same.
A leap-year baby who was born in Madrid on February 29, 1972, Sanchez grew up in a well-off family, the son of an entrepreneur father and a mother who worked as a civil servant.
He studied economics in the Spanish capital before getting a Master's degree in political economy at the Free University of Brussels and a doctorate from a private Spanish university.
Married with two adolescent daughters, Sanchez has been quick to cultivate his public image as a family man, describing himself on his Twitter handle as “Spanish prime minister and father”.
Politics, though, was always his passion. He joined the Socialist party in his early twenties, then served as an opposition councillor in Madrid from 2004 to 2009, after which he entered parliament as a lawmaker during the Zapatero administration.
Earlier this year, Sanchez detailed his triumphs in an autobiography called “Resistance Manual”, the first to be published in Spain by a sitting premier. He pledged to donate all profits from its sale to the homeless.
Franco and the separatists
After taking over as premier, Sanchez implemented a series of eye-catching measures, appointing a cabinet with a majority of women, taking in migrants from the Aquarius rescue ship, and raising the minimum wage by 22 percent after years of austerity.
And last month, he finally made good on a pledge to exhume the body of Franco from a grandiose state mausoleum, reburying it in a more discreet grave in a country still conflicted over the dictator's decades-long regime.
But his premiership has been overshadowed by the Catalan separatist crisis, which in October erupted into mass protests that turned violent after Spain's top court jailed nine regional leaders over a failed 2017 independence bid.
Images of Barcelona in flames have not helped Sanchez, whose rightwing rivals have accused him of going soft on the separatists, prompting him to toughen his tone as polls showed a downturn in support for his Socialists.