At the beginning of the 19th century, the local government was still ruled by the principle of nobility, while inhabitants of foreign origin or descent had always been ubiquitous in the town, especially among the trading community. Although San Sebastián benefited greatly from the charter system established in the Southern Basque Country ("foruak", with borders in the Ebro river and no duties for overseas goods), the town was at odds with the more traditional Gipuzkoa, even requesting secession from the province and annexation to Navarre in 1841.