Treaty of Kiel
After the Treaty of Kiel and the Convention of Moss (1814) the union between Sweden and Norway was established, and the Norway–Sweden border became a border between two union partners. In the Negotiations in Karlstad which led up to the dissolution of the union in 1905, Norway was obliged to tear down several fortresses along the border.