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.