Dutch political parties agreed on Monday to form a coalition government that will give Prime Minister Mark Rutte a fourth term in office, a record 271 days after elections in March.
Mr Rutte's centre-right VVD, the progressive D66, the centre-right CDA and the conservative Christen Unie agreed on the text of a deal that will go before Parliament on Wednesday.
But the Netherlands, facing challenges including a surge in Covid cases and riots over coronavirus restrictions, will have to wait until January for its new government while the parties select ministers.
"The text is now agreed," a spokesman for Johan Remkes and Wouter Koolmees, the two officials overseeing the talks, told the ANP news agency.
Broadcasters NOS and RTL also reported the deal.
Negotiations have dragged on since the elections on March 17, taking until the autumn just to agree on which parties would form the coalition, let alone which policies they would adopt.
In late October the negotiations beat the Netherlands' previous record for coalition talks of 225 days as the parties wrangled further.
That record was set in 2017 for the formation of Mr Rutte's last cabinet.
The new coalition's policies are likely to include extending free child care, investing billions of euros to tackle climate change and a housing shortage, nuclear energy research and road pricing, NOS reported.
Mr Rutte and his third cabinet have stayed on in a caretaker capacity since they resigned en masse in mid-January over a scandal in which thousands of parents were wrongly accused, in some cases after racial profiling, of fraudulently claiming child allowance.
But the deal for a fourth coalition will confirm Mr Rutte, who has been called the "Teflon prime minister" for his ability to dodge scandals, as Europe's second longest-serving leader after Hungarian premier Viktor Orban.
The four parties are now due to present the deal to their politicians on Tuesday before it goes to Parliament for a debate on Wednesday.
The Dutch foreign minister is likely to be Sigrid Kaag, whose D66 party came second in the March elections, Dutch media reported.
Ms Kaag resigned from her position as caretaker foreign minister over the Netherlands' handling of evacuations from Afghanistan after the fall of Kabul to the Taliban in August.
Current health minister Hugo de Jonge, the public face of the government's increasingly unpopular coronavirus response, is unlikely to continue, meaning that a public Covid-19 briefing with Mr Rutte on Tuesday could be his last in the post.
The Netherlands has been hit by its worst riots in decades this year over its coronavirus restrictions, which now include a virtual nightly lockdown and limits on the number of home visitors.