 Although most of the mediaeval weavers who thrived in the city had left by the 19th century, the city was the home of Hugh MacKay Carpets’ factory, which produced the famous brands of axminster and tufted carpets until the factory went into administration in April 2005.Other important industries were the manufacture of mustard and coal extraction.The Industrial Revolution also placed the city at the heart of the coalfields, the county's main industry until the 1970s.