Measures, which were the means by which the National Assembly for Wales passed legislation between 2006 and 2011, were assented to by the Queen by means of an Order in Council. Section 102 of the Government of Wales Act 2006 required the Clerk to the Assembly to present measures passed by the assembly after a four-week period during which the Counsel General for Wales or the Attorney General could refer the proposed measure to the Supreme Court for a decision as to whether the measure was within the assembly's legislative competence. Following the referendum held in March 2011, in which the majority vote for the assembly's law-making powers to be extended, measures were replaced by Acts of the Assembly.