Chile slowly started to expand its influence and to establish its borders. By the Tantauco Treaty, the archipelago of Chiloé was incorporated in 1826. The economy began to boom due to the discovery of silver ore in Chañarcillo, and the growing trade of the port of Valparaíso, which led to conflict over maritime supremacy in the Pacific with Peru. At the same time, attempts were made to strengthen sovereignty in southern Chile intensifying penetration into Araucanía and colonizing Llanquihue with German immigrants in 1848. Through the founding of Fort Bulnes by the Schooner Ancud under the command of John Williams Wilson, the Magallanes region joined the country in 1843, while the Antofagasta region, at the time part of Bolivia, began to fill with people.