Zermatt is famed as a mountaineering and ski resort of the Swiss Alps. Until the mid-19th century, it was predominantly an agricultural community; the first and tragic ascent of the Matterhorn in 1865 was followed by a rush on the mountains surrounding the village, leading to the construction of many tourist facilities. The year-round population (as of December 2018[ [update]]) is , though there may be several times as many tourists in Zermatt at any one time. Much of the local economy is based on tourism, with about half of the jobs in town in hotels or restaurants and just under half of all apartments are vacation apartments. Just over one-third of the permanent population was born in the town, while another third moved to Zermatt from outside Switzerland.