Scotland has had separate licensing laws dating back to the 18th century. The current legislation is the Licensing (Scotland) Act 2005, which replaced the Licensing (Scotland) Act 1976 on 1 September 2009. The replaced licensing laws provided for seven types of liquor licence, and were administered by licensing boards, made up of councillors elected to the local authority. There were approximately 30 licensing boards in Scotland and each had its own distinct approach; for example, whilst there is a set "permitted hours" across Scotland, these were frequently extended in order to take account of early morning and late night trading, and each licensing board had its own views on what sort of extra hours a premises should be given.