Hong Kong Customs, originally known as the Preventive Service, was founded in 1909. Initially it was responsible to collect the newly imposed duties on liquor. As commodities became subject to duties, the scope of the Preventive Service broadened to include tobacco and hydrocarbon oil, as well as duties related to the government opium monopoly. During times of war, the service prevented the export of precious metals and other commodities to the enemies of the United Kingdom and its allies. In 1963, with the passage of the Preventive Service Ordinance, the service gained the legal status to make regulations on its discipline, functions, powers and terms of service. In 1977, it was renamed the Hong Kong Customs and Excise Service. On 1 August 1982, The Hong Kong Customs and Excise Department became independent from the Trade and Industry Department