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
Passengers being urged to check before they travel as upgrading work begins between Cardiff and the Severn Tunnel.
Over 40,000 people in the UK have young onset dementia. One charity says there needs to be more support for people in Wales under 65.
It has since apologised and removed the Tweet, which included the potential customer's name, email address and phone number.