Homebrewing is the brewing of beer, sake, and other beverages through fermentation on a small scale as a hobby for personal consumption, free distribution at social gatherings, amateur brewing competitions or other non-commercial reasons. Both alcoholic and non-alcoholic beverages can be made at home. The term is also used informally for the production of non-brewed alcoholic drinks such as wine, cider and perry. Brewing on a domestic level has been done for thousands of years, but has been subject to regulation and prohibition during some time periods in certain places. Restrictions on homebrewing were lifted in the UK in 1963, Australia followed suit in 1972, and the USA in 1978, though individual states were allowed to pass their own laws limiting production. In some countries such as New Zealand homebrewing beer or wine has always been legal. The legality of homebrewing varies from country to country, and some countries limit the volume an individual can legally brew.