Members of Germany's Social Democratic Party (SPD) have voted in favour of entering a coalition with Angela Merkel's conservatives.
The decision clears the way for a re-run of the "grand coalition" which has governed Germany since 2013 and hands the Chancellor a fourth term in office..
It also puts an end to five months of political uncertainty in Europe's largest economy - the longest the country has been without a government in its post-war history.
The centre-left SPD had furiously debated whether to extend the "grand coalition" for another four years after suffering a slump in last year's election.
In the end, 66 per cent of the party's 464,000 members approved a coalition deal.
Parliament is expected to meet next week to elect Ms Merkel as chancellor, confirming her position as one of Europe's dominant politicians.
Speaking at the SDP's headquarters iN Berlin, its acting leader Olaf Scholz said: "The vast majority of SPD members followed the party leadership's suggestion."
"We now have clarity: the SPD will join the next German government," he added.
On Saturday, Mr Scholz had said turn-out in the poll had been "very, very high" after an intense internal campaign that pitted the party's pro-coalition leadership against its more radical youth wing, which campaigned for "No".
Ms Merkel could be sworn in as Chancellor by mid-March.
Independent