A summary of the Welsh election story so far.
Here are some of the key numbers in charts from the results of the Welsh Parliament election as they stand.
It has been a story of Labour holding its ground against challenges from the Conservatives and Plaid Cymru to edge towards victory.
But the final make-up of the parties in the Senedd will not be known until final regional list seat results are announced when counting resumes on Saturday.
These are some of the things we know so far.
We’re nearly there – with just eight final results due later on Saturday.
Just after midnight, Labour had reached 30 of the 60 seats, matching its best-ever Senedd election result.
After winning the final constituency to declare, Vale of Glamorgan, the party then won three regional list seats to give it the arithmetic to look to forming a government again.
With eight regional list seats left to declare, this is how the political map for the new Senedd looks. It was an election which eventually saw little change. Only three seats changed hands – those constituencies are shown edged in black.
On the share of the vote in the constituencies, both Labour and the Conservatives improved on 2016. The Lib Dems were the biggest losers.
There were target seats in north Wales which were a pivotal point of Friday afternoon. Vale of Clwyd was taken by the Conservatives from Labour by just 366 votes following a recount. It dealt a blow but was not quite the convincing one the Tories might have hoped for. Shortly afterwards, Wrexham – another target seat for the Conservatives – was held by minister Lesley Griffiths, while Labour also held Delyn and Clwyd South.
A disappointing day for Plaid Cymru was made worse by former leader Leanne Wood’s crushing defeat in Rhondda. Labour won back the seat it lost to Ms Wood in 2016. She had been in the Senedd since 2003, previously as a regional list member.
There was no comfort either in the size of the defeat, as Plaid Cymru saw its vote drop by 19% in the constituency.
Ms Wood, in her speech, said the result did not change the need to work for a “better Wales and a better Rhondda”.
Current Plaid leader Adam Price won Carmarthen East and Dinefwr with a reduced majority but, despite also holding onto Arfon, Ceredigion, Dwyfor Meirionnydd and Ynys Mon, Plaid failed to unseat Labour in its main target of Llanelli.
Despite no gains, Mr Price said the party had increased its share of the vote and that all the evidence showed its stance on independence was “a net positive” with voters.
The Lib Dems had just one seat in the last Senedd but Kirsty Williams, a former Welsh party leader and outgoing education minister, stepped down from frontline politics after holding the seat – Brecon and Radnorshire – since 1999.
Local councillor and one-time regional member William Powell was the candidate but the party lost a quarter of its vote as the Conservatives won with a majority of 3,820.
A decade ago, the Lib Dems had five Senedd members. However just as the clock struck midnight, Welsh party leader Jane Dodds won a regional list seat, keeping a Lib Dem foothold in Cardiff Bay and ensuring the party – already without a Welsh MP at Westminster – was not destined for political oblivion on the national stage.