The Supreme Court has ruled that the Welsh Government's first law was within the Welsh Assembly's legislative competence, and can go ahead.
The outcome is entirely consistent with the general thrust of the extended powers given to the Welsh ministers, by the Government of Wales Act 2006.
The Local Government Byelaws Bill was passed by the assembly in July this year. But it was blocked from becoming law by the attorney general and referred to the court.
More top news
Dyfed-Powys Police say it investigated reports of historical child sexual abuse by a monk at Caldey Island near Tenby.
Sam Cane has warned Wales that New Zealand plan to finish their 2017 programme on a high after being below par against Scotland.
A Swansea taxi driver has been sentenced to 10 years in prison after being found guilty of the rape of a 17 year-old girl.