Following the Government of Wales Act, effective since May 2007, the Senedd can legislate on matters devolved to it. Following a referendum on 3 March 2011, the Senedd gained direct law-making powers, without the need to consult Westminster. This was the first time in almost 500 years that Wales had its own powers to legislate. Each piece of Welsh legislation is known as an Act of Senedd Cymru.