Often described as austere and even robotic, Social Democrat Olaf Scholz nonetheless managed to inspire German voters in this year's election with a campaign that played on his reputation as a safe pair of hands.

Scholz, 63, is on the brink of becoming the next German chancellor after leading his party to a surprise victory in September's vote, relieving Angela Merkel of her duties after 16 years.

Together with the leaders of the ecologist Greens and the liberal FDP, he unveiled a deal for Germany's next coalition on Wednesday.

The Social Democrats (SPD) had begun the election campaign at rock bottom in the polls, with many completely writing off Scholz's chances of becoming chancellor -- so much so that he doesn't even have an official biography.

Olaf Scholz staged an upset poll win by positioning himself as the best candidate to continue Angela Merkel's legacy as German chancellor
Olaf Scholz staged an upset poll win by positioning himself as the best candidate to continue Angela Merkel's legacy as German chancellor AFP / Odd ANDERSEN

But Scholz managed to stage a stunning upset by positioning himself as the best candidate to continue Merkel's legacy, even adopting her famous "rhombus" hand gesture on a magazine cover.

Unlike his rivals, he also managed not to make embarrassing mistakes during a campaign that drew on his reputation as a quiet workhorse, using the slogan "Scholz will sort it".

Once described by Der Spiegel magazine as "the embodiment of boredom in politics", Scholz has been slowly working his way up the ranks since the 1970s.

Born in the northern city of Osnabrueck, he joined the SPD's youth movement in 1975 and was pictured at various peace demonstrations sporting wool sweaters and an unruly crop of long hair.

Scholz (centre), who Der Spiegel magazine once described as "the embodiment of boredom in politics", will head a 'traffic light' coalition with the Free Democrats of Christian Lindner (L) and the Greens' co-leader Annalena Baerbock (r)
Scholz (centre), who Der Spiegel magazine once described as "the embodiment of boredom in politics", will head a 'traffic light' coalition with the Free Democrats of Christian Lindner (L) and the Greens' co-leader Annalena Baerbock (r) AFP / Odd ANDERSEN

He became vice-president of the movement in the 1980s but failed to become its leader because he was considered too left-wing, though he later came to prefer a more centrist course.

After training as a lawyer and founding his own law firm specialised in labour issues in 1985 -- now minus the hair -- Scholz was elected to the national parliament in 1998.

During his 2002-2004 stint as the SPD's general secretary, he earned the nickname "Scholzomat" for his dry yet tireless defence of the unpopular labour reforms of then-chancellor Gerhard Schroeder.

Though not thrilled with the moniker, Scholz admitted in a recent interview with Bunte magazine that "it was certainly not an entirely false description".

"I was always asked the same questions and I always gave the same answers," he said, adding that he "laughs more often than people think".

As labour minister in Merkel's first coalition government from 2007 to 2009, Scholz helped avert mass lay-offs during the financial crisis by convincing firms to cut workers' hours with the state topping up their salaries -- a policy also used during the coronavirus pandemic.

He was the mayor of Hamburg from 2011 to 2018, overseeing the development of the cherished but wildly expensive Elbphilharmonie concert hall, which he rescued with a controversial multi-million-euro bailout.

For Scholz, whose motto is "I can only distribute what I have", the spending was justified by the city-state's healthy finances.

As finance minister and vice-chancellor under Merkel from 2018, he also suspended Germany's cherished debt brake to unleash a trillion-euro "bazooka" to ward off the effects of the coronavirus pandemic on the economy.

However, he is generally seen as fiscally conservative and has insisted on a return to the no new debt policy by 2023 -- a rule included in the new coalition contract presented on Wednesday.

This cautious approach has at times left him marginalised within his own workers' party, overlooked in a leadership vote in 2019 in favour of two relatively unknown left-wingers.

But the SPD succeeded in uniting behind him as its chancellor candidate in this year's election campaign.

Scholz lives in Potsdam on the outskirts of Berlin with his wife Britta Ernst, also an SPD politician. They have no children.

He saw his fair share of scandals as finance minister, including the Wirecard fraud debacle and allegations that the FIU anti-money laundering authority under his auspices had failed to report potential wrongdoing to the relevant authorities.

"He has the experience and professionalism to lead this country into a good future," Lindner said.

Merkel, too, has said she will be able to "sleep soundly" with Scholz as her replacement.