Rancagua is a city and commune in central Chile, part of the Rancagua conurbation. It is the capital of the Cachapoal Province and of the O'Higgins Region, located 87 km (54 mi) south of the national capital of Santiago. It had a 2002 population of 214,344. The main economic activities range from mining activity, tourism, agriculture, wood industry, food production and services to minor industrial activities. The city also serves as the administrative and legal center of the region.