Labour has suffered bruising losses in Wales, but the Conservatives failed to make as many gains as expected.
First Minister and Welsh Labour leader Carwyn Jones saw his party lose control of Bridgend, the area he represents in the Assembly, after losing 10 seats.
The party was also dealt a severe blow in the south Wales valleys, with independents taking control of Blaenau Gwent. And in Merthyr Tydfil, the Labour council leader was defeated.
Labour fared better in other areas - retaining overall control of Cardiff, Swansea, Rhondda Cynon Taf, Newport and Neath Port Talbot councils and winning the same number of seats as it held previously on both Wrexham and Flintshire councils, both of which remained under no overall control.
All the nation's 22 councils have been subject to the poll, and three are still to declare.
One political expert said Labour had shown "resilience" in Wales, but it would be different for the General Election when it was Theresa May v Jeremy Corbyn.
Elsewhere, the Conservatives gained control of Monmouthshire from no overall control and overtook Labour in Denbighshire to become the largest party, with the council remaining hung.
The Conservatives are also the largest party in the Vale of Glamorgan.
Ceredigion remains under no overall control, with Plaid Cymru retaining its position as the largest party. In Gwynedd, Plaid Cymru held power.
Welsh Conservative leader Andrew RT Davies said: "We are incredibly proud of the big advances we've made so far - it's been a good night at the office.
Plaid leader Leanne Wood said: "We have broken new ground in all parts of Wales, from Aberavon to Blaenau Gwent and from Bridgend to Wrexham - the results are all looking positive for Plaid Cymru.
Welsh election expert Professor Roger Scully said there had been a "much smaller" swing from Labour to Conservative in Wales than in England.
He said: "Labour's worst losses in Wales have been to independents in Wrexham, Merthyr and Blaenau Gwent.
"But Labour held up well in Newport, Cardiff and Swansea."
Prof Scully, of the University of Cardiff, said Labour had shown more "resilience" in Wales than in England.
"But that won't save them in the General Election when it is May v Corbyn," he said.
"The Conservatives have done okay, but the prospects are even better for them in a May v Corbyn General Election."
Last month, an opinion poll suggested Labour would lose 10 seats to the Conservatives in Wales, with Mrs May's party holding a 10% lead.
Prof Scully said it was "hard to believe" the Lib Dems had done even worse than last time, and with Ukip winning just one seat in Lancashire, the party was "almost totally irrelevant".