From the mid-19th century on the opening hours of licensed premises in the UK were restricted. However licensing was gradually liberalised after the 1960s, until contested licensing applications became very rare, and the remaining administrative function was transferred to Local Authorities in 2005.