UKIP has won its first seats in the Welsh Assembly - while Labour retains power in the Senedd for a fifth successive term.
Labour raced ahead of other parties early on in the contest, despite an overall drop in its share of the vote compared with last time.
It has won 29 seats but it needed 31 seats to claim an overall majority.
It could now govern via a minority administration, or lead a coalition.
WATCH: Carwyn Jones tells ITV News it was disappointing for Labour to lose votes:
- LAB 29 (-1)
- PLAID CYMRU 12 (+1)
- CON 11 (-3)
- UKIP 7 (+7)
- LIB DEM 1 (-4)
While Labour's dominance has not come as a surprise to pollsters, the 2016 election in Wales has produced two surprises.
Plaid Cymru leader Leanne Wood rocked Labour by winning the Rhondda seat from government minister Leighton Andrews.
Nigel Farage's Ukip made history after winning their first place in the Senedd - despite the party being opposed to the Assembly's existence until 2013.
The party has claimed seven seats.
Watch: Our Political Editor Adrian Masters report's on the day's events
While Labour has left its rivals behind, the contest for second place between Plaid and the Conservatives had been neck and neck.
However, Plaid can lay claim to pulling off the biggest scalp of the night after Ms Wood's gamble to go head-to-head against cabinet minister Leighton Andrews paid off.
The former probation officer took 50.6% of the vote as well as causing a massive 21.1% swing in the process.
In the constituency vote there were cheers of relief for the Liberal Democrats, who have avoided a total wipeout after leader Kirsty Williams's emphatic victory in Brecon and Radnorshire.
As well as increasing her share of the vote, Ms Williams's 15,898 votes were more than double that of the second place Tory candidate.
There were mixed fortunes for the Welsh Conservatives. They lost three seats to finish with eleven AMs.
Speaking following the results of the 2016 National Assembly for Wales election, Welsh Conservative leader Andrew RT Davies said:
After all 40 constituency results in the Welsh Assembly election the turnout is:
- 1,019,382 (45.39% +3.93%)
- Highest yet since first Assembly elections - 46% - in 1999
Largest swing after all 40 constituency results in the Welsh Assembly
- Blaenau Gwent 27.73% swing Lab to PC
- Rhondda 24.19% swing Lab to PC
- Cardiff West 11.71% swing Lab to PC
- Ynys Mon 11.29% swing Lab to PC
- Aberavon 9.31% swing Lab to PC
- Brecon & Radnorshire 8.59% swing C to LD
- Pontypridd 8.18% swing Lab to PC
- Neath 7.63% swing Lab to PC
- Carmarthen East & Dinefwr 7.17% swing Lab to PC
- Vale of Clwyd 7.11% swing Lab to C