leading to a period of drunkenness and lawlessness, known as the Gin Craze. In the early 19th century, encouraged by a reduction of duties, gin consumption again began to rise and gin houses and gin palaces (an evolution of gin shops) began to spread from London to most towns and cities in Britain. Alarmed at the prospect of a return to the Gin Craze, the government attempted to counter the threat, and encourage the consumption of a more wholesome beverage, by introducing the Beerhouse Act of 1830. The Act introduced a new lower, and largely deregulated, tier of premises called "the beerhouse". Under the act any householder, upon payment of two guineas (roughly equal in value to £ today), was permitted to brew and sell beer or cider in their own home. Beerhouses were not allowed to open on Sundays, or sell spirits and fortified wines; and any beerhouse discovered to be breaking these rules was closed down and the owner heavily fined. Within eight years 46,000 new beerhouses opened and, because operating costs were so low, huge profits were often made. The combination of increasing competition and high profits eventually led to what has been described as a golden age of pub building when many landlords extended or redeveloped their properties, adopting many of the recognisable features which still exist today. Attempts to check the growth were made from 1869 onwards, by introducing magisterial control and new licensing laws, aimed at making it harder to obtain a licence and controlling drunkenness, prostitution and undesirable conduct on licensed premises. In the United Kingdom, restrictions were tightened considerably following the advent of the First World War. The Defence of the Realm Act, along with introducing rationing and censorship of the press, restricted pubs' opening hours to 12 noon–2:30 pm and 6:30 pm–9:30 pm. Opening for the full licensed hours was compulsory, and closing time was equally firmly enforced by the police. There was also a special case established under the State Management Scheme where the brewery and licensed premises were bought and run by the state, most notably in Carlisle. Lock-in A "lock-in" is when a pub owner allows patrons to continue drinking in the pub after the legal closing time, on the theory that once the doors are locked, it becomes a private party rather than a pub. Patrons may put money behind the bar before official closing time, and