The Assembly was created after the "Government of Wales Act 1998" law, which was introduced after a referendum in 1997. The Assembly had no powers to make "primary legislation" until the "Government of Wales Act 2006" law, which gave the Assembly limited powers to make laws.