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
A couple from Newport have decorated their house and garden with thousands of lights to raise money for local charities
Take your waterproofs with you if you're heading out tonight! It's about to turn wet with mist and hill fog by the early hours!
Ian Paul Mcguigan and two men from Liverpool were caught after a police surveillance operation.