But in 1814 the situation escalated again. Denmark-Norway was allied with Napoleons France who had lost the Great War, and during the Treaty of Kiel in January; Sweden was given Norway as a part of the war trophy and compensation as Russia had taken Finland from them. Norway would not accept this. Towards May 17th a new constitution was laid out and we broke free and founded our own nation. This resulted in yet another war.
The Swedes under the command of Charles John attacks at the end of July with massive forces through the county of Østfold. The Norwegian army withdraws to the Glomma River after a number of minor skirmishes. Fredriksten fortress is surrounded and shelled for nearly 14 days without moving the stubborn commander Ohme into give up. Despite the hopeless odds and the fact that he is entirely cut off from friendly forces.
The whole ordeal ends with a peace treaty made in Moss on the 14th of August where Norway enters a loose union with Sweden – on much better terms than what Charles John intended when he started the war. That Fredriksten didn’t surrender in 1814 contributed significantly to the fact that Norway was allowed to keep its constitution and parliament after 1814.
During this sequence we can see the shelling of Fredriksten, Norwegian counter fire and at the end, the peace agreement. This was the last time Norway and Sweden were at war.
For the period of the union, Fredriksten was for all military purposes decommissioned as a border fortification. During this time schooling and military training was the primary activities here.