Whisky production was first taxed in 1644, causing a rise in illicit whisky distilling in the country. Between the 1760s and the 1830s a substantial unlicensed trade originated from the Highlands, forming a significant part of the region's export economy. In 1782, more than 1,000 illegal stills were seized in the Highlands: these can only have been a fraction of those in operation. The Lowland distillers, who had no opportunity to avoid taxation, complained that un-taxed Highland whisky made up more than half the market. The heavy taxation during the Napoleonic Wars gave the illicit trade a big advantage, but their product was also considered better quality, commanding a higher price in the Lowlands. This was due to the method of taxation: malt was subject to tax (at a rate that climbed substantially between the 1790s and 1822). The licensed distillers therefore used more raw grain in an effort to reduce their tax bill.