The 19th century was a period of rapid economic growth in Switzerland. Tourism emerged as an important source of revenue, and the nation’s older economic sectors, including agriculture and industry, began to modernize. Economic gains were especially great in the textile industry, which adopted mechanized spinning machines. The production and maintenance of these machines led to the development of Switzerland’s famous machine-building industry.