Although the title of provincial capital was disputed by San Fernando, Curicó and Talca, depending on the desired residence of the intendant, a September 1840 decree established San Fernando as the definitive capital.