San Fernando (in ) is the capital of the province of Colchagua, in the central zone (central part) of Chile. San Fernando is the second most populated urban center of the Region of O'Higgins. It is located near to the Tinguiririca River, in the valley of Colchagua, San Fernando is 1,112 feet (339 m) above the level of the se. San Fernando was founded in 1742, and became the provincial capital in 1840.